-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode mapping fallback #7
Comments
Hi @denysvitali, Thanks for reporting this. Is download always failing on This version of CLDR is pretty old, but Prestashop is locked with PHP 5.4 :( It's almost one in the morning where I leave, I'll try to install Prestashop tomorrow. |
Don't worry. I was able to reproduce this issue only on 1 of my 3 servers. I still haven't figured out exactly what the problem is, I'm running Prestashop in a Docker container, but I can reach the unicode json with wget / curl without any problem. Some references: |
I'm checking Prestashop's code and it appears they use their own CLDR mirror: https://github.com/PrestaShop/PrestaShop/pull/7597/files Do you have this code in your files? If not, maybe try to update. |
Yes, I do. Apparently Prestashop uses both yours and their own implementation. I don't really have an explanation for this |
Quick update: Sorry for this issue. |
I'm glad you found a way to fix your issue. On my side I tried to install Prestashop and everything went fine. I leave my Vagrantfile here for posterity:
|
Hello everyone,
I'm posting here for an issue I'm having with this library and PrestaShop v1.7+
Apparently the Prestashop devs have included your library in the installation process and many users are experiencing some problem with the
provide
function. Apparently, under certain conditions, thecodeMappings.json
file can't be downloaded, thus the installation fails.A workaround for this issue appears to be to provide the
codeMappings.json
file separately, I've personally fixed my issue by changing the function to this:I'm now providing the file here, just in case you can't reach unicode.org.
It will be nice if the file gets included directly in this repo
The error in PrestaShop is the following:
![screenshot from 2017-08-29 00-05-45](https://user-images.githubusercontent.com/4939519/29795808-271ae308-8c4e-11e7-8ec6-2a16edb52920.png)
The text was updated successfully, but these errors were encountered: