Are you sure you have the correct filename and path? /app/config/database.php
On 3 March 2011 11:13, damien d <[email protected]> wrote: > Hi, > > I'm new on cakephp 1.3.7 and i want to access a sqlite3 db. > So i take a look to datasources plugins (https://github.com/cakephp/ > datasources/ <https://github.com/cakephp/%0Adatasources/>) that support > this kind of database. > > I unzip it under app/plugins/datasources, and i configure my database > under database.php : > class DATABASE_CONFIG { > > var $default = array( > 'driver' => 'Datasources.DboSqlite3', > 'host' => '', > 'port' => '', > 'login' => '', > 'password' => '', > 'database' => '/var/www/discofy/discotify.db/', > 'schema' => '', > 'prefix' => '', > 'encoding' => '' > ); > } > > > But when i go to cakephp start page , i have : > > Your database configuration file is present. > Cake is NOT able to connect to the database. > > > Any idea to help me ? the readme file isn't enought explicit to help > me as i'm a newbie. > > -- > 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 > -- Kind Regards Stephen http://www.ninjacodermonkey.co.uk -- 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
