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 [...] :0 Stack trace: #0 [...]: DateTime->__construct() #1 [...] {main} Next 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 us in [...] on line 0
It's wasted time try to debug your php code, which probably is right.
How to fix:
Set date.timezone to a value according to your system. You can do it globally (acting on php.ini) or locally (acting to .htaccess)
Using .htaccess: you need insert a line of code as follows:
php_value date.timezone "Europe/Vienna"
Allowed values for date.timezone are listed here: http://www.php.net/manual/en/timezones.php