[symfony-users] Login form database authentication

2010-03-10 Thread Trung Huynh
Hi I'm trying to get a login form working with database authentication and the right symfony way of achieving this without using sfGuard. Overall, I'm trying to comprehend the way of doing things in symfony, hopefully you guys can pinpoint me in the right direction. action.class.php has a

[symfony-users] Forms issue: Unknown required field

2010-03-03 Thread Trung Huynh
Inspired by the Jobeet tutorial I started my own simple test application. However, I got an unknown required field and I have no clue where it comes from. See screenshot here: http://img85.yfrog.com/i/screenshot20100303at954.png/ Thanks in advance Trung schema.yml: Member:

Re: [symfony-users] Forms issue: Unknown required field

2010-03-03 Thread Trung Huynh
Thanks for helping out. I got type [Required.] I don't have any type attribitue in my member oject. I've searched for hidden fields and this is what i got, is that okay? input type=hidden name=member[id] value= id=member_id / input type=hidden name=member[_csrf_token]

[symfony-users] Re: Forms issue: Unknown required field

2010-03-03 Thread Trung Huynh
guess it should be 'state' ... --- *Tugdual Saunier* tugdual.saun...@gmail.com tugdual.saun...@iloweb.com GTalk: tucks...@gmail.com Skype: tucksaun -- *Pensez environnement !* N'imprimez cet mail que si c'est vraiment nécessaire 2010/3/3 Trung Huynh forrestgu

[symfony-users] Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Trung Huynh
I'm aware that indentation should be spaces etc. Its the data fixture with php combined: jobs.yml I exactly copy paste the example and i still get this error. doctrine Loading data fixtures from /Use...g/Websites/jobeet/data/fixtures Unable to parse string: Unable to parse line 1 ( job_100:).

[symfony-users] Re: Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Trung Huynh
Duplicate entry 'Array' for key 'token' mac:jobeet trung$ On Mar 1, 3:06 pm, Gábor Fási maerl...@gmail.com wrote: Try with this one:http://svn.jobeet.org/doctrine/trunk/data/fixtures/jobs.yml On Mon, Mar 1, 2010 at 14:44, Trung Huynh forrestgu...@gmail.com wrote: I'm aware that indentation

Re: [symfony-users] Re: Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Trung Huynh
'job_expired' to 'expired_job' or so... i am mono tasking and i cannot copy paste what i think is the right key for the fixture... Alecs sent via htc magic On Mar 1, 2010 4:20 PM, Trung Huynh forrestgu...@gmail.com wrote: gets me this :( doctrine Loading data fixtures from /Users/trung

[symfony-users] Task configure:database is not defined

2010-02-24 Thread Trung Huynh
Hi After setting up the latest 1.4 stable version of Symfony according the official documentation I ran into this error: executing php symfony configure:database mysql:host=localhost;dbname=dbname root password Task configure:database is not defined. symfony -V gives: symfony version 1.4.2

Re: [symfony-users] Re: Task configure:database is not defined

2010-02-24 Thread Trung Huynh
, Feb 24, 2010 at 11:15 PM, jp_morvan sacri...@free.fr wrote: Hi, Verify that php.ini for php cli is activated and is well configurated. Try to use php ./symfony configure:database in your project, sometimes, symfony is already installed and another symfony is launch. On 24 fév, 22:18, Trung