Server check error - url_fopen The url_fopen property is disabled ....

Post Reply
User avatar
i_fiorentino
Language Admin
Language Admin
Posts: 82
Joined: Sun Aug 27, 2017 11:31 pm
Location: Pistoia, Tuscany, IT
Station model: Davis Vantage Vue
Software: Weather Display
Contact:

Server check error - url_fopen The url_fopen property is disabled ....

Post by i_fiorentino » Fri Jan 12, 2018 6:03 pm

Hi Jachym,
i'm installing a new copy of meteotemplate on this new domain: http://www.meteoponsacco.it

Once i've pushed "Server check" i've this error:
url_fopen
The url_fopen property is disabled in your PHP settings file. This needs to be enabled in order to be able to read files.

Do you know how to fix this in my host cpanel?
Thank you so much.
Regards,


Alessandro

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by jay_hoehn » Fri Jan 12, 2018 6:27 pm

Alessandro,

On your server you should find a file called php.ini. in that file there is a line that reads allow_url_fopen = off. Change the off to on and save the file. That should take care of the problem.

Jay

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by John B » Sat Jan 13, 2018 12:22 am

Allesandro,

If you are using C-Panel: Go to "Software" and select "Select PHP Version". Once that appears look to the top right. You should see an option "Switch to PHP Options". Click on that and you will see a list. The very first one is the option to turn on and off the "allow_url_fopen switch".

Regards,
John

User avatar
i_fiorentino
Language Admin
Language Admin
Posts: 82
Joined: Sun Aug 27, 2017 11:31 pm
Location: Pistoia, Tuscany, IT
Station model: Davis Vantage Vue
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by i_fiorentino » Sat Jan 13, 2018 2:54 pm

Thanks for reply!

I've followed your instructions but i've this error:

Warning: Changing php modules and php options via PHP Selector for native php version is impossible

Any ideas?
Thanks in advance.
Regards,



Alessandro

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by jay_hoehn » Sat Jan 13, 2018 4:10 pm

This sounds like your host doesn't allow allow_url_fopen = on. Call them and ask.

Jay

User avatar
i_fiorentino
Language Admin
Language Admin
Posts: 82
Joined: Sun Aug 27, 2017 11:31 pm
Location: Pistoia, Tuscany, IT
Station model: Davis Vantage Vue
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by i_fiorentino » Sat Jan 13, 2018 6:04 pm

jay_hoehn wrote: Sat Jan 13, 2018 4:10 pm This sounds like your host doesn't allow allow_url_fopen = on. Call them and ask.

Jay
Ok, thank you so much.
Regards,


Alessandro

hankster
Observer
Observer
Posts: 14
Joined: Sun Dec 10, 2017 2:23 pm
Location: SW Florida USA
Station model: Weather Flow
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by hankster » Sat Jan 13, 2018 6:44 pm

Try this. In the directory you have Meteotemplate installed upload a file named .user.ini (dot user dot ini) It should be uploaded as a text file (ascii)

In the file should be

allow_url_fopen = On

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by Jachym » Sat Jan 13, 2018 8:15 pm

Thanks guys for helping out

User avatar
i_fiorentino
Language Admin
Language Admin
Posts: 82
Joined: Sun Aug 27, 2017 11:31 pm
Location: Pistoia, Tuscany, IT
Station model: Davis Vantage Vue
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by i_fiorentino » Sat Jan 13, 2018 8:18 pm

hankster wrote: Sat Jan 13, 2018 6:44 pm Try this. In the directory you have Meteotemplate installed upload a file named .user.ini (dot user dot ini) It should be uploaded as a text file (ascii)

In the file should be

allow_url_fopen = On
Unfortunately i've the same error from server :(
Thanks anyway!

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Server check error - url_fopen The url_fopen property is disabled ....

Post by John B » Sat Jan 13, 2018 9:55 pm

Sorry, Alessandro, I have run out of ideas. Jay's suggestion to contact your site host and ask if they can turn on the switch seems to be your only option other than finding a new host.

Some free hosting sites do put some limitations on their customers, but I would have thought (I am no expert) that a paid-site host would have the option. Maybe I just got lucky (I had the same problem when installing Jáchym's masterpiece) with my choice of - cheap - host.

Post Reply