В последнее время я не могу установить PrestaShop 1.6.1.18 (или 1.6.1.17).
Я получаю эту ошибку на последнем этапе установки:
PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Currency->decimals is not valid' in */classes/ObjectModel.php:917
Я почти уверен, что это работало раньше, и я не думаю, что я что-то менял в своей конфигурации.
PrestaShop версии 1.6.1.x PHP версии 5.6
Значение Property Currency->decimals - это 2, и он пытается проверить его как логическое, что может быть причиной ... но я не понимаю, почему он работал раньше.






То же самое для меня. Я решил это с помощью этого сообщения: https://www.prestashop.com/forums/topic/743719-php-fatal-error-property-currency-decimals-is-not-valid/:
I don't know which localization are you trying to install, i was installing the Italian pack. I think that Prestashop made some change to its localization files (in a wrong way), because if you go to http://api.prestashop.com/localization/16/it.xml (it's the file that presta try to import during the installation process), you can see that 'decimals' field is set to 2, that causes the error.
However after the first installation attempt, prestashop should copy this file in cache in order to use it next times, so try to go to /cache/sandbox/ and see if there is a file named 16{your_localization_iso}.xml and, if it exists, modify the currency line changing decimals form 2 to 1. It should fix the problem.
Итак, это временная проблема с загрузкой языковых пакетов из Prestashop во время установки.
Мерси!
Итак, в чем ценность
Property Currency->decimals...?