Roundcube 500 Error (Linux)

Roundcube 500 Error (Linux)
Attempting to login to your Roundcube webmail results in a 500 error. Follow the steps provided in this article to identify and resolve this issue.
Viewing logs to determine exact error
  1. SSH into server
  2. Type cd /var/log/plesk-roundcube/
  3. Type tail errors (This will pull the most recent entries)
  4. Confirm the error is similar to the error provided below. If so, follow the rest of the steps in this article.
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 'America/Chicago' for 'CDT/-5.0/DST' instead' in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php:523
Resolving the timezone issue
  1. Type cd /etc/psa-webmail/roundcube/
  2. Type nano php.ini
  3. Add date.timezone = <SERVER_TIMEZONE> into the file in [PHP] section. (NOTE: You will need to put an actual timezone in. Use the official PHP Website for reference)
  4. Your new edit should look similar to the image below
  5. Type /sbin/service httpd restart (This will restart Apache)


Add Feedback