Connecting Tech Pros Worldwide Help | Site Map

sqlite with PDO and sqlite extension

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 4th, 2008, 10:35 AM
Harris Kosmidhs
Guest
 
Posts: n/a
Default sqlite with PDO and sqlite extension

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, 10:35 AM
=?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?=
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.