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:

1) In main.inc.php set debug_level to 15 so you'll get diagnostics:
$rcmail_config['debug_level'] = 15;

2) Set the database word to a known value (foo in this example)) and
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:[EMAIL PROTECTED]/roundcubemail';


3) Make sure you've got all the php components installed, especially
php-mysql and php-pear

HTH,


-- 
John Dennis <[EMAIL PROTECTED]>
Red Hat Inc.



Reply via email to