cloudy cloudy

Author Topic: Trouble with Radar Image showing in Saratoga Template  (Read 129 times)

0 Members and 1 Guest are viewing this topic.

Offline noopara

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
Trouble with Radar Image showing in Saratoga Template
« on: February 07, 2019, 12:30:37 AM »
I'm just getting things going with the Saratoga template and WD and have hit a snag...

For some reason this url: https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=ATX&brand=wui&num=1&delay=15&type=N0R&frame=6&scale=0.125&noclutter=0&showstorms=0&mapx=400&mapy=240&centerx=458.5&centery=-561.5&transx=58.5&transy=-801.5&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&rand=25824941&lat=47.38000107&lon=-122.70999908&label=Gig+Harbor

does not show up.  I inserted it into the wu-radar-inc.php file  like this
$CityURL = 'https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=ATX&brand=wui&num=1&delay=15&type=N0R&frame=6&scale=0.125&noclutter=0&showstorms=0&mapx=400&mapy=240&centerx=458.5&centery=-561.5&transx=58.5&transy=-801.5&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&rand=25824941&lat=47.38000107&lon=-122.70999908&label=Gig+Harbor'

Click on the local radar link in the menu yields a blank screen 

Any help would be greatly appreciated.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,848
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
Re: Trouble with Radar Image showing in Saratoga Template
« Reply #1 on: February 07, 2019, 12:40:38 AM »
Please post the URL of the website.

Offline saratogaWX

  • Global Moderator
  • Posts: 5,874
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Saratoga Weather
Re: Trouble with Radar Image showing in Saratoga Template
« Reply #2 on: February 07, 2019, 12:43:11 AM »
URL to your website showing the issue, please...  my clairvoyance has sputtered out today ;)
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline noopara

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
Re: Trouble with Radar Image showing in Saratoga Template
« Reply #3 on: February 07, 2019, 01:17:48 AM »
Oops!  Of course.  I meant to include it but forgot that part.

kreha.org/wdisplay/wxindex.php

Could it be because I have installed it into a subdirectory instead of the root?
« Last Edit: February 07, 2019, 01:49:54 AM by noopara »

Offline saratogaWX

  • Global Moderator
  • Posts: 5,874
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Saratoga Weather
Re: Trouble with Radar Image showing in Saratoga Template
« Reply #4 on: February 07, 2019, 04:44:11 PM »
I think there may be a PHP syntax error in WU-forecast-inc.php since http://kreha.org/wdisplay/WU-radar-inc.php?sce=view results in a blank page (likely a PHP Fatal syntax error there).  Copy your current WU-forecast-inc.php to a .txt file and post it here.. I'll take a look.

No, the subdirectory placement wouldn't cause this error (it only means you'll need to change the AJAX JavaScript ajaxWDwx.js to have the clientraw file be addressed as either 'clientraw.txt' or './clientraw.txt' and not '/clientraw.txt').
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates