Author Topic: Strict Standards: date()  (Read 4774 times)

0 Members and 1 Guest are viewing this topic.

Offline Thomas12

  • Pre-Newbie
  • Posts: 9
    • View Profile
Strict Standards: date()
« on: October 02, 2013, 11:01:27 PM »
Moin zusammen,

ich bekomme die folgende Fehlermeldung, bin mir aber nicht sicher, wer sie verursacht. Entweder die Galerie oder aber der installierte Style. Ich suche die Datei, die den Fehler verursacht.

Quote
Strict Standards: 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 /xxx/galerie/includes/template.php(101) : eval()'d code on line 96
 02.10.2013, 22:50

Link zum Problem: http://www.diegurken.com/galerie/index.php

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: Strict Standards: date()
« Reply #1 on: October 02, 2013, 11:30:13 PM »
Danke Harald




Offline Thomas12

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Strict Standards: date()
« Reply #2 on: October 03, 2013, 12:21:53 AM »
Das hilft mir aber immer noch nicht weiter. Ich will diese Fehlermeldung loswerden. Dafür müsste ich die Funktion in einem der Templates ausknipsen. Jetzt wäre ja nur die Frage in welchem.

Rembrandt

  • Guest
Re: Strict Standards: date()
« Reply #3 on: October 03, 2013, 05:10:21 AM »
Hi!
... . Jetzt wäre ja nur die Frage in welchem.
suche in der home, categories, details.html, e.t.c.:
Code: [Select]
                 <p align="center">
                    <?php
                    
echo date("d.m.Y, H:i"); 
 ?>

                  </p>

mfg Andi