2011-12-31 25 views
1

最近我一直在被了SimplePie讓我的飼料以下錯誤:誤差date.timezone

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 'UTC' for 'GMT/0.0/no DST' instead in /home/xxxxx/public_html/xxxxxx.xxx/www/php/simplepie.inc on line 3636` 

現在,這可能是與事實,我的域名最近已改變服務器和/或在同一辦我升級了提供RSS源的博客軟件。

我不知道我需要更改以阻止此錯誤。

回答

2

指定時區。例如:

date_default_timezone_set('Europe/Amsterdam'); 
+0

在劇本了SimplePie? – user1124608 2012-01-01 22:58:13

+0

在您致電simplepie之前 – 2012-01-01 22:58:53