timezone settings php

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

timezone settings php

Postby hellboys » 23. October 2010 19:19

Hallo,

bekomme folgende Fehlermeldung mit der phpinfo:

Code: Select all
Warning: phpinfo() [function.phpinfo]: 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 '2.0/DST' instead in E:\xampp\htdocs\xampp\phpinfo.php on line 2


und unter Joomla dann dementsprechend:
Code: Select all
Warning: strtotime() [function.strtotime]: 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 '2.0/DST' instead in E:\xampp\htdocs\chrysler-allgaeu.de\httpdocs\libraries\joomla\utilities\date.php on line 56

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 '2.0/DST' instead in E:\xampp\htdocs\chrysler-allgaeu.de\httpdocs\libraries\joomla\utilities\date.php on line 198


die google suche und sämtliche Post meinen man soll nen Eintrag in die php.ini machen:

Code: Select all
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = "europe/berlin"


machen, was ich natürlich auch gemacht habe, jedoch erfolglos (apache natürlich beendet neu gestartet - sogar pc neu gestartet) - erfolglos

Ich verwende xampp 1.7.3 und muss dazusagen, dass das noch vor 2 monaten alles funktioniert hat, jedoch habe ich xampp wegen einem anderen Problem neuinstalliert und den alten htacess ordner sowie den mysql ordner übernommen

weiß jemand rat? bzw. habe ich etwas übersehen?
hellboys
 
Posts: 3
Joined: 23. October 2010 19:00

Re: timezone settings php

Postby hellboys » 23. October 2010 21:42

ok hat sich erledigt - vor lauter fehlersuche vergessen den Strichpunkt vorne wegzumachen

könnte mich todärgern... 4h vor dem pc verbracht nur wegen nem ;

Code: Select all
;date.timezone = "europe/berlin"
hellboys
 
Posts: 3
Joined: 23. October 2010 19:00


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 66 guests