Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / PHP / General PHP Topics / July 2008



Tip: Looking for answers? Try searching our database.

sqlite with PDO and sqlite extension

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harris Kosmidhs - 04 Jul 2008 11:24 GMT
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
Une Bév ue - 04 Jul 2008 11:30 GMT
> Is there a way to fix this?

there is an sqlite3-0.6 extension for php.

Signature

Une Bévue

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.