BenLivingston Posted June 1, 2013 Share Posted June 1, 2013 (edited) I submitted an error report here. This is the same issue as PSCFI-5848, and it was resolved in the 1.4 branch after it forked to 1.5. The Hong Kong localization pack can not be installed because the variable decimals=2 needs to be decimals=1. I updated my local version, but the installer prefers to grab the file remotely. Compare: Bad PrestaShop 1.5 version Good PrestaShop 1.4 version To work around this, in classes/LocalizationPack.php line 258 says: $currency->decimals = (int)$attributes['decimals']; After that, add: // Hong Kong language pack temp bug fix */ if ($currency->iso_code == 'HKD') $currency->decimals = 1; Edited June 1, 2013 by BenLivingston (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2013 Share Posted June 1, 2013 hello, thanks for your solution, im convinced that it will be really helpful for: http://www.prestashop.com/forums/topic/250049-solved-1541-an-error-occured-during-installation/page__fromsearch__1 - the same issue as your many many thanks! Link to comment Share on other sites More sharing options...
Recommended Posts