Errors in function date

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeErrors in function date

This topic has been marked as not a support question.

Hi, I am clueless on where to edit in order to avoid these error messages:

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 ‘Asia/Kuala_Lumpur’ for ‘MYT/8.0/no DST’ instead in /home/dainty/domains/daintypaisley.com/public_html/catalog/controller/common/footer.php on line 46
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 ‘Asia/Kuala_Lumpur’ for ‘MYT/8.0/no DST’ instead in /home/dainty/domains/daintypaisley.com/public_html/system/library/log.php on line 14

I’m a novice in this. Appreciate if someone can advice. Thanks!

May 25, 2013 at 6:15 pm #23587

This error is not connected to Shoppica.

Most likely you have to change your php.ini file or contact your hosting provider if not sure how.

You could also try to fix the timezone manually, by editing system\startup.php, line 48. Try to change UTC to a valid time zone for Europe, America or some other, for example US/Central

Regards,
ThemeBurn team

May 27, 2013 at 4:54 pm #23684
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.