Weather by You!

Templates and Projects support => Php templates => Topic started by: samwarn on May 02, 2017, 08:53:15 PM

Title: WU Forecast Help
Post by: samwarn on May 02, 2017, 08:53:15 PM
Hi All,

I would like to add the WU Forecast page to my site. Unfortunately I am getting the following error message.

"Fatal error: Call to undefined function json_decode() in /webspace/users.on.net/data/H4/82/H4827903/include/WU-forecast.php on line 516"

URL for my page is http://www.users.on.net/~gixxer.sw/forecast_wu.php

I have registered with WU and am uploading my PWS data.

I have obtained and added the API to the WU-forecast template as instructed. I have added what I believe is the correct URL for my forecast details from WU.

Any help appreciated.
Title: Re: WU Forecast Help
Post by: labwrat on May 16, 2017, 10:39:37 AM
Unfortunately I am having a problem showing this script. I do not get an error message but the wu forecast does hot show on my page.

frontrangeweather.site/weatherblue/forecast_wu.php

Any help would be appreciated.

Bill
Title: Re: WU Forecast Help
Post by: labwrat on May 17, 2017, 10:58:41 AM
I was able to get the WU info to show. The problem was a PHP issue with my host. Now I am trying to figure where to make the change to the city location.

http://frontrangeweather.site/weatherblue/forecast_wu.php

Bill