Hi there, Sorry for the thread hijacking / bump, but a little more information on this topic could help some people. Is there anything else to do/ check to get it working ? In my case, CakePHP cannot connect to the database, even though I have the PDO installed and configured to work with SQLite (& SQLite2). Sample of my database.php config:
public $default = array( 'datasource' => 'Database/Sqlite', //'database' => '/var/www/app/Config/ db_name', 'database' => 'db_name', ); I tried both values for the database param, the first one referring to the full path of the db, the second to the db_name database being located in the webroot and the Config folders. The db_name file was created with one empty table using SQLite3 CLI. Any help would be much appreciated. On 14 nov, 15:58, zer0_gravity <zr...@hotmail.com> wrote: > thanks > > On Nov 14, 9:58 am, zer0_gravity <zr...@hotmail.com> wrote: > > > > > > > > > Thanks > > > On Nov 13, 5:10 am, Matteo Landi <landima...@gmail.com> wrote: > > > > On Sun, Nov 13, 2011 at 5:25 AM, zer0_gravity <zr...@hotmail.com> wrote: > > > > Having trouble setting up CakePHP to work withSqlite? could you > > > > explain or point me to where I can get info in rewards to this. > > > > > thanks > > > > FWIW a couple of weeks ago I wrote a mini-tutorial about how to setup > > > aSQLiteconnection within CakePHP application; if you are interested, > > > check it > > > out:http://matteolandi.blogspot.com/2011/10/about-cakephp-and-sqlite.html > > > > Cheers, > > > Matteo > > > > --http://www.matteolandi.net/ -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php