sqlite with PDO and sqlite extension

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harris Kosmidhs

    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
  • =?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?=

    #2
    Re: sqlite with PDO and sqlite extension

    Harris Kosmidhs <hkosmidi@remov e.me.softnet.tu c.grwrote:
    >
    Is there a way to fix this?
    there is an sqlite3-0.6 extension for php.

    --
    Une Bévue

    Comment

    Working...