Yea I saw my fault in the schema... Thanks for your help

On 20 juil, 14:27, Eno <[email protected]> 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 Cannot add or
> > update a child row: a foreign key constraint fails
> > (`yurplan1`.`items`, CONSTRAINT `items_shoplist_id_sub_categories_id`
> > FOREIGN KEY (`shoplist_id`) REFERENCES `sub_categories` (`id`))
>
> > the problem is : I DON'T HAVE ANY FIELD SUB_CATEGORIES in my ITEM...
>
> Its a relation to a foreign key so yes, you DO have it.
>
> --

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to