Weather by You!
Templates and Projects support => Php templates => Topic started 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.
-
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!! :)
-
Hi Curtis,
Thanks for this fix. 8)
Regards,
Jacques
-
No problem. All goes to Ken True and Mike Challis for updating the script.