Ankündigung

#1 2013-12-04 05:32:01

ckraker1987
Gast

serverzeit einstellen per config.php

Hallo ich habe ein Problem. ...

Strict Standards: mktime(): 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 /homepages/27/d497746571/htdocs/funpics/include/functions.inc.php on line 500

Strict Standards: 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 /homepages/27/d497746571/htdocs/funpics/include/functions.inc.php on line 500

Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d497746571/htdocs/funpics/include/functions.inc.php:500) in /homepages/27/d497746571/htdocs/funpics/include/page_header.php on line 101

Kann mir jemand erklären wie i h diese probleme lösen kann???

#2 2013-12-04 10:09:26

Kalle
Mitglied
2012-08-16
47

Re: serverzeit einstellen per config.php

die Antwort findest du an mehreren Stellen im englischen Forum:

http://piwigo.org/forum/viewtopic.php?p … 50#p142750

Und zwar muss die Zeitzone entweder in der php.ini gesetzt werden, oder aber über den "LocalFiles Editor" (Plugin) als Zeile in deiner piwigo - config.

Code:

date_default_timezone_set('Europe/Berlin');

Offline

Brett Fußzeile

Unterstützt von FluxBB

github twitter newsletter Spenden Piwigo.org © 2002-2021 · Kontakt