FAQ  •  Register  •  Login

Frontpage errors! Lots of 'em!

Moderator: Inside3D Admins

<<

Chip

User avatar

Posts: 546

Joined: Wed Jan 21, 2009 9:12 am

Location: Romania

Post Sat Feb 18, 2012 1:15 pm

Frontpage errors! Lots of 'em!

What's with the errors on the front page?

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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/Chicago' for 'CST/-6.0/no DST' instead in /usr/local/etc/httpd/inside3d.com/index.php on line 41


Probably an error_reporting is left open, somewhere in the code. It should be error_reporting(0) instead of error_reporting(E_ALL).

Or a phpBB update is due.
Quake 1 Mods

Fear not the dark, but what the dark hides.
<<

Ace12GA

Posts: 54

Joined: Sat Jan 28, 2012 12:08 am

Post Sat Feb 18, 2012 4:31 pm

Re: Frontpage errors! Lots of 'em!

Bleh, that's the newer PHP. You just need to include a time zone setting at the top of your PHP code.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft