Topic: [error] ... It is not safe to rely on the system's timezone settings ... (Read 1910 times)
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« on: May 07, 2007, 05:41:21 pm »
I find this errors since I've installed the new version of access_user.class:
Quote
It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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.
I'm not shure where I have to modify the date_default_timezone_set(). Maybe you can help.
tom
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #1 on: May 07, 2007, 05:44:10 pm »
You should use this function in the beginning of your script
I find this errors since I've installed the new version of access_user.class:
Quote
It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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.
I'm not shure where I have to modify the date_default_timezone_set(). Maybe you can help.
tom
where is this function used?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6532