Topic: [error] ... It is not safe to rely on the system's timezone settings ... (Read 720 times)
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« on: May 07, 2007, 06: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: 8249
42481 credits Members referred : 3
« Reply #1 on: May 07, 2007, 06: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.