Roundcube Community Forum

 

Login problem

Started by dom_b, April 13, 2009, 04:42:39 PM

Previous topic - Next topic

dom_b

When trying to log in to RoundCube I get this error:

Quote[13-Apr-2009 22:40:48 +0200] DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_27332065430ab182adc38938a563aa47bdfedbcaf FROM 'SELECT * FROM users WHERE mail_host=? AND username=?']
[Native code: 1054]
[Native message: Unknown column 'mail_host' in 'where clause']
 in /customers/*****/*****/*****/*****/program/include/rcube_mdb2.php on line 255 (POST /webmail/?_task=&_action=login)

Any ideas?

UPDATE:

Solved by adding a prefix to each table in 'mysql.initial.sql' then updating the 'db.inc.php' file to match

Neejay

Quote from: dom_b;18413Solved by adding a prefix to each table in 'mysql.initial.sql' then updating the 'db.inc.php' file to match

could you explain in detail what you did?

dom_b

i was trying to install roundcube on the same mysql database as drupal. i wrote the solution here.

Running Drupal & Roundcube on the same MySQL database | Doms Yard

Neejay

Quote from: dom_b;19050i was trying to install roundcube on the same mysql database as drupal. i wrote the solution here.

Running Drupal & Roundcube on the same MySQL database | Doms Yard
PERFECT! Works flawlessly now. Thanks a lot man.