[RoundCube Dev] Re: Use with SQLite
rcs1000 at amoral.org
Sat Oct 15 19:52:06 CEST 2005
It's a good question :-)
I tried to use your code and got:
*"Warning*: touch(): Unable to create file tmp/sqlite.db because No such
file or directory in */usr/share/php/DB/sqlite.php* on line *117*
*DB Error in /var/www/roundcube/program/include/rcube_db.inc (63):* DB
Error: not found
*Fatal error*: Call to undefined function: query() in
*/var/www/roundcube/program/include/rcube_db.inc* on line *119"
*Hmmm... perhaps it doesn't like leaving its document root. I'll play
with permissions and see if that works.
>Are you sure the current directory is writable ? Try to use the /tmp directory
>by using something like:
>$rcmail_config['db_dsnw'] = 'sqlite:///tmp/sqlite.db';
>Le Samedi 15 Octobre 2005 19:30, Robert Smithson a écrit :
>>Does anyone have any pointers as how to use SQLite as the databse backend?
>>I changed the line in db.inc.php to:
>>$rcmail_config['db_dsnw'] = 'sqlite://./sqlite.db?mode=0646';
>>But all it does when I try and log-in is... wait.. wait...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev