Hey Guys,
There is something wrong happening with the init calls ont he class
reg.
$this->PermitModel =& ClassRegistry::init('Cms.PermitModel');
$this->PermitModel->findAll();
and the sql call comes out like...
SELECT FROM AS `PermitModel` WHERE 1 = 1
which is missing the * and the table name, as well as it is not using
a custom $name variable on the PermitModel.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---