I only have one model called "User" and one controller called
"Sites".

And is there a way to keep CakePHP from running a query unless asked
to? Isn't that useless overhead that you don't need to have happen?


On Jun 30, 10:55 am, brian <[email protected]> wrote:
> Check all of your models' associations. I think you probably have a
> Site model listed somewhere.
>
> On Tue, Jun 30, 2009 at 12:25 PM, Tony<[email protected]> wrote:
>
> > I'm running into a problem in getting this error:
> > Error:  Database table sites for model Site was not found.
>
> > I don't have a model for Sites because I don't even have a table for
> > it.
>
> > I have a Sites controller but in the $uses array it is using the model
> > "User".
>
> > Can anyone help me here.
--~--~---------~--~----~------------~-------~--~----~
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