roundcube http 500 error.. [Solved]

Discussion in 'General' started by murdocklawless, Feb 13, 2022.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the error.log of the web server to find out why you get 500 error.
     
  2. there is nothing at apache logs, but roundcube logs file are saying theese;

    13-Feb-2022 10:36:46 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Europe\Istanbul', we selected the timezone 'UTC' for now. in /usr/share/roundcube/program/lib/Roundcube/session/db.php on line 109
    [13-Feb-2022 10:36:46 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'Europe\Istanbul', we selected the timezone 'UTC' for now. in /usr/share/roundcube/program/lib/Roundcube/session/db.php on line 110
    [13-Feb-2022 10:36:46 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'Europe\Istanbul', we selected the timezone 'UTC' for now. in /usr/share/roundcube/program/lib/Roundcube/rcube_user.php:542
    Stack trace:
    #0 /usr/share/roundcube/program/lib/Roundcube/rcube_user.php(542): DateTime->__construct()
    #1 /usr/share/roundcube/program/include/rcmail.php(619): rcube_user->is_locked()
    #2 /usr/share/roundcube/index.php(121): rcmail->login()
    #3 {main}
    thrown in /usr/share/roundcube/program/lib/Roundcube/rcube_user.php on line 542
     
  3. it's related with php-fpm.ini.
    I changed this;
    date.timezone = Europe\Istanbul
    to this;
    ;date.timezone = Europe\Istanbul
    and it started working.
     
    till likes this.
  4. bch

    bch Member

    Correct syntax is with slash, not backslash:
    Code:
    date.timezone = Europe/Istanbul
     
    murdocklawless likes this.

Share This Page