Author Topic: Weather Radio Blank Screen  (Read 582 times)

0 Members and 1 Guest are viewing this topic.

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Weather Radio Blank Screen
« on: January 30, 2023, 05:01:09 PM »
Curious if anyone else is getting a blank screen for the NOAA/EC All Hazards Radio?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Radio Blank Screen
« Reply #1 on: January 30, 2023, 06:08:56 PM »
Looks like your webserver is being hit with a JavaScript based challenge (likely created by the noaaweatherradio.org webserver) and the main JSON file to set up the page doesn't get fetched, so the page remains unformatted.

As a bypass, change wxradio.php from
Code: [Select]
<script src="NWR-radios-data.php"></script>
to
Code: [Select]
<script src="https://noaaweatherradio.org/java/NWR-radios-data.js"></script>
to fetch the control file directly from your browser.

I'll have to ask Cutty about the excessive 'protection' for the NWR-radios-data.js file.. it should be freely accessible.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Weather Radio Blank Screen
« Reply #2 on: January 30, 2023, 06:33:59 PM »
As always Ken, Thank You!!!  That did the trick :-)

 

anything