I get the same error for both $useTable = false, and $useTable = null

Fatal Error (256): ConnectionManager::getDataSource - Non-existent
data source default [CORE\cake\libs\model\connection_manager.php, line
113]

On Jan 21, 5:18 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008 11:02 AM, Matt <[EMAIL PROTECTED]> wrote:
>
>
>
> > I've got an application built in CakePHP 1.1 and I am having trouble
> > in my attempts to port it to 1.2 as my models which had no data
> > source / database are giving me errors.
>
> > Back in CakePHP if you want a model that didn't use the database you
> > just set $useTable = false but this doesn't work in 1.2 as I get the
> > error:
>
> Did you try $useTable = null
>
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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