Roundcube Community Forum

 

Installation problem 0.8.5

Started by Yzord, March 14, 2013, 07:33:30 AM

Previous topic - Next topic

Yzord

I try to install roundcube on my redhat server, but I encounter only problems. What i see when i go to the webpage of Roundcube on my server is this:

QuoteDATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

So i checked the error log and found serveral problems. One of them was the timezone problem which i fixed in the php.ini. After restartting the server I get the following errors:

Quote
[14-Mar-2013 13:21:32] MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_1495db7067c8618b85784b8562f27ffb4b5fe5e5f FROM 'SELECT vars, ip, changed FROM session WHERE sess_id = ?']
[Native code: 1146]
[Native message: Table 'roundcube.session' doesn't exist]

[14-Mar-2013 13:21:32 +0100]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_1495db7067c8618b85784b8562f27ffb4b5fe5e5f FROM 'SELECT vars, ip, changed FROM session WHERE sess_id = ?']
[Native code: 1146]
[Native message: Table 'roundcube.session' doesn't exist]
in /var/www/html/roundcube/program/include/rcube_mdb2.php on line 296 (GET /roundcube/)
[14-Mar-2013 13:21:32] MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_22f44b324c5fb98bbffa7899d0f0bf5bffd40b143 FROM 'INSERT INTO session (sess_id, vars, ip, created, changed) VALUES (?, ?, ?, \'2013-03-14 13:21:32\', \'2013-03-14 13:21:32\')']
[Native code: 1146]
[Native message: Table 'roundcube.session' doesn't exist]

[14-Mar-2013 13:21:32 +0100]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_22f44b324c5fb98bbffa7899d0f0bf5bffd40b143 FROM 'INSERT INTO session (sess_id, vars, ip, created, changed) VALUES (?, ?, ?, \'2013-03-14 13:21:32\', \'2013-03-14 13:21:32\')']
[Native code: 1146]
[Native message: Table 'roundcube.session' doesn't exist]
in /var/www/html/roundcube/program/include/rcube_mdb2.php on line 296 (GET /roundcube/)

I am not an expert or something haha, so above is going way over my head right now. As far as i can see the mysql database is accessable and filled with db.opt. Thats it.

Can someone explain to me what I can do to fulfill the roundcube installation?

SKaero

It looks like you never initialized the database.

Yzord

I have dumped the .sql file in the database trough phpmyadmin and now it works :)