Jump to content

file_get_contents_curl failed to download http://api.prestashop.com/xml/tab_modules_list_17.xml : (error code 7) Failed to connect to api.prestashop.com port 80: Connection refused


immortal_x
 Share

Recommended Posts

Hi

After i cleared cache i got this error only in my back-office (file_get_contents_curl failed to download http://api.prestashop.com/xml/tab_modules_list_17.xml : (error code 7) Failed to connect to api.prestashop.com port 80: Connection refused) but the front-office is working fine, i deleted the files from cache but it's same and also i modified these 2 lines which i found in github:

curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 150);

curl_setopt($curl, CURLOPT_TIMEOUT, intval($curl_timeout) + 50); in tools.php and always the same problem.

Prestashop version 1.7.6.6

PHP version: 7.2

Thank you

 

 

 

Screenshot 2021-12-07 004417.png

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More