Jump to content


Photo

adodb-time.inc.php : 934 error


  • Please log in to reply
3 replies to this topic

#1 Tehcheese

Tehcheese
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 08 August 2006 - 02:27 PM

adodb-time.inc.php : 934 error

ok, this is for a game log parser thingy, it used to work when i edited the line 934 ages and ages ago to London GMT time.. but i forgot how to do it now, and the site i got it from is nomore.


here is the message


The error is : date() [function.date]: 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. We selected 'America/New_York' for 'EDT/-4.0/DST' instead

i want it to select Europe/London GMT+0
Code: of line 934

return ($is_gmt)? @gmdate($fmt,$d): @date($fmt,$d);

i only edit this line in the code and it all worked, i just cant find the tutorial to do it again


please help me
full source code is here

http://www.tehcheese...db-time.inc.txt

thanks.
________

#2 Tehcheese

Tehcheese
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 08 August 2006 - 09:22 PM

*bump* sorry i need quick help

#3 Tehcheese

Tehcheese
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 20 August 2006 - 03:07 PM

thanks sooo much for the help.... :(

#4 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 20 August 2006 - 03:11 PM

If you are using php5 or greater, above that line, put this line:

date_default_timezone_set("Europe/London");

Which should elminate the error.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users