Advertisement:

Author Topic: Sitemap plugin  (Read 1463 times)

deividuska

  • Newbie
  • *
  • Posts: 2
Sitemap plugin
« on: October 23, 2011, 12:34:22 am »
I trying to install this plugin but getting this error
There was a fatal error and the plugin was not installed.
Error: "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 'UTC' for 'GMT/0.0/no DST' instead" Line: 59
File: /home/freeadsy/public_html/oc-includes/osclass/model/Search.php

akapar

  • Premium
  • Full Member
  • *****
  • Posts: 152
Re: Sitemap plugin
« Reply #1 on: October 23, 2011, 09:00:57 pm »
Edit config.php file at the root folder.

Add following line to the end of file (customize it with your local area). Hopefully this should solve the issue.

date_default_timezone_set('Asia/Kuwait');

deividuska

  • Newbie
  • *
  • Posts: 2
Re: Sitemap plugin
« Reply #2 on: October 24, 2011, 08:42:13 am »
thank you.