Author Topic: WRH NOAA website change .. change URL in advforecast2.php  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8884
  • Saratoga, CA, USA Weather - free PHP scripts
WRH NOAA website change .. change URL in advforecast2.php
« on: September 30, 2008, 05:20:29 PM »
It appears that the WRH region ( is putting in a 302 redirect for the old point-printable forecast URLS, so the advforecast2.php script is using the Zone forecast instead.

If you're using the WD/AJAX/PHP template (USA), change your Settings.php from
Code: [Select]
$SITE['fcsturlNWS'] = ''; to be
Code: [Select]
$SITE['fcsturlNWS'] = ''; and that should fix the issue.

If you are using the advforecast2.php script with your own site design, then change the $fileName variable in the script in a similar manner (replace '' with '' ) and this fix should work for all the Western Region NOAA website users.

Best regards,
Ken True/Saratoga, CA, USA main site:
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP