Tehcheese Posted August 8, 2006 Share Posted August 8, 2006 adodb-time.inc.php : 934 errorok, 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 messageThe 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' insteadi want it to select Europe/London GMT+0Code: of line 934[code]return ($is_gmt)? @gmdate($fmt,$d): @date($fmt,$d);[/code]i only edit this line in the code and it all worked, i just cant find the tutorial to do it againplease help mefull source code is here[url=http://www.tehcheese.com/adodb-time.inc.txt]http://www.tehcheese.com/adodb-time.inc.txt[/url]thanks.________ Link to comment https://forums.phpfreaks.com/topic/16901-adodb-timeincphp-934-error/ Share on other sites More sharing options...
Tehcheese Posted August 8, 2006 Author Share Posted August 8, 2006 *bump* sorry i need quick help Link to comment https://forums.phpfreaks.com/topic/16901-adodb-timeincphp-934-error/#findComment-71420 Share on other sites More sharing options...
Tehcheese Posted August 20, 2006 Author Share Posted August 20, 2006 thanks sooo much for the help.... :( Link to comment https://forums.phpfreaks.com/topic/16901-adodb-timeincphp-934-error/#findComment-77571 Share on other sites More sharing options...
hitman6003 Posted August 20, 2006 Share Posted August 20, 2006 If you are using php5 or greater, above that line, put this line:[code]date_default_timezone_set("Europe/London");[/code]Which should elminate the error. Link to comment https://forums.phpfreaks.com/topic/16901-adodb-timeincphp-934-error/#findComment-77575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.