Lokale Installation: function.date-Error

phpBB 3.0 hat sein "End of Life" erreicht. Eine Neu-Installation wird nicht mehr unterstützt.
Gesperrt
Benutzeravatar
Crizzo
Administrator
Administrator
Beiträge: 12113
Registriert: 19.05.2005 21:45
Kontaktdaten:

Lokale Installation: function.date-Error

Beitrag von Crizzo »

Hi!

Ich wollte einfach nur ein Standard phpBB3.0.8 DE lokal auf meinem xampp installieren.
Also:
- runtergeladen
- entpackt --> Install angesurft

Doch nach dem Erstellen des Admin-Kontos und der nächsten Setup Seite kommt schon das erste Mal dieser Fehler:

Code: Alles auswählen

[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 'Europe/Paris' for  '1.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 'Europe/Paris' for  '1.0/no DST' instead
Wenn ich dann direkt /forum/ ansurfe, kommt die Meldung ich solle bitte "install" löschen. Sobald das geschehen ist, kommt der Fehler von oben wieder.

Wieso denn das?

Xampp 1.7.2. für Windows

Gruß
Crizzo
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12179
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: Lokale Installation: function.date-Error

Beitrag von Mahony »

Hallo
Suche benutzen viewtopic.php?p=1203724#p1203724
Hallo
Hier die Lösung für dein Problem --> http://www.phpbb.com/community/viewtopi ... &t=1634115
ToonArmy hat geschrieben:Set the required setting (date.timezone) in php.ini and these messages will go away.
oder Alternativ
Dog Cow hat geschrieben:Alternatively, one may set

Code: Alles auswählen

// Set time zone
    date_default_timezone_set('UTC');
At the top of common.php

Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Benutzeravatar
Crizzo
Administrator
Administrator
Beiträge: 12113
Registriert: 19.05.2005 21:45
Kontaktdaten:

Re: Lokale Installation: function.date-Error

Beitrag von Crizzo »

Hi, Mahony.

Gut, danke.

Wer wissen möchte wie das xampp geht:

Öffne: \xampp\php\php.ini
FINDE:

Code: Alles auswählen

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = 
ERSETZE MIT:

Code: Alles auswählen

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Berlin"
Infos zur date.timezone: http://www.php.net/manual/de/datetime.c ... e.timezone

Dann läuft es ohne Probleme. :)

Gruß
Blackhawk
Gesperrt

Zurück zu „[3.0.x] Installation, Update und Konvertierung“