2013/6/8 A.L.E.C alec@alec.pl:
On 06/07/2013 10:48 PM, Andrey Utkin wrote:
[07-Jun-2013 20:44:22 UTC] PHP 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in
So, what do you not understand in this message?
I did not understand why a _warning_ (not error) message, which literally says "you're doing bad thing, but i'm falling back to safe defaults, please(!) don't do this next time" should indicate an error which results in not giving any date info at all. Also i have Wordpress installations on that host, and dates are printed correctly there.
But when i set date.timezone to php.ini, dates appeared.
-- Andrey Utkin