On Oct 18, 8:52 am, zuha <[email protected]> wrote: > Can you paste your database.php file code?
This is an screen dump after using cake bake script Welcome to CakePHP v2.0.0 Console --------------------------------------------------------------- App : app Path: /var/www/cake_2_0/app/ --------------------------------------------------------------- Interactive Bake Shell --------------------------------------------------------------- [D]atabase Configuration [M]odel [V]iew [C]ontroller [P]roject [F]ixture [T]est case [Q]uit What would you like to Bake? (D/M/V/C/P/F/T/Q) > D --------------------------------------------------------------- Database Configuration: --------------------------------------------------------------- Name: [default] > Driver: (Mysql/Postgres/Sqlite/Sqlserver) [Mysql] > Mysql Persistent Connection? (y/n) [n] > n Database Host: [localhost] > Port? [n] > User: [root] > root Password: > [removed] Database Name: [cake] > tester Table Prefix? [n] > n Table encoding? [n] > n --------------------------------------------------------------- The following database configuration will be created: --------------------------------------------------------------- Name: default Driver: Mysql Persistent: false Host: localhost User: root Pass: ******* Database: tester --------------------------------------------------------------- Look okay? (y/n) [y] > y Do you wish to add another database configuration? [n] > n PHP Fatal error: Class 'DATABASE_CONFIG' not found in /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262 Fatal error: Class 'DATABASE_CONFIG' not found in /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
