Zhang Huangbin wrote:
Dear developers,
I always get this error message when logging to Roundcube webmail 0.6 stable release: Your session is invalid or expired. Detail message is:
DB Error in /srv/www/roundcubemail-0.6/program/include/rcube_mdb2.php (713): MDB2 Error: constraint violation Query: _execute: [Error message: Unable to execute statement] [Last executed query: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES (?, ?, ?, '2011-10-29 21:10:59', '2011-10-29 21:10:59')] [Native code: 1062] [Native message: Duplicate entry 'rrfpesqbtad1g89r6ue1mv26641rf8qe5q2rd4ot' for key 'PRIMARY']
Before inserting a new session record, Roundcube attempts to read it. Obviously the database doesn't return an obviously existing record.
Do you have some database replication in place or different servers defined for reading and writing?
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80