Roundcube Community Forum

Release Support => Pending Issues => Topic started by: koji on February 25, 2015, 01:57:49 AM

Title: Cookies/Login/DB Error
Post by: koji on February 25, 2015, 01:57:49 AM
We're having this problem for a long time without being able to know the cause...

Sometimes when we try to login the access fails despite in the session log says that the authentication it's ok

QuoteSuccessful login for drubio (ID: 22) from 195.71.223.33 in session 79b8jat...

To solve this, we have to drop the cookies for the site, and then we can log in again...

On the error log, when this happen we can see:

Quote[25-Feb-2015 07:56:40 +0100]: DB Error: could not find driver in /rcube_explotacio/program/lib/Roundcube/rcube_db.php on line 158 (POST /index.php?_task=&_action=login)

Some clues??
Title: Re: Cookies/Login/DB Error
Post by: koji on February 26, 2015, 05:38:20 AM
At least some info on what kind of error is this "DB Error: could not find driver??"
Title: Re: Cookies/Login/DB Error
Post by: JohnDoh on February 26, 2015, 10:56:14 AM
It is what is says, the database driver could not be found. Check what type of database are you using. Check that you have the PDO driver for that installed on your server. For example if you are connecting to a MySQL database then you need pdo_mysql.

You could also try enabling the installer, that has a check section which I think will test that you have the database drivers you need installed - along with other bits Roundcube needs.