Ticket #217 (new defect)

Opened 8 months ago

Uncaught Exception in lilac 1.03

Reported by: steven.morrey Owned by: tdondich
Priority: major Milestone:
Component: Lilac Configurator Version:
Keywords: Cc:

Description

Below is an uncaught exception. I realize the fix is of course to correct the timezone setting in php.ini, but it would be good to catch this exception since it was completely silent on the web front end and I only found it in my error logs by happenstance.

[Wed Dec 30 14:59:45 2009] [error] [client 172.20.40.253] PHP Fatal error: Uncaught exception 'PropelException?' with message 'Internally stored date/time/timestamp value could not be converted to DateTime?: '2009-12-30 14:59:21' [wrapped: 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/Denver' for 'MST/-7.0/no DST' instead]' in /usr/local/apache2/htdocs/lilac/classes/om/BaseAutodiscoveryJob.php:205\nStack trace:\n#0 /usr/local/apache2/htdocs/lilac/autodiscovery.php(100): BaseAutodiscoveryJob?->getStartTime()\n#1 {main}\n thrown in /usr/local/apache2/htdocs/lilac/classes/om/BaseAutodiscoveryJob.php on line 205, referer:  http://oneunx10.support.oneneck.net/lilac/autodiscovery.php

Note: See TracTickets for help on using tickets.