Failed to start the daemon

Bug #1453568 reported by Mohamed-Touhami MAHDI on 2015-05-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed

Bug Description

As reported by YKaelig on movim chatroom:


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


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

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

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

php -v returns
PHP 5.5.24-pl0-gentoo (cli)

description: updated
edhelas (edhelas) on 2015-05-10
Changed in movim:
importance: Undecided → High
assignee: nobody → edhelas (edhelas)
milestone: none → 0.9
edhelas (edhelas) wrote :

I've fixed the timezone issue. This bug can be reopened if this issue appears again.

Changed in movim:
status: New → Incomplete
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers