allow_url_fopen

Open to all! Ask other shopowners for help.
Post Reply
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

allow_url_fopen

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: allow_url_fopen

Post 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?
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: allow_url_fopen

Post 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?
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: allow_url_fopen

Post 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)...
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: allow_url_fopen

Post 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.
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: allow_url_fopen

Post by mhsuffolk »

Having taken over 24 hours to investigate, moments after my last post, my host cured the problem.
The speed of the internet!!


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply