Wherever I put this debug($this->MyModel::schema()) i get: T_PAAMAYIM_NEKUDOTAYIM php error :(
On 8 Apr, 21:23, cricket <zijn.digi...@gmail.com> wrote: > On Fri, Apr 8, 2011 at 2:28 PM, Mariano C. <mariano.calan...@gmail.com> wrote: > > I suppose, I've just made a dump > > What is the primary key for the model? Is it id? The error is telling > you that the model thinks the PK is id but that the database is saying > something else. Put debug($this->YourModel::schema()) somewhere so you > can see what the DB source is returning. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php