fyahball Posted September 9, 2016 Share Posted September 9, 2016 Hi Guys I have just installed new PrestaShop 1.6.1.7 and can not connect to PrestaShop Addons. I have double checked on my shared server that allow_url_fopen = On is in php.ini. Still not able to connect, windows keep poping saying i should enable it. While 1-Click-Upgrade module is showing me this: efore starting the upgrade process, please make sure this checklist is all green. The 1-click upgrade module is up-to-date (your current version is v1.6.7) Your store's root directory is writable (with appropriate CHMOD permissions) PHP's "Safe mode" option is turned off PHP's "allow_url_fopen" option is turned on, or cURL is installed Your store is in maintenance mode PrestaShop's caching features are disabled PHP's max_execution_time setting has a high value or is disabled entirely (current value: unlimited) Please also make sure you make a full manual backup of your files and database. Thank you in advance for your help. Link to comment Share on other sites More sharing options...
bellini13 Posted September 10, 2016 Share Posted September 10, 2016 do you have any overrides or updates to core files that prevent communication to prestashop servers? 1 Link to comment Share on other sites More sharing options...
selectshop.at Posted September 12, 2016 Share Posted September 12, 2016 Perhaps on your server there is a firewall running (fai2ban, for ex.). Contact your provider for this and ask. You also tried to read phpinfo.php ? Perhaps you set the value on your ini-file, but server does not allow to change that or php module is not installed on server. Link to comment Share on other sites More sharing options...
fyahball Posted September 12, 2016 Author Share Posted September 12, 2016 Hi bellini13 and selectshop.at Thank you for replayin back. On 1.6.1.6 fresh installation i was able to connect with no issues. Then 1.6.1.7 published so i removed 1.6.1.6 prestashop via cpanel, and installed fresh new version of prestashop. There are no updates or overrides to core files which could prevent communication to servers. Since is outbox installation. do you have any overrides or updates to core files that prevent communication to prestashop servers? @selectashop.at i will try and read phpinfo to see which file is prestashop now looking at. It's funny because until 1.6.1.7 i was able to connect to presta addons module with out any issue. Nothing has been changed on name.com where my domains are hosted. Link to comment Share on other sites More sharing options...
selectshop.at Posted September 12, 2016 Share Posted September 12, 2016 @selectashop.at i will try and read phpinfo to see which file is prestashop now looking at. It's funny because until 1.6.1.7 i was able to connect to presta addons module with out any issue. Nothing has been changed on name.com where my domains are hosted. This seems to be exact a problem of a firewall, which is denying access to Prestashop's IP. Ask your provider to add these IP's to whitelist. In fact it is not an allow_url_fopen problem in this case... Link to comment Share on other sites More sharing options...
DRMasterChief Posted January 3, 2017 Share Posted January 3, 2017 Hi, just wondering what is the benefit when i change my webspace to allow_url_fopen ? Is this absolutely necessary to create an smooth and stable working Prestashop 1.7.3 ? thank you for your ideas Link to comment Share on other sites More sharing options...
bellini13 Posted January 3, 2017 Share Posted January 3, 2017 Hi, just wondering what is the benefit when i change my webspace to allow_url_fopen ? Is this absolutely necessary to create an smooth and stable working Prestashop 1.7.3 ? thank you for your ideas http://phpsec.org/projects/phpsecinfo/tests/allow_url_fopen.html It safer to leave it off, but there are good reasons to enable it too. It really comes down to how trusting you are that the programs/code that use it will do so safely. Link to comment Share on other sites More sharing options...
DRMasterChief Posted January 4, 2017 Share Posted January 4, 2017 ok thank you, i will try it with on and off, i can change this very fast and can see the changes if they affect anything in backend. Link to comment Share on other sites More sharing options...
bellini13 Posted January 4, 2017 Share Posted January 4, 2017 I would suggest leaving it off, until you find a specific need to turn it on. Then only turn it on briefly for what you need, and then disable it again. There is typically no need to leave it on. Link to comment Share on other sites More sharing options...
Guest pietropavangmail Posted April 8, 2017 Share Posted April 8, 2017 I am running Prestashop 1.6.1.11 I am new here. I am getting the same error message: If you want to be able to fully use the AdminModules panel and have free modules available, you should enable the following configuration on your server: - Enable PHP's allow_url_fopen setting I am using cPanel to access my server and I already wrote to my service provider, waiting for an answer... I have checked on cPanel and the allow_url_fopen is was disable and I enable it but keep getting the same error message... I checked everywhere on cPanel but cannot see any firewall information... Really stuck on this... Link to comment Share on other sites More sharing options...
Guest pietropavangmail Posted April 8, 2017 Share Posted April 8, 2017 this is the reply from my webhost support I can see that allow_url_fopen is enabled for your Prestashop installation. Please see the screen-shot attached. You can also confirm it by visiting the link http://xxxxxx.com/PRESTASHOP/info.php on your browser.Please be informed that allow_url_fopen cannot be enabled server wide, as your account is hosted on a shared server and this may affect other accounts in the server. However, it is enabled for your Prestashop. If you still face any issues, please get back to us with the exact steps you have followed to recreate the issue so that we can recreate the same issue from our end and troubleshoot it. is the problem because my website is running on a shared server ? Link to comment Share on other sites More sharing options...
bellini13 Posted April 9, 2017 Share Posted April 9, 2017 the host said its enabled for your account, then you should not receive an error saying its disabled. Link to comment Share on other sites More sharing options...
Guest pietropavangmail Posted April 9, 2017 Share Posted April 9, 2017 the problem is that i keep receiving that error message, i just bought the basic support with Prestashop, hope they will be able to fix it... Link to comment Share on other sites More sharing options...
bellini13 Posted April 10, 2017 Share Posted April 10, 2017 I'm not convinced this is a PS issue. Did you ask your hosting company for proof that it is properly enabled? Research phpinfo and review it, it will tell you if it is enabled or not Link to comment Share on other sites More sharing options...
jetway Posted April 10, 2017 Share Posted April 10, 2017 (edited) I do not believe its a PS issue either. Actually most Hosting Providers have this feature disabled as default. Depending on the host you can enabled it in the control panel yourself or check your phpinfo as bellini13 has suggested. In your case I am pretty sure it is not operational. Edited April 10, 2017 by jetway (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 10, 2017 Share Posted April 10, 2017 I don't hink it is a problem of the module allow_URL_fopen. I'm still convinced that your server is using a firewall blocking Prestashop's IP's. Your provider should check. This seems to be exact a problem of a firewall, which is denying access to Prestashop's IP. Ask your provider to add these IP's to whitelist. In fact it is not an allow_url_fopen problem in this case... Link to comment Share on other sites More sharing options...
ScarabExcel Posted November 30, 2018 Share Posted November 30, 2018 I'm having the same issue and still looking for a solution. Has anyone ever resolved it? We've had allow_URL_fopen turned on for at least a year or so, and now unable to connect our shop to PS or use an add-on module we'd like to use. Provider can't find IP's to whitelist, so I'm hoping someone knows what the fix might be. Link to comment Share on other sites More sharing options...
ScarabExcel Posted November 30, 2018 Share Posted November 30, 2018 allow_URL_fopen is confirmed, it's turned on. Link to comment Share on other sites More sharing options...
ScarabExcel Posted March 28, 2019 Share Posted March 28, 2019 How would I go about determining Prestashop's IP address(es)? If it is a firewall issue, then I would need the IP's to see if they are blocked. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now