[symfony-users] Admin generator edit/delete action link error

2010-07-20 Thread Mohd Shakir bin Zakaria
Hi everyone, I'm using admin generator for one of my project, and the edit/delete action in the list points to wrong URL. For example, for this URL, http://127.0.0.1/ems/admin/data the edit link of the first item is as the following, http://127.0.0.1/ems/data/1/edit where the application name

[symfony-users] Re: Doctrine DQL: "where" clause help

2009-05-07 Thread Mohd Shakir bin Zakaria
gt;from('Message m') ->where('m.id = ?', 1 ) ->execute(); } } The problem is, it is still displaying all the available records, just as my "where" clause is not functioning. Is it that I've got the query wrong, or I was editing the wrong file? On T

[symfony-users] Doctrine DQL: "where" clause help

2009-05-06 Thread Mohd Shakir bin Zakaria
I'm new to Doctrine and symfony in general, and is trying to have a function to only select certain record in the database. Using the following command however, I get the whole content of the table, regardless of the "where" clause i use; $ symfony doctrine:dql "FROM Message m where('m.id = ?', 1

[symfony-users] Re: sfDoctrineGuardPlugin login error

2009-05-01 Thread Mohd Shakir bin Zakaria
. Everything seems to work but the login part. My solution for now is to turn back to the original plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml and edit the schema from there. On Thu, Apr 23, 2009 at 8:25 PM, Mohd Shakir bin Zakaria wrote: > Thanks Eno for the hint. > > I'

[symfony-users] Re: sfDoctrineGuardPlugin login error

2009-04-23 Thread Mohd Shakir bin Zakaria
in SF_SYMFONY_LIB_DIR/controller/sfController.class.php line 245 ... 242. } 243. 244. // process the filter chain 245. $filterChain->execute(); 246. } 247. else 248. {

[symfony-users] sfDoctrineGuardPlugin login error

2009-04-23 Thread Mohd Shakir bin Zakaria
Hi guys.. I'm using Symfony 1.2 and sfDoctrineGuardPlugin 3.0 and been getting the following error when trying to log in using a valid user: 500 | Internal Server Error | Doctrine_Record_Exception Unknown method sfGuardUser::checkPassword I will still get the following error if I use an in