Weather by You!

Templates and Projects support => Php templates => Topic started by: CurtisZM on March 04, 2018, 08:05:58 PM

Title: Weather Blue NWS script is not working
Post by: CurtisZM on March 04, 2018, 08:05:58 PM
Just to let everyone know that the NWS forecast script is not functioning. I believe Ken True just sent out an updated script for his Saratoga webpage. Not the best at code. Please assist. Thank you.
Title: Re: Weather Blue NWS script is not working **Fixed**
Post by: CurtisZM on March 10, 2018, 09:11:44 AM
I think I have it fix. Give it a try and see.

1. Make sure you save a copy of your original advance2.php file.

2. Download advforecast2.txt. Once downloaded, make sure to change .txt to .php.

3. Change $NOAAZone to your location. See photo below

4. Copy your $filename URL from your original advforecast2.php and paste it into the new advforecast.php file. See photo below.

5. Upload the updated file to your server. Hope it works!! :)
Title: Re: Weather Blue NWS script is not working
Post by: Mr.Meteo on March 12, 2018, 11:57:23 AM
Hi Curtis,

Thanks for this fix.  8)


Regards,
Jacques
Title: Re: Weather Blue NWS script is not working
Post by: CurtisZM on March 14, 2018, 06:19:44 AM
No problem. All goes to Ken True and Mike Challis for updating the script.