I just read this so I might say something that has already been said.. The key difference in web programing between windows and linux is that linux is case sensetive and windows is not. Especialy when it comes to database. I know that because I had some java project in windows and lost a whole day to figure out why it doesn't work in Linux.
So you need to check the way you reference to your key in database. If you use a field with wrong case in Linux such as User.UserFirstName instead of User.user.firstname you will have a problem. I would look for that, because you error indicates that you tried to access field that you do not have, and since your app works in windows, I gues that most probably your problem is in case sensitivity in linux.. And I think you can't turn it off, so youll need to check for every usage of indexes in model.. All the best Milos On Apr 9, 11:40 am, "Mariano C." <[email protected]> wrote: > Wherever I put this debug($this->MyModel::schema()) i get: > T_PAAMAYIM_NEKUDOTAYIM php error :( > > On 8 Apr, 21:23, cricket <[email protected]> wrote: > > > On Fri, Apr 8, 2011 at 2:28 PM, Mariano C. <[email protected]> > > 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
