Connecting Tech Pros Worldwide Help | Site Map

sqlite with PDO and sqlite extension

  #1  
Old July 4th, 2008, 11:35 AM
Harris Kosmidhs
Guest
 
Posts: n/a
Hello.

I started writing an application and used PDO to connect to an sqlite
file.The sqlite DB was created with the Sqllite extension of firefox.

Now I want to switch to CakePHP. I used the sqlite driver but since it
uses sqlite_popen my database canno't be open. Firefox sqlite extension
uses sqlite 3.x and sqlite_open is for 2.x databases. So I get: Warning:
sqlite_popen() [function.sqlite-popen]: file is encrypted or is not a
database

Is there a way to fix this?


Thanks
Harris
  #2  
Old July 4th, 2008, 11:35 AM
=?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?=
Guest
 
Posts: n/a

re: sqlite with PDO and sqlite extension


Harris Kosmidhs <hkosmidi@remove.me.softnet.tuc.grwrote:
Quote:
>
Is there a way to fix this?
there is an sqlite3-0.6 extension for php.

--
Une Bévue
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Firefox 3 sqlite files Chuck Anderson answers 10 July 21st, 2008 10:25 AM
SQLite Version 2.1? Jim Carlock answers 4 January 26th, 2007 08:05 PM
installed pdo.so and pdo_mysql.so still no go eholz1 answers 2 January 3rd, 2007 02:55 AM
SQLite DB using without SQLite Extension Cafer ÅžimÅŸek answers 3 September 8th, 2005 11:55 PM