Waspman
Posts: 948
|
Posted: 10/30/2013, 11:42 AM |
|
Php has been updated on my server and this happened...
Warning: date() [function.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 'UTC' for 'GMT/0.0/no DST' instead in /home/partsman/public_html/VPPS_V2/Common.php on line 669
Anyone know how to fix it?
Ta:)
_________________
http://www.waspmedia.co.uk |
|
|
enko
Posts: 74
|
Posted: 10/30/2013, 12:48 PM |
|
I fix that putting this line
date_default_timezone_set('Europe/Rome');
at top of file in common.php
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps. |
|
|
Waspman
Posts: 948
|
Posted: 10/30/2013, 1:01 PM |
|
Thank you enko
_________________
http://www.waspmedia.co.uk |
|
|
|