Roundcube Community Forum

 

SQLite error

Started by ngungo, January 07, 2009, 10:21:52 AM

Previous topic - Next topic

ngungo

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

JohnDoh

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).
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...