- Plesk 12.5 for Linux
- Plesk Onyx for Linux
- Plesk Onyx 17.5 for Linux
Note: This article has the reference to the issue with the fix available:
"Trying to log in to Roundcube with an incorrect password resulted in an HTTP response code 500."
- Plesk Onyx 17.5.3 Update 12 03 July 2017 (Linux)
Trying to access Roundcube webmail with an incorrect password the screen goes blank.The following error can be found in
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:491
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(491): DateTime->__construct('now')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(619): rcube_user->failed_login()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('john.doe@examp...', '123qwe', 'localhost', true)
thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 491
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(523): DateTime->__construct('2017-05-26 14:3...')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(608): rcube_user->is_locked()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('john.doe@exampl...', '123qwe', '127.0.0.1', true)
thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 523
On Plesk 17.5 (with Roundcube 1.2.4) 500 error can appear even if correct credentials are used.
This issue is caused by Plesk bug #PPPM-6104 and will be fixed in future product updates.
As a workaround:
/etc/psa-webmail/roundcube/php.iniwith text editor. This file is generated during Roundcube installation.
date.timezone = <SERVER_TIMEZONE>into the file in
[PHP]section. List of supported timezones available on offcial PHP web site