Posted by Michael
2014-06-10

Hi Tom I don't know if this is a dumb question but here goes.

Warning: date(): 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 /usr/local/apache2/htdocs/new-parkering/AB201-118/web/codelib/slib/CUtil.inc.php on line 32

I received this error and cannot for the life of me fix it. Can you guide me please.
Posted by Tom
2014-06-10

Open web/staff/index.php and put date_default_timezone_set function on the top like this:
<?php
date_default_timezone_set('Europe/Paris');
You need to replace 'Europe/Paris' with your time zone. You can see the list of time zone here:
http://www.php.net/manual/en/timezones.php

Actually, your time zone should be in php.ini and perhaps you have one there already. But then I sometimes see time zones that are missing an underscore like "America/Los Angeles" in some PHP installations. The correct spelling is "America/Los_Angeles", which has "_" between "Los" and "Angeles"