On Dec 4, 9:49 am, Steveston <[EMAIL PROTECTED]> wrote:
> I am using the latest pre-beta 1.2.x version. When trying to bake
> models, get this error:
>
> Possible Models based on your current database:
> 1. CourseComment
> 2. CourseInstructor
> 3. Course
> 4. Instructor
> 5. Source
> 6. TextbookComment
> 7. Textbook
> 8. User
> 9. UsersTextbook
> Enter a number from the list above, or type in the name of another
> model.> 1
>
> Would you like to supply validation criteria for the fields in your
> model? (y/n)
>
> [y] > n
> PHP Fatal error:  ConnectionManager::getDataSource - Non-existent data
> source de
> fault in C:\apache224\htdocs\book\cake\libs\model
> \connection_manager.php on line
>  110
>
> Fatal error: ConnectionManager::getDataSource - Non-existent data
> source default
>  in C:\apache224\htdocs\book\cake\libs\model\connection_manager.php on
> line 110
>
> Why?

Do you have a default datasource in your database.php? If not create
one as cake expects and relies (iirc) on a default datasource being
present.

hth,

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