Priscilla Posted February 21, 2018 Share Posted February 21, 2018 (edited) Hello everyone! I was wondering if anyone here has been able to create a Prestashop server with no external IP address so it can only be accessed through an internal IP. From what I have seen and tested, Prestashop has a dependency on internet access in order to successfully complete the initial set up. In src/Core/Cldr/Repository.php } $provider = new RunTimeProvider( - new FileProvider(new WebProvider, $this->cldrCacheFolder) + new FileProvider(new WebProvider('http://i18n.prestashop.com/cldr/json-full/'), $this->cldrCacheFolder) ); //if contextLanguage is define, set locale/region from it and src/Core/Cldr/Update.php */ class Update extends Repository { - const ZIP_CORE_URL = 'http://www.unicode.org/Public/cldr/26/json-full.zip'; + const ZIP_CORE_URL = 'http://i18n.prestashop.com/cldr/json-full.zip'; protected $newDatasFile = []; protected $oldUmask; From the GUI set-up and having debugging enabled, you will see this error: 1: HTTP 200 - parsererror - Fatal error: Uncaught ICanBoogie\CLDR\ResourceNotFound: Path not defined: supplemental/codeMappings. in /var/www/html/vendor/icanboogie/cldr/lib/WebProvider.php:77 Stack trace: #0 /var/www/html/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\WebProvider->provide('supplemental/co...') #1 /var/www/html/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\FileProvider->provide('supplemental/co...') #2 /var/www/html/vendor/icanboogie/cldr/lib/Repository.php(124): ICanBoogie\CLDR\RunTimeProvider->provide('supplemental/co...') #3 /var/www/html/vendor/icanboogie/cldr/lib/Supplemental.php(95): ICanBoogie\CLDR\Repository->fetch('supplemental/co...') #4 /var/www/html/src/Core/Cldr/Repository.php(301): ICanBoogie\CLDR\Supplemental->offsetGet('codeMappings') #5 /var/www/html/src/Core/Cldr/Repository.php(226): PrestaShop\PrestaShop\Core\Cldr\Repository->isCurrencyValid('USD') #6 /var/www/html/classes/Currency.php(135): PrestaShop\PrestaShop\Core\Cldr\Repository->getCurrency('USD') #7 /var/www/h in /var/www/html/vendor/icanboogie/cldr/lib/WebProvider.php on line 77 If anyone has suggestions for a workaround or has a workaround they can share or point me to, it would be greatly appreciated! I did a search in the forge and didn't see a feature request/bug for moving the json files in-line as opposed to hosting. Thank you! Edited February 21, 2018 by Priscilla (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now