On Thu, 2006-03-02 at 13:37 +0000, Alex Pimperton wrote:
quasi wrote:
I get a blank page. It says nothing. If I try to access roundcube.myserver.com/index.php Apache Log error file says: [Thu Mar 2 01:14:56 2006] [error] PHP Notice: DB Error: connect failed in /WebServer/roundcubemail/program/include/bugs.inc on line 80 [Thu Mar 2 01:14:56 2006] [error] PHP Fatal error: Call to undefined function: query() in /WebServer/roundcubemail/program/include/rcube_db.inc on line 213
I also have exactly the same problem only on Debian (Apache 2.0.5.4, PHP 5.1.2-1, mysql 5.0.18-8)
I also initially had the same problem and it was caused by not having all the prerequisetes installed and not properly authenticating to the mysql database. Here are a few things to try:
$rcmail_config['debug_level'] = 15;
make sure that is what roundcube is using:
% mysql
use mysql update user set password=PASSWORD("foo") where user="roundcube";
In db.inc.php:
$rcmail_config['db_dsnw'] = 'mysql://roundcube:foo@localhost/roundcubemail';
php-mysql and php-pear
HTH,