Cannot open a sqlite 3.x file
Posted by:
dynalmadman
(---.lv.lv.cox.net)
Date: April 01, 2008 10:10PM
I am brand new to this, and I downloaded and installed wamp 2.0b.
Everything seems to work, I can run basic, intro php files, no problem.
I used SQLite Manager, externally, to create a small database, it tells me it is a version 3.3.5 database.
I wrote a small php file to open a database and display the contents of a record.
If I use sqlite_open(), and give it a string name of database that does not exist, it creates the database just fine. But if I try to open that database in SQLite Manager, I get an error that the file is corrupt, or not a SQLite database.
If I try to open the database I created with SQLite Manager, using sqlite_open() with my file name, I get the error that the 'file is excrypted, or does not exist'.
It almost seems like a version problem, that wamp won't open a SQlite 3.x file, even thought the website tells that it should. And it seems like if I let wamp create it, it makes a 2.x database.
Any ideas?
Thanks,
Michael