Ok now i just tried somethign differe, I commented out the
$uses=array("NavigationData")
and i could login and everything..
then i uncommented it to see what error message i would get, and i got
Fatal error: Call to undefined method stdClass::findAll() in /var/www/
cake/app/controllers/users_controller.php on line 46
line 46 of users controller says:
$h = $this->User->House->findAll(array('User.id' => '= ' .$this->User-
>id));
for getting all the users houses. It works fine when i have
$uses=array("NavigationData") commented..
this is gay...i wonder if its a 1.2 problem only.
On Jun 22, 12:12 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> You need to be more specific with the problems you are having. Please
> post the error messages, and the code that causes them to appear.
>
> > Surely someone has actually used a model without a table before..
>
> Yes, plenty of people, and "var $useTable = false" is all you need.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---