MT2GS CMS timezone problem

02/18/2011 14:12 Regen.#1
hey,

SuFu has nix ausgeschpuckt

wie behebt man das hier:

Code:
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/Paris' for '1.0/no DST' instead in C:\xampp\htdocs\******\inc\daten.inc.php on line 4
mfg.
Regen.
02/18/2011 14:25 'Blutwolf#2
Schau doch einfach mal ind htdocs nach der daten.inc und schau in Reihe 4 (Mit Notepad++) Da wird wohl ein fehler sein..!
02/18/2011 14:26 Avulsed#3
Quote:
date_default_timezone_set('Europe/Paris');
Das in die daten.inc im inc Verzeichnis schreiben.
02/18/2011 14:43 Regen.#4
toll da steht nur
PHP Code:
  $sqlZeit date("Y-m-d H:i:s",time()); 
02/18/2011 15:28 banjo1#5
1. Wir hatte die Frage schon nen paar mal -> SuFU!

2. Lösung:
Quote:
Originally Posted by Avulsed View Post
Quote:
date_default_timezone_set('Europe/Paris');
Das in die daten.inc im inc Verzeichnis schreiben.
3. *closed