By: Keith Silva
Date: 2006-10-18
Time: 20:51
|
PDO SQLite
I'm using the PDO plugin to try to access an SQLite database. When I try to connect to the database, I'm receiving the following error message:
Fatal error: Call to a member function errorInfo() on a non-object in F:\apps\PortableWebAp3.3\Program\www\localhost\tbs\tbsdb_pdo.php on line 20
Could anyone give me a lead as to what the problem might be?
Thanks, Keith Silva
|
By: Skrol29
Date: 2006-10-19
Time: 18:01
|
Re: PDO SQLite
Hi Keith,
The PDO plug-in had a bug in the tbsdb_pdo_open() function when displaying error message.
I've fixed this bug and the new version is yet available for download. I had some tests but could you confirm that this patch is ok for you too ?
|
By: Keith Silva
Date: 2006-10-19
Time: 20:08
|
Re: PDO SQLite
Thank you. I downloaded the revised PDO plug-in and it resolved the problem. Thanks for your quick response.
My little program is not yet working, but I think I can understand, learn, and fix the remaining problems.
Regards, Keith Silva
|
By: Keith Silva
Date: 2006-10-19
Time: 21:49
|
Re: PDO SQLite
I am so happy! I am a very beginner at programming and I just successfully displayed on my browser my data from an sqlite database. So, I have learned the basics of sqlite3, php, pdo, and tbs. I'm beginning to see how TBS simplifies things.
I'm going to take myself out to lunch!
Thanks, Keith Silva
|
|
Posting in progress.
Please wait...
|