Jump to content

Time Zone Error [SOLVED]


JustinRomaine

Recommended Posts

How would i go about fixing this error. Thanks

Warning: 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 '-5.0/no DST' instead in C:\Inetpub\wwwroot\core\modules\news\news.php on line 45

Thanks.

Found it. It was the seting in my php.ini file forgot the defalt time zone there hehehe. fun stuff with home server lol.

Link to comment
Share on other sites

  • 2 months later...

Hi there a friend of mine is getting the same error

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 'EDT/-4.0/DST' instead in /home/channele/public_html/core/modules/news/news.php on line 45

Updates

Would anyone have any idea what needs done here

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...