Jump to content

Cannot open external URLs (requires allow_url_fopen as On


sonika.strydom@gmail

Recommended Posts

Hi,

I've tried everything possible to upload version 1.7.2.4

Get error that says "Cannot open external URLs (requires allow_url_fopen as On)" as per image attached.

I did the following:

1. Created a file php.ini with "allow_url_fopen = On" - NOT WORKING

Also created page phpinfo.php to see relevant info: http://www.calidris.co.za/phpinfo.php and shows allow_url_fopen = On

2. Changed settings in CPanel in php.ini file = allow_url_fopen = On - NOT WORKING

Kindly please assist.

Presta.PNG

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 2 months later...
  • 7 months later...
  • 6 years later...
On 11/12/2017 at 12:13 PM, sonika.strydom@gmail said:

Hi,

I did the following:

Also created page phpinfo.php to see relevant info: http://www.calidris.co.za/phpinfo.php and shows allow_url_fopen = On

2. Changed settings in CPanel in php.ini file = allow_url_fopen = On - NOT WORKING

Kindly please assist.

Presta.PNG

Hey friends,

I am answering to this post because there are still people who reach this problem from search engine and can not find the answer. 

Simply; the answer is in the question. 

According to Prestashop requirements, 'allow_url_fopen' parameter should be enabled in php. and 'short tag' should be closed. 

Here is the trick: 

  • Create a file in your root directory, eg: info.php 
  • Insert and save: <?php phpinfo(); ?> 
  • Visit domain . com/info.php. 
  • Here you will see which 'php version' and which 'php.ini' file is called. (Otherwise you'll make this change in a different php.ini file and it won't work.)
  • Make the above changes in this file. 
  • Reset services like Apache, PHPFMPEG and/or Nginx. 
  • Visit domain . com/info.php again. 

After these operations you should see the change. If the problem still persists, contact your hosting service provider.

Best

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