Fehlermeldung mit Xampp 1.7.2 und Joomla 1.5.15

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

Fehlermeldung mit Xampp 1.7.2 und Joomla 1.5.15

Postby Grazioli » 24. November 2009 19:19

Hallo zusammen,

nach update von Xampp auf 1.7.2 steht im Frontend und Backand folgende Warnhinweise:

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/Paris' for '1.0/no DST' instead in H:\xampp\htdocs\domain\libraries\joomla\utilities\date.php on line 117


in dieser Stelle steht:
Code: Select all
      if (preg_match('~(\\d{4})-(\\d{2})-(\\d{2})[T\s](\\d{2}):(\\d{2}):(\\d{2})(.*)~', $date, $matches))
      {
         $this->_date = mktime(
            $matches[4], $matches[5], $matches[6],
            $matches[2], $matches[3], $matches[1]
         );
         if ($this->_date == false) {
            return;
         }
         if (isset($matches[7][0])) {
            if ($matches[7][0] == '+' || $matches[7][0] == '-') {
               $tzOffset = 60 * (
                  substr($matches[7], 0, 3) * 60 + substr($matches[7], -2)
               );
            } elseif ($matches[7] == 'Z') {
               $tzOffset = 0;
            }
         }
         $this->_date -= $tzOffset;
         return;
      }
        $this->_date = (strtotime($date) == -1) ? false : strtotime($date);
      if ($this->_date) {
         $this->_date -= $tzOffset;
      }
   }


Es liegen diverse Probleme mit Xampp 1.7.2 vor, diese fand ich unter Google!

Danke und Gruss
Grazioli
Grazioli
 
Posts: 23
Joined: 05. January 2006 19:42

Re: Fehlermeldung mit Xampp 1.7.2 und Joomla 1.5.15

Postby Dungeonwatcher » 25. November 2009 11:12

Moin! 8)

Grazioli wrote:nach update von Xampp auf 1.7.2 steht im Frontend und Backand folgende Warnhinweise:

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/Paris' for '1.0/no DST' instead in H:\xampp\htdocs\domain\libraries\joomla\utilities\date.php on line 117



Dies sollte die Lösung sein.

Bye
User avatar
Dungeonwatcher
 
Posts: 94
Joined: 15. August 2007 02:53
Operating System: XP


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 42 guests