Page 1 of 1

[SOLVED] Roundcube Internal Error 500

Posted: Wed Nov 11, 2015 10:30 pm
by DRS
Hello,

I upgraded to the new VestaCP and roundcube is dead -> mydomain.com/webmail -> Internal Server Error 500.

Before upgrading work properly. Could someone help me?

Software: Debian Wheezy, NGINX 1.9.6, MariaDB 10.0, VestaCP 0.9.8-15, Apache 2.2.22, PHP 5.6.15

Thanks.

Re: Roundcube Internal Error 500

Posted: Thu Nov 12, 2015 11:54 am
by DRS
SOLVED!

Looking at the error logs found:
[Thu Nov 12 12:33:12 2015] [error] [client YourIP] PHP Fatal error: Call to undefined function: MDB2_Driver_mysql::pushErrorHandling(). in /usr/share/php/MDB2.php on line 1950
The problem is that lack a module, therefore, install it: (Debian/Ubuntu)

1º) Install MySQL package for MDB2:
apt-get install php-mdb2-driver-mysql
2º) Install PHP-Pear:
apt-get install php-pear
3º) Install MDB2 Library:
pear install MDB2
4º) Install MDB2 MySQL Driver:
pear install MDB2_Driver_Mysql
Ready! No need to restart.

Re: [SOLVED] Roundcube Internal Error 500

Posted: Tue Jan 05, 2016 4:17 pm
by arafatx
I have the same problem but my error log is this:

[05-Jan-2016 15:49:47 UTC] PHP Catchable fatal error: session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/session) in /usr/share/roundcubemail/program/lib/Roundcube/rcube_session.php on line 436

I'm using CentOS7