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

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

Link to comment
Share on other sites

  • 4 months later...

Try deleting the "\dev" and "\prod" folders from the \var\cache path, it will probably solve the problem..., if you manage to enter, delete the cache from the backoffice to regenerate everything and also go to SEO, deactivate the friendly URL, save the changes and then activate them again and save the changes, this will regenerate the .htaccess which will not hurt. Luck!!!

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...