22, November 2008

[error] ... It is not safe to rely on the system's timezone settings ... - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: [error] ... It is not safe to rely on the system's timezone settings ...
« previous next »
Pages: [1] Print

Author 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: Male
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

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
OMG!I am geek
**
Posts: 57
394 credits
Members referred : 0


« Reply #2 on: May 07, 2007, 07:02:36 PM »

You should use this function in the beginning of your script
So I guess it would be right to put the followin only in the user_access.class?

Code:
date_default_timezone_set('Europe/Amsterdam'); 

« Last Edit: May 07, 2007, 07:17:31 PM by tomz »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: May 07, 2007, 08:18:31 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

where is this function used?


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6532
Tags : timezone settings Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: [error] ... It is not safe to rely on the system's timezone settings ...
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 03:49:24 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.736
Total Topics: 7.650
Total Members: 4.397
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Janai

31 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.