Fehlermeldung date(), getdate()

Dieser Bereich ist der direkte Draht zur Gestaltung, Fragen und Mitteilungen des Forum

Fehlermeldung date(), getdate()

Beitragvon Admin » Do 14. Jul 2011, 21:51

Fehlermeldung:
[phpBB Debug] PHP Notice: in file /index.php on line 86: 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 'UTC/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: 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 'UTC/0.0/no DST' instead

Lösung:
// Set time zone
date_default_timezone_set('UTC');

at the top of common.php

:D
Admin
Administrator
 
Beiträge: 16
Registriert: Sa 11. Okt 2008, 20:16
Wohnort: Kutenholz

Zurück zu Administration

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron