> CakePHP follows convention by default but you can always configure everything. It just expects a column "id" in your table which is not there so all you have to do is configure it in the model file. Just set the $primaryKey variable in your model file to the name of the primary key.
Isn't that exactly what the OP said he did and it didn't work?
--
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:
Post a Comment