Connecting Tech Pros Worldwide Forums | Help | Site Map

sqlite with PDO and sqlite extension

Harris Kosmidhs
Guest
 
Posts: n/a
#1: Jul 4 '08
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

=?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?=
Guest
 
Posts: n/a
#2: Jul 4 '08

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