Are you using PHP4 on the live server? Are you forgetting to have var $name = 'GroupType' at the top of your models?
PHP4 cannot get a case sensitive version of a class name - so when it looks at your model it assumes it to be "Groupttype", unless you have a var $name with the correct case. On Oct 15, 10:26 am, Adam D <[EMAIL PROTECTED]> wrote: > Hi, > > I just moved my site to a new server and I'm getting a "missing > database error" for all of my model. Cake appears to be omitting the > underscores on the conversion from model name to database table, so, > for a model like GroupType, it's looking for a table named > "grouptypes" instead of "group_types". Where is this conversion > controlled? How could a move between servers have caused this error? > FWIW, if I set $useTable explicitly, everything works. > > - Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
