Home > networking > howto upgrade to roundcubemail 0.3

howto upgrade to roundcubemail 0.3

September 11th, 2009

Last week was released the upgrade of roundcubemail , with new features ht emost interesting is the APIs and a doc reference sufficent or at least quite understandable for the masses .

The upgrade is not  so clear so i try to suggest some things for whom will want to upgrade without problems .

At least just read the UPGRADE documentation shipped with the packages , but at the point :

1. Replace index.php and all files in
   – ./bin/
   – ./SQL/
   – ./program/
   – ./installer/
   – ./skins/default/
   – ./plugins/

There’s an omitted thing,you must replace also the index.php in the main root .

Another thing is a strange behaviour of crypt object , that generates a 500 error .

This error is caused by a missconfiguration , not declared in the UPGRADE file at line 160 :

// this key is used to encrypt the users imap password which is stored
// in the session record (and the client cookie if remember password is enabled).
// please provide a string of exactly 24 chars.
$rcmail_config['des_key'] = ‘rcmail-!24ByteDESkey*Str’;
 

It’s not compatible with the old version so , if you upgrade , you must put hands on to make this crypto key compatible , simply making a string long 24 bytes .

This will fix the 500 problem .

If you have other problems , and you cannot find any advice around just enable the debug informations in line 18 :

// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$rcmail_config['debug_level'] = 1;

just raising the debug_level , as specified or at least change the php display_errors to On , you can do that simply via htaccess .
 

php_flag     display_errors  Off

:) that’s all , i hope this will be useful to upgrade your roundcube mail .

matteo networking , ,