Hi,

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.

Cheers,

Robert



Slaanesh wrote:
Hi,

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';

Olivier

Le Samedi 15 Octobre 2005 19:30, Robert Smithson a écrit :
  
Hi,

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...

Cheers,

Robert