Due to changes in the way roundcube access database in the 0.9 beta version, the forward plugin doesn't work anymore starting with this version.
Error log says :
PHP Fatal error: Class 'rcube_mdb2' not found in /plugins/vacation/lib/drivers/sql.php on line 34
this is related with the following changelog line of roundcube 0.9 :
Another major change is the new database abstraction. In order to add support for SQLite3 the PEAR:MDB2 dependency was dropped and Roundcube now uses the native PHP Data Objects (PDO). ATTENTION: due a small lack in the MySQL PDO driver this version of Roundcube requires PHP 5.3 when using the MySQL database.
A workaround is to replace
$db = new rcube_mdb2($dsn, '', FALSE);
by
if (!class_exists('rcube_db')) {
$db = new rcube_mdb2($dsn, '', FALSE);
} else {
$db = rcube_db::factory($dsn, '', FALSE);
}
Hi,
Due to changes in the way roundcube access database in the 0.9 beta version, the forward plugin doesn't work anymore starting with this version.
Error log says : PHP Fatal error: Class 'rcube_mdb2' not found in /plugins/vacation/lib/drivers/sql.php on line 34 this is related with the following changelog line of roundcube 0.9 :
A workaround is to replace $db = new rcube_mdb2($dsn, '', FALSE); by
regards,
S.B.