Sunday, October 2, 2011

Re: model->delete() returns false but record gets deleted

Hello again.
I just found out what the problem was.
I have a trigger in a table and the delete action was causing a recursion in my MySQL. Since I had debug set to 0, I wasn't able to see what the actual problem was.
The funny thing is that this trigger is working fine locally, but not on the server. But this is another matter :)

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: