• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

FIX: Roundcube errors in log Plesk 11.5

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
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
 
I have a similar error message in my log. When I try to edit in this php.ini it says
; ATTENTION!
;
; DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
; SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

Any idea?
 
Hi duvide,

even that this warning tells you "not to edit" the file, the solution in the first post will help you to solve your issue.
With the warning you should keep in mind, that Plesk patches/updates/upgrades might change the file without a notice, so please make a backup of the edited file, so you could replace it any time, if Plesk might revert your changes.
 
We're now on Plesk 12.5.30 and this issue still exists. It is making the /var/log/plesk-roundcube/errors file very big. I've silenced it for now using the above instructions, but had hoped this would be properly fixed by now.
 
I've setup a new server with CentOS7 and Plesk 12.5
This described problem doesn't exist anymore with roundcube 1.1.3-cos7.build1205150921.15
 
Back
Top