Vanilla 1.1.2 Forum von Lussumo. Weitere Informationen: Dokumentation, Community.

    •  
      CommentAuthorXdreamer
    • CommentTime16.05.2011
     permalink
    Halli Hallo,

    ich hoffe wirklich das Thema wurde nicht schon zig mal gepostet, habe jedoch via Google nur einen Thread gefunden und der handelte von eigenen Snippets was ich nicht habe.


    Ich habe heute den Server gewechselt und MODx umgezogen. Soweit so gut läuft mehr oder weniger alles bis auf ditto (leere Seite) sowie eine Meldung im Manager Screen. Sobald ich mich im Manager einlogge erhalte ich folgende Meldung angezeigt:

    Strict Standards: strftime() [function.strftime.php]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead in /home/manager/actions/welcome.static.php on line 179

    Strict Standards: strftime() [function.strftime.php]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead in /home/manager/actions/welcome.static.php on line 193

    Strict Standards: strftime() [function.strftime.php]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'CEST/2.0/DST' instead in /home/manager/actions/welcome.static.php on line 220


    Ich nutze PHP 5 da ich mit 5.3.3 einiges mehr an Fehler erhalten habe. Ich habe hierzu in meiner php.ini den Eintrag "date.timezone = Europe/Zurich" ergänzt, was aber nicht zur Abhilfe der Meldung geholfen hat.

    Diese Meldungen erscheinen auch im allgemein Tab bei jedem Dokument da wo Datum und Zeitangaben erfolgen...Kann mir jemand sagen woran das jetzt genau liegt? Kann ich das PHP5 Profil so gar nicht nutzen?
    •  
      CommentAuthorJako
    • CommentTime16.05.2011
     permalink
    Vielleicht kannst Du es ja über die .htaccess einstellen:

    php_value date.timezone Europe/Zurich