Jump to content

ICanBoogie\\CLDR\\ResourceNotFound Prestashop 1.7.0.1


Recommended Posts

Hi everybody,

i have trouble to install prestashop 1.7.0.1. I get the follow message at the installprocess (Shopconfiguration):

[Fri Dec 02 13:17:20.200203 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: PHP Fatal error:  Uncaught exception 'ICanBoogie\\CLDR\\ResourceNotFound' with message 'Path not defined: supplemental/codeMappings.' in /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/WebProvider.php:77, referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200316 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: Stack trace:, referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200333 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #0 /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\\CLDR\\WebProvider->provide('supplemental/co...'), referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200350 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #1 /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\\CLDR\\FileProvider->provide('supplemental/co...'), referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200369 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #2 /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/Repository.php(124): ICanBoogie\\CLDR\\RunTimeProvider->provide('supplemental/co...'), referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200385 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #3 /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/Supplemental.php(95): ICanBoogie\\CLDR\\Repository->fetch('supplemental/co...'), referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200401 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #4 /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/src/Core/Cldr/Repository.php(296): ICanBoogie\\CLDR\\Supplemental->offsetGet('codeMappings'), referer: http://presta17.<MY_DOMAIN>/install/index.php
[Fri Dec 02 13:17:20.200441 2016] [fcgid:warn] [pid 13512] [client <MY_IP>:53411] mod_fcgid: stderr: #5  in /var/www/vhosts/<MY_DOMAIN>/presta17.<MY_DOMAIN>/vendor/icanboogie/cldr/lib/WebProvider.php on line 77, referer: http://presta17.<MY_DOMAIN>/install/index.php

My system is an "Ubuntu 14.04.4 LTS" with plesk-support. I have tried to setup the host with many php-versions, but allways i get the same error.

What can i do?

Regards

Link to comment
Share on other sites

Hi all,

 

I have the same problem trying to install Prestashop 1.7.0.1 in CenOS 6.2 with Plesk 12.5.30:

 

Se ha producido un error durante la instalación...

Puedes utilizar los enlaces que se encuentran en la columna de la izquierda para volver a los pasos anteriores, o también reiniciar el proceso de instalación haciendo clic aquí.

  1. 1: HTTP 200 - parsererror - Fatal error: Uncaught exception 'ICanBoogie\CLDR\ResourceNotFound' with message 'Path not defined: supplemental/codeMappings.' in /httpdocs/vendor/icanboogie/cldr/lib/WebProvider.php:77 Stack trace: #0 /httpdocs/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\WebProvider->provide('supplemental/co...') #1 /httpdocs/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\FileProvider->provide('supplemental/co...') #2 /httpdocs/vendor/icanboogie/cldr/lib/Repository.php(124): ICanBoogie\CLDR\RunTimeProvider->provide('supplemental/co...') #3 /httpdocs/vendor/icanboogie/cldr/lib/Supplemental.php(95): ICanBoogie\CLDR\Repository->fetch('supplemental/co...') #4 /httpdocs/src/Core/Cldr/Repository.php(296): ICanBoogie\CLDR\Supplemental->offsetGet('codeMappings') #5 /var/www/vhosts/francilienne2f in /httpdocs/vendor/icanboogie/cldr/lib/WebProvider.php on line 77

Any idea how to fix this problem???

Many thanks in advance.

Jorge

Link to comment
Share on other sites

Today, i have tried it with:
 

PHP 5.5.38 (FastCGI)

PHP 5.5.38 (FPM by Apache)

PHP 5.5.38 (FPM by Nginx)
 

PHP 5.5.9 (FastCGI)

PHP 5.5.9 (FPM by Apache)

PHP 5.5.9 (FPM by Nginx)
 

PHP 5.6.28 (FastCGI)

PHP 5.6.28 (FPM by Apache)

PHP 5.6.28 (FPM by Nginx)

 

PHP 7.0.13 (FastCGI)

PHP 7.0.13 (FPM by Apache)

PHP 7.0.13 (FPM by Nginx)

Plesk-Firewall deactived; Look file permission; all done...but nothing run.

Has anyone an idea?

Regards

Link to comment
Share on other sites

Hi,

 

now it works. I have installed over the rainbow  :D *joke*. I installed it with the commandline and after that, it will run. That is enough for me because i have develop ab 1.6 module and i want to test it with 1.7.

Thanks & regards

Link to comment
Share on other sites

Now i have trouble with products, currencies and and and...Sorry, Prestashop i can not use 1.7 for LIVE-System or to check my module in 1.7...I have develop a module for 1.6.x and now my customer ask if my module will run under 1.7. What i say to this customer, when prestashop sayed 1.7 is stable? It isn't!!!

Sorry, i'am not a beginner in development and install software. I do this since 1990; php since 1998; but i never see this shit at a version that ist "stable" for download on Prestashop....

Hello Prestashop; how you say it is stable? It isn't stable...I have installed the 1.7 now for many times; but i have always the same trouble with "ICanBoogie"...

I will come back in many years...Now i say to my customers; look at shopware5.2 and move your shop. Shopware has bugs, too, but 1.7 is not for use in LIVE-System...My customers need my module for german law..but if 1.7 isn't running, they wan't to use an other shopsystem, so that my plugin is running. I develop my plugin/module for many other shopsystem (modern and older) and its running. Now i look at a new software version and it doesn't work... :wacko: 

I can not spend more time to install a buggy shop, that crashed at the installation or in the backend when i add a product or wan't to change currencies and other thing...


 

Bye Bye 1.7....it is crazy! Or am I in an experimental institution?  :wacko:

Edited by [email protected] (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

i have the same Problem/Error. Can someone please help? It is not possible to install the 1.7 Version. We wanted to upgrade our store to 1.7. We also can provide log Information if you want. Now the Christmas time is over we want to upgrade our store to the new 1.7 Version

 

Thanx

Link to comment
Share on other sites

1.7.0.5 is not working on my system.
 

PHP 5.5.38 (FastCGI)

PHP 5.5.38 (FPM by Apache)

PHP 5.5.38 (FPM by Nginx)
 

PHP 5.5.9 (FastCGI)

PHP 5.5.9 (FPM by Apache)

PHP 5.5.9 (FPM by Nginx)
 

PHP 5.6.28 (FastCGI)

PHP 5.6.28 (FPM by Apache)

PHP 5.6.28 (FPM by Nginx)

 

PHP 7.0.13 (FastCGI)

PHP 7.0.13 (FPM by Apache)

PHP 7.0.13 (FPM by Nginx)

PLESK 12.5.30 / Ubuntu

What can i do, that i can use Prestashop 1.7. I didn't have soooo many time for debug anytime and after that i can't use the shop. I use install per browser or cli; nothing; always the same error...

I' am the only man at the world with PLESK/Ubuntu with this problems?

Regards
 

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

After looking problem with PrestaShop team, the problem seems to come from : /vendor/icanboogie/cldr/lib/WebProvider.php

This PHP Script load file from unicode.org (http://www.unicode.org/repos/cldr-aux/json/26/supplemental/codeMappings.json) through cURL... but the website unicode.org has security system with IP blacklist system in case of too much download.

 

So I don't know why, but I think we have been blacklisted by this website...

 

The solution is to change $origin in the file and replace by your URL to load local file.

 

I don't know why PrestaShop do this... If one day unicode close or just change url of this file, nobody will be able to install PS...

 

Regard

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I tried to replace

         public function __construct($origin="http://www.unicode.org/repos/cldr-aux/json/26/")
to
         public function __construct($origin="http://127.0.0.1/translations/cldr/datas/")
in file
        /var/www/html/vendor/icanboogie/cldr/lib/WebProvider.php
but it didn't fix the issue.

The cause was in proxy. It works when I run docker with proxy in environment:
       docker run -ti --name some-prestashop -e http_proxy=http://proxy.company:3128/ -e https_proxy=http://proxy.company:3128/ -p 8080:80 -d prestashop/prestashop:1.7.1.0

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.
1: HTTP 500 - error - PHP Fatal error: Uncaught ICanBoogie\CLDR\ResourceNotFound: Path not defined: supplemental/codeMappings. in C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\WebProvider.php:77 Stack trace: #0 C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\ProviderChainTrait.php(43): ICanBoogie\CLDR\WebProvider->provide('supplemental/co...') #1 C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\ProviderChainTrait.php(43): ICanBoogie\CLDR\FileProvider->provide('supplemental/co...') #2 C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\Repository.php(124): ICanBoogie\CLDR\RunTimeProvider->provide('supplemental/co...') #3 C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\Supplemental.php(95): ICanBoogie\CLDR\Repository->fetch('supplemental/co...') #4 C:\inetpub\wwwroot\prestashop\prestashop\src\Core\Cldr\Repository.php(301): ICanBoogie\CLDR\Supplemental->offsetGet('codeMappings') #5 C:\inetpub\wwwroot\prestashop\prestashop\src\Core\Cldr\Repository.php(226) in C:\inetpub\wwwroot\prestashop\prestashop\vendor\icanboogie\cldr\lib\WebProvider.php on line 77

Same issue with the last version 1.7.1.

Link to comment
Share on other sites

Same for me.

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

  1. 1: HTTP 200 - parsererror - 
    Fatal error: Uncaught ICanBoogie\CLDR\ResourceNotFound: Path not defined: supplemental/codeMappings. 

Prestashop v1.7.1.1

Edited by roberto.rios (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Same... ps 1.7.1.1 install on local wamp and :

 

Fatal error: Uncaught exception 'ICanBoogie\CLDR\ResourceNotFound' with message 'Path not defined: supplemental/codeMappings.' in C:\wamp30\www\prestashop_1.7.1.1\vendor\icanboogie\cldr\lib\WebProvider.php on line 77

 

 

SOLVED:

 

This is a lib from symfony that retrieve resources from internet via curl... i'm behind a proxy with authentication

I need set the proxy  credentials in curl values ...

 

In prestashop_1.7.1.1\vendor\icanboogie\cldr\lib\WebProvider.php

 

public function provide($path)
{
$connection = $this->obtain_connection();
 
curl_setopt($connection, CURLOPT_URL, $this->origin . $path . '.json');
/* add */
curl_setopt($connection, CURLOPT_PROXY, 'url_proxy');
curl_setopt($connection, CURLOPT_PROXYUSERPWD, 'user:pass');

 

 

In resume: check your internet connection

Edited by madalien (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Hi,

 

I'm the author of the CLDR package and I've been alerted with a problem regarding downloading files by an issue opened yesterday on GitHub. First of all, sorry for any inconvenience caused. I was not aware of any rate limitation on the Unicode repository. I've been using this package in many different projects and this error was never reported before. Inspecting Prestashop code I see an update was made to use Prestashop own mirror:

 

https://github.com/PrestaShop/PrestaShop/pull/7597/files

 

For instance codeMappings is now downloaded from the following URL:

 

http://i18n.prestashop.com/cldr/json-full/supplemental/codeMappings.json

 

Please check your files, and if you are using an older version, upgrade.

 

v1.3.9 of my CLDR package is quite old now but Prestashop is locked with PHP 5.4 and my library require PHP 5.5 starting from v1.4.0.

 

I hope this helps.

  • Like 1
Link to comment
Share on other sites

Hi,

 

I'm the author of the CLDR package and I've been alerted with a problem regarding downloading files by an issue opened yesterday on GitHub. First of all, sorry for any inconvenience caused. I was not aware of any rate limitation on the Unicode repository. I've been using this package in many different projects and this error was never reported before. Inspecting Prestashop code I see an update was made to use Prestashop own mirror:

 

https://github.com/PrestaShop/PrestaShop/pull/7597/files

 

For instance codeMappings is now downloaded from the following URL:

 

http://i18n.prestashop.com/cldr/json-full/supplemental/codeMappings.json

 

Please check your files, and if you are using an older version, upgrade.

 

v1.3.9 of my CLDR package is quite old now but Prestashop is locked with PHP 5.4 and my library require PHP 5.5 starting from v1.4.0.

 

I hope this helps.

Thanks, but Im affraid this is also not working.

Why PrestaShop is locked on that old PHP version?

Link to comment
Share on other sites

Now i have trouble with products, currencies and and and...Sorry, Prestashop i can not use 1.7 for LIVE-System or to check my module in 1.7...I have develop a module for 1.6.x and now my customer ask if my module will run under 1.7. What i say to this customer, when prestashop sayed 1.7 is stable? It isn't!!!

 

Sorry, i'am not a beginner in development and install software. I do this since 1990; php since 1998; but i never see this shit at a version that ist "stable" for download on Prestashop....

 

Hello Prestashop; how you say it is stable? It isn't stable...I have installed the 1.7 now for many times; but i have always the same trouble with "ICanBoogie"...

 

I will come back in many years...Now i say to my customers; look at shopware5.2 and move your shop. Shopware has bugs, too, but 1.7 is not for use in LIVE-System...My customers need my module for german law..but if 1.7 isn't running, they wan't to use an other shopsystem, so that my plugin is running. I develop my plugin/module for many other shopsystem (modern and older) and its running. Now i look at a new software version and it doesn't work... :wacko: 

 

I can not spend more time to install a buggy shop, that crashed at the installation or in the backend when i add a product or wan't to change currencies and other thing...

 

 

 

Bye Bye 1.7....it is crazy! Or am I in an experimental institution?  :wacko:

Strongly agree. In fact all PrestaShop thing is one, huge joke.....who the hell are core devs? Or isnt there any core team and whole thing is mystification? Piece of shit. Stay away from PrestaShop.

Link to comment
Share on other sites

The error reported on my issue list was actually related to Google DNS configuration:

 

https://github.com/ICanBoogie/CLDR/issues/7

 

Still, I wanted to see for myself so I created a Vagrant machine to test the installation process. Although the installation script could be do a better job with missing PHP extensions, it was super easy to install the application and I was done in 3 minutes. Here is the Vagrantfile I created:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/xenial64"
  config.vm.network "private_network", ip: "192.168.33.10"
  config.vm.provision "shell", inline: <<-SHELL
    apt-get update
    debconf-set-selections <<< "mysql-server mysql-server/root_password password password"
    debconf-set-selections <<< "mysql-server mysql-server/root_password_again password password"
    apt-get install apache2 libapache2-mod-php mysql-server php php-mysql php-zip php-xml php-gd php-curl php-intl -y
    a2enmod rewrite
    cp /vagrant/* /var/www/html/
    rm /var/www/html/index.html
    chown www-data:www-data /var/www/html
    service apache2 restart
  SHELL
end

Link to comment
Share on other sites

  • 4 months later...

Hello,

It may help others. I fixed this issue on my side by checking vm’s network configuration. I’m running prestashop in a docker and it was unable to access the internet, because of a corporate proxy on my side. After passing http_proxy env to Docker, everything went well during the installation.

Thanks, and keep up the good work :)

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

prestashop_1.7.2.5 & XAMPP 7.0.0 [PHP: 7.0.0]

1: HTTP 200 - parsererror in \vendor\icanboogie\cldr\lib\WebProvider.php
$this->origin=http://i18n.prestashop.com/cldr/json-full/
$path=supplemental/codeMappings
curl_getinfo=Array(
    => http://i18n.prestashop.com/cldr/json-full/supplemental/codeMappings.json
    [content_type] =>
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 20.203
    [namelookup_time] => 0
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => -1
    [starttransfer_time] => 0
    [redirect_time] => 0
    [redirect_url] =>

curl_error=Failed to connect to i18n.prestashop.com port 80: Timed out

tried this:

public function provide($path) {

$connection = $this->obtain_connection();
        curl_setopt($connection, CURLOPT_TIMEOUT, 600);
        curl_setopt($connection, CURLOPT_CONNECTTIMEOUT, 0);

curl_setopt($connection, CURLOPT_URL, $this->origin . $path . '.json');               
        $rc = curl_exec($connection);
:still timeout
measured $connection time with microtime ~17s
this happens on slow install environments.

ugly solution was:
 if ($this->origin == "http://i18n.prestashop.com/cldr/json-full/") {
            $this->origin = 'https://www.unicode.org/repos/cldr-aux/json/26/';
        }
//to get rid: curl_error=SSL certificate problem: unable to get local issuer certificate
 curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, false);

Edited by T74 (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Good morning,

 

I have the same problem. 

 

1: HTTP 200 - parsererror -
Fatal error: Uncaught exception 'ICanBoogie\CLDR\ResourceNotFound' with message 'Path not defined: supplemental/codeMappings.' in /var/www/html/prestashop/vendor/icanboogie/cldr/lib/WebProvider.php:77 Stack trace: #0 /var/www/html/prestashop/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\WebProvider->provide('supplemental/co...') #1 /var/www/html/prestashop/vendor/icanboogie/cldr/lib/ProviderChainTrait.php(43): ICanBoogie\CLDR\FileProvider->provide('supplemental/co...') #2 /var/www/html/prestashop/vendor/icanboogie/cldr/lib/Repository.php(124): ICanBoogie\CLDR\RunTimeProvider->provide('supplemental/co...') #3 /var/www/html/prestashop/vendor/icanboogie/cldr/lib/Supplemental.php(95): ICanBoogie\CLDR\Repository->fetch('supplemental/co...') #4 /var/www/html/prestashop/src/Core/Cldr/Repository.php(301): ICanBoogie\CLDR\Supplemental->offsetGet('codeMappings') #5 /var/www/html/prestashop/src/Core/Cldr/Repository.php(226): PrestaShop\PrestaShop\Core\Cldr\Repository->isCurrencyValid('EUR') #6 /var/www/html/ in /var/www/html/prestashop/vendor/icanboogie/cldr/lib/WebProvider.php on line 77

 

Whai is the soluce?

 

Thanks.

 

Arnayd

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...