Warning: date() [function.date]: It is not safe to rely on the system's timezone settings.

  • Moin Moin!


    Eine Freundin und ich schreiben auf einem ganz alten Burning Board Lite 1.0.2. Bis gestern lief alles rund, heute plötzlich tauchen über dem Forum x Fehlermeldungen auf:


    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/global.php on line 9



    Warning: Cannot modify header information - headers already sent by (output started at /home/www/global.php:9) in /home/www/acp/lib/functions.php on line 97



    Warning: 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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/global.php on line 139



    Warning: mktime() [function.mktime]:
    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/global.php on line 140



    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/global.php on line 154



    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/acp/lib/functions.php on line 118


    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/index.php on line 270



    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/index.php on line 271


    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/Berlin' for
    'CEST/2.0/DST' instead in /home/www/index.php on line 272


    Einige davon tauchen mehrfach aus. Es sind bestimmt 50 Meldungen. Wir haben nichts am Forum selbst verändert. Was ist denn da passiert und wie können wir das Problem lösen? Wir sind überhaupt nicht bewandert, was Forumstechnik angeht, haben das Forum nur übernommen und sind froh, dass es solange problemlos gelaufen ist - bis gestern.
    Danke im Voraus für Tips und Ratschläge!




  • Ich vermute, dass Euer Hoster die PHP-Version aktualisiert hat und diese nun angesichts des sehr alten Codes Fehler anzeigt.





    Gruß norse

    Zugang zu meinen Arbeiten und dem dazugehörigen Support bekommt Ihr bei Interesse hier.

  • Also den Hoster kontaktieren und fragen, ob man das rückgängig machen kann? Oder was kann man da machen? Sorry, falls die Frage doof ist.

  • Zumindest erstmal fragen, ob etwas am Server geändert wurde. Wenn Ihr sicher seid, nichts geändert zu haben, kann es eigentlich nur am Server liegen.





    Gruß norse

    Zugang zu meinen Arbeiten und dem dazugehörigen Support bekommt Ihr bei Interesse hier.

  • Ja, liegt es. Die Freundin hat gerade in ihren Mails eine Update-Benachrichtigung gefunden und schreibt den Hoster jetzt mal an. Vielleicht können die ja auch schon helfen.

  • Erklärt das auch die Meldung: Warning: Cannot modify header information - headers already sent by (output started at /home/www/global.php:9) in /home/www/acp/lib/functions.php on line 97?





    Gruß norse

    Zugang zu meinen Arbeiten und dem dazugehörigen Support bekommt Ihr bei Interesse hier.

    • Official Post

    Die Meldung besagt nur das in der global.php in Zeile 9 eine Leerzeile ist die da nicht hin gehört.

  • Ok, dann wäre das ja auch geklärt. Aber wie entsteht so eine Leerzeile ohne fremdes Zutun?





    Gruß norse

    Zugang zu meinen Arbeiten und dem dazugehörigen Support bekommt Ihr bei Interesse hier.

  • Der Hoster hat das Problem beseitigt. Jetzt haben wir zwar eine neue Fehlermeldung und müssen noch ein Support-Ticket schreiben, aber wenigstens sind die 50 Fehlermeldungen jetzt weg xD
    Danke für die Ratschläge! :)

  • 502 Bad Gateway nginx/1.6.2
    sobald man ein Topic öffnen möchte. Startseite und Übersichten über die Threads funktionieren, nur eben das Öffnen nicht.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!