Author Topic: Installation problem 0.8.5  (Read 5228 times)

Offline Yzord

  • Newbie
  • *
  • Posts: 2
Installation problem 0.8.5
« on: March 14, 2013, 07:33:30 AM »
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:

Quote
DATABASE 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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Installation problem 0.8.5
« Reply #1 on: March 14, 2013, 08:26:26 AM »
It looks like you never initialized the database.

Offline Yzord

  • Newbie
  • *
  • Posts: 2
Re: Installation problem 0.8.5
« Reply #2 on: March 14, 2013, 10:04:09 AM »
I have dumped the .sql file in the database trough phpmyadmin and now it works :)