Roundcube Community Forum

Release Support => Pending Issues => Topic started by: ngungo on January 07, 2009, 10:21:52 AM

Title: SQLite error
Post by: ngungo on January 07, 2009, 10:21:52 AM
I spent the whole night last night trying to install 0.2-stable unsuccessfully. The error:

QuoteWarning: sqlite_create_function() expects parameter 1 to be resource, integer given in /users/home/vynergy/domains/threenos.com/web/public/email/program/include/rcube_mdb2.php on line 604

Warning: sqlite_last_error() expects parameter 1 to be resource, integer given in /users/home/vynergy/domains/threenos.com/web/public/email/program/lib/MDB2/Driver/sqlite.php on line 558
DB Schema:  NOT OK(Database not initialized)
I did try to initialize the database and set write permission per instructions but the error keeps coming back. Any hint would be appreciated.

Thanks,
ngungo
Title: SQLite error
Post by: JohnDoh on January 07, 2009, 12:01:49 PM
did you try this?

Quote from: xrx;15483I got the same errors you did, but here's a quick fix: try editing the config/db.inc.php file, and change the line:
$rcmail_config['db_dsnw'] = 'sqlite://roundcubemail?mode=0646';
to
$rcmail_config['db_dsnw'] = 'sqlite:////var/www/roundcube/sqlite.db?mode=0646';
(change the path accordingly).