Comment 0 for bug 1453568

Revision history for this message
Mohamed-Touhami MAHDI (dragnucs) wrote :

As reported by YKaelig on movim chatroom:

Description:

from movim wiki
Section 3. Start the daemon

Starting the daemon failed with this warning:

[10-May-2015 17:40:40 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 /var/www/movim/app/helpers/TimezoneHelper.php:19
Stack trace:
#0 /var/www/movim/app/helpers/TimezoneHelper.php(19): DateTime->__construct()
#1 /var/www/movim/bootstrap.php(277): getTimezoneOffset('Europe/Warsaw')
#2 /var/www/movim/bootstrap.php(45): Bootstrap->setTimezone()
#3 /var/www/movim/daemon.php(14): Bootstrap->boot()
#4 {main}
  thrown in /var/www/movim/app/helpers/TimezoneHelper.php on line 19

Note:

php.ini configured with
date.timezone = "Europe/Warsaw"

postgresql.conf configured with
timezone = 'Europe/Warsaw'

system localtime
/etc/localtime -> /usr/share/zoneinfo/Europe/Warsaw