Oh boy, what a difference a night of sleep makes. I went to grab the
model for my missing database table and the problem jumped right at
me:

var $useDbConfig = 'local';

was found at the top of the work.php model, I switched it to 'default'
and voila, it worked. So *this* is another solution for the Missing
Database Table problem as well.

Thanks a lot guys, I hope this is helpful to a fellow newbie such as
myself.

On Sep 5, 4:34 am, Teh Treag <[email protected]> wrote:
> Are your database connection settings different on your production and
> development servers?  Do you have other models that work?
>
> On Sep 5, 1:55 am, mikeottinger <[email protected]> wrote:
>
> > Hi All,
>
> >   I just deployed the beginnings of a new site onto a little
> > development space up on my host server. Everything works great in my
> > local environment. But upon deploy, I see this:
>
> > Missing Database Table
> > Error:  Database table works for model Work was not found.
>
> > I've searched google, and almost every hit mentions clearing files out
> > of tmp/cache/models and tmp/cache/persistent. I've done this, but it
> > still gives me this error. The table it's complaining about is
> > definitely there, I went to the MySQL admin section and saw it there.
>
> > Any ideas on this?
>
> > Oh, I'm running PHP5 as well.
>
> > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to