Page 1 of 1

allow_url_fopen

Posted: Thu Aug 26, 2021 5:21 pm
by mhsuffolk
1.0.7.0 PHP 7.4
My host made some changes this morning and now allow_url_fopen has disappeared and my admin complains. They have not changed my PHP version, it was at 7.4 already, but have changed the default from 5.6 to 7.4 to stop others using 5.6. Although the settings in the PHP version selector in cpanel show allow_url_fopen as ticked and the hosts have put an ini file in my root and an entry in the .htaccess file the site still complains.
When I export the server info file it shows allow_url_fopen=0 which I believe to be incorrect.
1. Any ideas why they cannot implement this?
2. What ceases to work on my site without allow_url_fopen

Re: allow_url_fopen

Posted: Fri Aug 27, 2021 11:03 am
by burt
1. No
2. I believe it would be the following;
a/ admin/certified_addons.php
b/ Latest Addons dashboard module
c/ ECB bank currency updater

Of those, the most important is "c".

Test it by opening the certified_addons.php page and see what shows?

Re: allow_url_fopen

Posted: Fri Aug 27, 2021 11:32 am
by mhsuffolk
Thanks @burt
Certified addons loads the page but it has no entries. Solution, look in the forum.
I only have one currency (GBP)so presumably do not need ECB
Stripe is working OK, what about PayPal. I have not had a PP yet. Could that be affected?

Re: allow_url_fopen

Posted: Fri Aug 27, 2021 12:02 pm
by burt
If you have a copy of your site stored somewhere, search it (eg using grepwin) for this:

simplexml_load_file

Any file that has this piece of text will not work anymore.

This was updated somewhere about 1.0.8.0 to not rely on simplexml (and therefore not need allow_url_fopen)...

Re: allow_url_fopen

Posted: Fri Aug 27, 2021 12:08 pm
by mhsuffolk
Done that. You are spot on with your list with the addition of latest news.
Thank you again, I can ignore the nagging now.

Re: allow_url_fopen

Posted: Fri Aug 27, 2021 12:17 pm
by mhsuffolk
Having taken over 24 hours to investigate, moments after my last post, my host cured the problem.
The speed of the internet!!