2008-02-23, 07:37 PM
I decided to make some improvements to the web interface (although I think that it is pretty good - great job guys!!, just wanted to add a few features). Since the main language I know is php, I decided to write it in that.
Here are my questions -
The database gbpvr uses is SQLite...correct? Which is the gbpvr.db3 file in the directory correct?
That being said, I tried to connect to it with php and it acts like it is an invalid format. The warning is:
Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in C:\Documents and Settings\Media\Desktop\Server\xampplite\htdocs\test.php on line 4
The code that I am using to connect to it (or at least the part that errors out) is:
$db = sqlite_open("gbpvr.db3");
(and just to cover something, I already made a copy of the gbpvr.db3 and put it in the correct folder)
Any ideas or suggestions would be really helpful - sorry if these questions have already been answers, I tried my best searching the forum, wiki, and google and didn't turn up too much that is helpful (and its my first post in here... so be gentle!!)
Here are my questions -
The database gbpvr uses is SQLite...correct? Which is the gbpvr.db3 file in the directory correct?
That being said, I tried to connect to it with php and it acts like it is an invalid format. The warning is:
Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in C:\Documents and Settings\Media\Desktop\Server\xampplite\htdocs\test.php on line 4
The code that I am using to connect to it (or at least the part that errors out) is:
$db = sqlite_open("gbpvr.db3");
(and just to cover something, I already made a copy of the gbpvr.db3 and put it in the correct folder)
Any ideas or suggestions would be really helpful - sorry if these questions have already been answers, I tried my best searching the forum, wiki, and google and didn't turn up too much that is helpful (and its my first post in here... so be gentle!!)