Help with PHP, MySQL and Apache in Ubuntu 10.04
Kevin Cozens
kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Wed Sep 15 02:06:05 UTC 2010
Paul King wrote:
> I recently purchased (donationware) a web app (ThemeFrame) written in
> PHP that makes use of MySQL.
[snip]
> Here is the only error reported by the apache error log:
> [Sun Sep 12 17:40:43 2010] [error] [client ::1] PHP Fatal error:
> Class 'SQLiteDatabase' not found
> in /var/www/themeframe/functions.php on line 20
[snip]
> // Check if DB "thfrdb" exists, else create it or display error
> if ($db = new SQLiteDatabase(dirname(__FILE__) .
> '/sqlite/thfrdb')) {
The error message indicates that ThemeFrame is using SQLite, not MySQL. You
need to check that the PHP installation on your machine includes support
for SQLite. You will also need to make sure that the webserver has write
perms on the directory that will contain the database files.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list