Page 1 of 1

Warning: date() ...

Posted: Thu 25. Feb 2010, 10:13
by kubik
Hi Leute,
was mach ich denn, wenn sowas auftaucht:
------------
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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /kunden/fotografenmeister.de/webseiten/jk/pc-service/phpwcmsr401/phpwcms.php on line 535

----------

Bin ratlos!

Grüße
JK

Re: Warning: date() ...

Posted: Thu 25. Feb 2010, 12:01
by Oliver Georgi
Füge das einfach Deiner conf.inc.php hinzu.

Code: Select all

date_default_timezone_set('Europe/Berlin');

Re: Warning: date() ...

Posted: Thu 25. Feb 2010, 13:23
by kubik
Hallo Oliver,

vielen Dank!
Alles wieder im Lot, hatte so was noch nie, wie kommt's?

Grüße
JK

Re: Warning: date() ...

Posted: Thu 25. Feb 2010, 13:51
by Oliver Georgi
PHP aktualisiert, fehlende Timezone Einstellung in der PHP.ini