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