Bonjour,
Je suis en train de tester la version Beta de Thelia v2.
Après avoir bien galéré pour installer intl sur MAMP, j'ai voulu créer des catégories, produits & co via l'interface d'admin.
La création de catégories et sous-catégories ne pose pas de problème.
Par contre, dès lors que je veux créer un produit, j'ai différents problèmes.
L'accès au formulaire d'update d'un produit (/admin/products/update?product_id=1) renvoie une page blanche.
Le code de la page est :
<html>
<head></head>
<body>
</body>
</html>
En affichant le php_error.log de MAMP, j'ai ceci :
[16-Dec-2013 17:12:10 Europe/Berlin] PHP Fatal error: Uncaught exception 'Symfony\Component\Form\Exception\TransformationFailedException' with message 'Expected a numeric.' in /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php:72
Stack trace:
#0 /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Form.php(1106): Symfony\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStringTransformer->transform('1 315.60')
#1 /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Form.php(387): Symfony\Component\Form\Form->normToView('1 315.60')
#2 /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php(62): Symfony\Component\Form\Form->setData('1 315.60')
#3 /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Form.php(923): Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(Array, in /Applications/MAMP/htdocs/adeva/core/vendor/symfony/form/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php on line 72
Le chiffre 1315.60 correspondrait en fait au résultat du prix du produit que j'ai indiqué (1100) auquel est appliqué à la TVA.
Avez-vous une idée de comment je peux résoudre ce problème ?
Merci
Ma conf :
PHP 5.5.3
intl : PECL-3.0.0 (ICU: 52.1)