Hi guys,
Apologies for quick set up question!
In postfixadmin 3.1 I have this config for sqlite in config.local.php:
$CONF['database_type'] = 'sqlite';
$CONF['database_host'] = 'localhost';
$CONF['database_user'] = 'postfix';
$CONF['database_password'] = 'password';
$CONF['database_name'] = '/var/sqlite/postfixadmin.db';
$CONF['database_prefix'] = '';
-rwxr-xr-x 1 www-data mail 0 Nov 27 19:28 /var/sqlite/postfixadmin.db
This was created with the command # sqlite3 /var/sqlite/postfixadmin.db
When I call setup.php this message is returned:
• Depends on: SQLite - OK
• Error: Can't connect to database
Please edit the $CONF['database_*'] parameters in config.local.php.
DEBUG INFORMATION
Connect: given database path does not exist, is not writable, or $CONF['database_name'] is empty.
Any idea why this is breaking?
Kind regards, Sophie.
|