Hi there,
after upgrade from plesk 12.5 to 17, customer can not login into roundcube. I see the follow errors in the log:
/var/log/plesk-roundcube/errors
[16-Jan-2017 09:37:28 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_db.php on line 104
[16-Jan-2017 09:37:28 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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_user.php:523
Stack trace:
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(523): DateTime->__construct('2016-12-13 16:5...')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(608): rcube_user->is_locked()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('info@###-#####...', '#####', 'localhost', true)
#3 {main}
thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 523
After i set "date.timezone = Europe/Berlin" in "/etc/psa-webmail/roundcube/php.ini", the login works.
I think roundcube want to the entry "date.timezone"! The automatically entry "UTC" does not work.
after upgrade from plesk 12.5 to 17, customer can not login into roundcube. I see the follow errors in the log:
/var/log/plesk-roundcube/errors
[16-Jan-2017 09:37:28 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_db.php on line 104
[16-Jan-2017 09:37:28 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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_user.php:523
Stack trace:
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(523): DateTime->__construct('2016-12-13 16:5...')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(608): rcube_user->is_locked()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('info@###-#####...', '#####', 'localhost', true)
#3 {main}
thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 523
After i set "date.timezone = Europe/Berlin" in "/etc/psa-webmail/roundcube/php.ini", the login works.
I think roundcube want to the entry "date.timezone"! The automatically entry "UTC" does not work.
Last edited: