Receiving "date.timezone setting" or the "date_default_timezone_set()" function errors

If you started receiving errors all over your WordPress Install that read something like the following:

"Warning: strtotime() [function.strtotime]: 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/New York'
for 'EST/-5.0/DST' instead in /path/to/my/www/wp-includes/functions.php on line ##"

"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/New York' for 'EST/-5.0/DST' instead in /path/to/my/www/wp-includes/functions.php on line ##"ÂÂÂ

NOTE: The location/timezone 'America/New York'  may vary. Here is a list of timezones from PHP

The good news is the fix is easyer then the reading... Simply place the following line in a php.ini fileÂÂÂ

date.timezone = 'America/New_York'   

NOTE: Again your timezone may varyÂÂÂ

ÂÂÂ

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to do a TELNET on a PC (Windows) OS

From time to time you may need to perform an operation called "TELNET".You can use TELNET to...

Installing TELNET Client in Windows Vista

By default, Vista doesn't install the Telnet client.The client is for text-based communication...

500 Error (Internal Server Error) after install when trying to login to admin

If you get a 500 Error or "Internal Server Error" after you have just installed Word Press...

Email Forwarders to AOL, ATT, Bellsouth,Comcast,Gmail, Hotmail, MSN and Yahoo disappear

Forwarders to Yahoo, AOL, AT&T, Bellsouth, Comcast, Gmail, Hotmail and MSN are removed...