I've got a working database configuration as the other models use the database.
This model doesn't use the database because I am just using its validation methods to validate a form. On Jan 21, 6:00 pm, duRqoo <[EMAIL PROTECTED]> wrote: > You still have to have database.php file in your /app/config. Content > of the file is list of data sources u will use in your app. Default > one must be there, otherwise it will throw you those fatal errors. So > your database.php file should at least look like this (copied from > database.php.default). > > class DATABASE_CONFIG { > var $default = array( > 'driver' => 'mysql', > 'persistent' => false, > 'host' => 'localhost', > 'port' => '', > 'login' => 'user', > 'password' => 'password', > 'database' => 'database_name', > 'schema' => '', > 'prefix' => '', > 'encoding' => '' > ); > > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---