[symfony-users] Adding time to a date symfony 1.4

2010-08-18 Thread François SEDE
Hi everyone. I want to add the value of an sfWidgetFormI18nTime to an sfWidgetFormJqueryDate and store it into a column in my database but it doesn't work. here is my form. $dateWidget = new sfWidgetFormI18nDate(array( 'format' => '%day%/%month%/%year%',

[symfony-users] Re: SQLSTATE[23000]: Integrity constraint violation

2010-07-20 Thread François SEDE
Yea I saw my fault in the schema... Thanks for your help On 20 juil, 14:27, Eno wrote: > On Mon, 19 Jul 2010, [ISO-8859-1] Fran ois SEDE wrote: > > I have this error : > > > 500 | Internal Server Error | Doctrine_Connection_Mysql_Exception > > SQLSTATE[23000]: Integrity constraint violation: 1452

[symfony-users] SQLSTATE[23000]: Integrity constraint violation

2010-07-19 Thread François SEDE
HI all, I have this error : 500 | Internal Server Error | Doctrine_Connection_Mysql_Exception SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`yurplan1`.`items`, CONSTRAINT `items_shoplist_id_sub_categories_id` FOREIGN KEY (`

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-16 Thread François SEDE
Thanks you. 2010/7/16 Daniel Lohse > Sorry for not answering in a more timely manner — I'm the plugin developer. > :) But as it's a bit late I'll answer your question tomorrow; I hope that > alright. ;-) > > > Cheers, Daniel > > Sent from my iPad > >

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin many to many

2010-07-15 Thread François SEDE
Hi, I'm using the ahDoctrineEasyEmbeddedRelationsPlugin with a many to many relation and I have an error : 500 | Internal Server Error | Doctrine_Record_Exception Couldn't call Doctrine_Core::set(), second argument should be an instance of Doctrine_Collection when setting many-to-many references