Fehler 'Zend_Locale_Exception' with message 'Wrong format...

Hallo, ich bekomme bei einer Neuinstallation bei jedem Aufruf des Frontends einen internen Fehler. Im Shopware Log steht dann: "'Zend\_Locale\_Exception' with message 'Wrong format... missing 0' in engine/Library/Zend/Locale/Format.php:351" Das ist diese Stelle im Code: // Get format $format = $options['number\_format']; if ($format === null) { $format = Zend\_Locale\_Data::getContent($options['locale'], 'decimalnumber'); $format = self::\_seperateFormat($format, $value, $options['precision']); if ($options['precision'] !== null) { $value = Zend\_Locale\_Math::normalize(Zend\_Locale\_Math::round($value, $options['precision'])); } } else { // seperate negative format pattern when available $format = self::\_seperateFormat($format, $value, $options['precision']); if (strpos($format, '.')) { if (is\_numeric($options['precision'])) { $value = Zend\_Locale\_Math::round($value, $options['precision']); } else { if (substr($format, iconv\_strpos($format, '.') + 1, 3) == '###') { $options['precision'] = null; } else { $options['precision'] = iconv\_strlen(iconv\_substr($format, iconv\_strpos($format, '.') + 1, iconv\_strrpos($format, '0') - iconv\_strpos($format, '.'))); $format = iconv\_substr($format, 0, iconv\_strpos($format, '.') + 1) . '###' . iconv\_substr($format, iconv\_strrpos($format, '0') + 1); } } } else { $value = Zend\_Locale\_Math::round($value, 0); $options['precision'] = 0; } $value = Zend\_Locale\_Math::normalize($value); } if (iconv\_strpos($format, '0') === false) { iconv\_set\_encoding('internal\_encoding', $oenc); require\_once 'Zend/Locale/Exception.php'; throw new Zend\_Locale\_Exception('Wrong format... missing 0'); } Wenn ich einfach die Exception auskommentiere, wird das Fronend dargestellt, aber alle Preise haben keine Dezimalstellen und kein Währungssymbol mehr. Kennt das hier vielleicht jemand? Liegt es vielleicht irgendwie an Unix/PHP-Locale, wegen Dezimaltrenner ,/. ? Mein Stack Trace ist: [2015-01-07 00:14:07] core.ERROR: exception 'Zend\_Locale\_Exception' with message 'Wrong format... missing 0' in .../engine/Library/Zend/Locale/Format.php:351 Stack trace: #0 .../engine/Library/Zend/Currency.php(194): Zend\_Locale\_Format::toNumber(1307.81, Array) #1 .../engine/Library/Enlight/Template/Plugins/modifier.currency.php(60): Zend\_Currency-\>toCurrency(1307.81, Array) #2 .../cache/templates/frontend\_emotion\_lbo\_de\_DE\_1\_secure/69/69/a0/6969XXX44e9c266610159adf36348044d2e0.snippet.checkout\_actions.tpl.php(104): smarty\_modifier\_currency('1307.8100') #3 .../engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php(180): content\_54ac109eaXXX20249423(Object(Enlight\_Template\_Default)) #4 .../engine/Library/Smarty/sysplugins/smarty\_internal\_template.php(286): Smarty\_Internal\_TemplateBase-\>fetch(NULL, NULL, NULL, NULL, false, false, true) #5 .../cache/templates/frontend\_emotion\_lbo\_de\_DE\_1\_secure/60/8c/e0/608ceXXXe6a368deccb74c91dda5437.snippet.info.tpl.php(22): Smarty\_Internal\_Template-\>getSubTemplate('frontend/index/...', NULL, 'frontend\_emotio...', NULL, NULL, Array, 0) #6 .../engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php(180): content\_54ac109e887576\_31535950(Object(Enlight\_Template\_Default)) #7 .../engine/Library/Enlight/View/Default.php(273): Smarty\_Internal\_TemplateBase-\>fetch() #8 /.../engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(212): Enlight\_View\_Default-\>render(Object(Enlight\_Template\_Default)) #9 .../engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(238): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>renderTemplate(Object(Enlight\_Template\_Default)) #10 .../engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(136): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>render() ... Der Wert „1307.8100“ entspricht einem Produktpreis: 1307,81. # php -v PHP 5.3.27 (cli) (built: Feb 19 2014 14:07:08) Copyright © 1997-2013 The PHP Group Zend Engine v2.3.0, Copyright © 1998-2013 Zend Technologies with Xdebug v2.2.0, Copyright © 2002-2012, by Derick Rethans with Suhosin v0.9.33, Copyright © 2007-2012, by SektionEins GmbH OS ist Solaris 11. LG, Akira

Update: webservd@amp2:~$ locale LANG=de\_DE.UTF-8 LC\_CTYPE="de\_DE.UTF-8" LC\_NUMERIC="de\_DE.UTF-8" LC\_TIME="de\_DE.UTF-8" LC\_COLLATE="de\_DE.UTF-8" LC\_MONETARY="de\_DE.UTF-8" LC\_MESSAGES="de\_DE.UTF-8" LC\_ALL=

Das liegt in der Regel wohl an einer unvollständigen iconv-Installation. Siehe auch: https://bugs.php.net/bug.php?id=55204 In Solaris 11 hilft ein: root@amp2:~# pkg install unicode-core