I've tried everything you suggested.

Bringing the loglevel to 15 outputs in browser:
DB Error in /WebServer/roundcubemail/program/include/rcube_db.inc (97): DB Error: connect failed

Fatal error: Call to undefined function: query() in /WebServer/roundcubemail/program/include/rcube_db.inc on line 213

Line 213 says:
    $result = $this->db_handle->query($query, $params);

What (97) is error of I don't know.



I'm not sure about the php-mysql and the php-pear parts. Shouldnt they be installed by default with my php version?

/q.


2 mar 2006 kl. 18.15 skrev quasi:

I've tried everything you suggested.

Bringing the loglevel to 15 outputs in browser:
DB Error in /WebServer/roundcubemail/program/include/rcube_db.inc (97): DB Error: connect failed

Fatal error: Call to undefined function: query() in /WebServer/roundcubemail/program/include/rcube_db.inc on line 213

Line 213 says:
    $result = $this->db_handle->query($query, $params);

What (97) is error of I don't know.



I'm not sure about the php-mysql and the php-pear parts. Shouldnt they be installed by default with my php version?

/q.



2 mar 2006 kl. 17.58 skrev Alex Pimperton:

John Dennis wrote:
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:foo@localhost/roundcubemail';


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


Thanks very much for your help.

I removed the database and user, flushed privileges and then re-created
and it works fine now.

Either MySQL or myself must have got confused...

Alex


-- 
This message has been scanned for viruses and
dangerous content by MailScanner , and is
believed to be clean.