agarzon
Basic Pleskian
* Plesk 11.5.30 fresh installation
* Centos 6.5 x64
I was getting this errors in roundcube log /var/log/plesk-roundcube/errors
So, to fix this I just add
date.timezone = "America/Caracas" at the end of /etc/psa-webmail/roundcube/php.ini (yo can set your own timezone)
And restart apache... problem solved.
Note for plesk devs: the date.timezone should be defined by default, because is mandarory since PHP 5.3, please consider this to next micro-upgrade
* Centos 6.5 x64
I was getting this errors in roundcube log /var/log/plesk-roundcube/errors
Code:
[17-Feb-2014 19:29:40 UTC] PHP Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_config.php on line 435
[17-Feb-2014 19:29:40 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 132
[17-Feb-2014 19:29:40 UTC] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_db.php on line 758
So, to fix this I just add
date.timezone = "America/Caracas" at the end of /etc/psa-webmail/roundcube/php.ini (yo can set your own timezone)
And restart apache... problem solved.
Note for plesk devs: the date.timezone should be defined by default, because is mandarory since PHP 5.3, please consider this to next micro-upgrade