I had an issue similar earlier this weekend, where It wasn't finding
data, and it had something to do with where I was actually doing my
work (in a project directory or app directory), double check that the
directory you are working on is the same directory you have your
config/database.php settings set in.

Tim Western



On Oct 18, 11:16 am, Jakobloekke <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I'm new to cakephp, and I'm stuck with a problem using the bake
> script:
>
> I can bake a DB configuration without problems.
> When I try to bake a model, my terminal prints out some sql-errors,
> but I can create a new model manually.
>
> When I try to bake a controller I get the following error, and:
> Fatal error: ConnectionManager::getDataSource - Non-existent data
> source default in /Library/WebServer/cake1.2.x.x/cake/libs/model/
> connection_manager.php on line 111
> Then the bake script terminates.
>
> Can anyone tell me where I went wrong?
>
> thanks,
> Jakob


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to