Weather Display not showing animated Regional Radar and Regional Infrared images

Well I have been looking for three days and so far have not found the answer on this forum. So if it is here, I apologize. This is a UIP (user induced problem).

I am new to using Weather Display and after trying the get a few other things working I changed something and now the animated Weather Underground Regional Radar and Regional Infrared graphic at the top of the home page is not displaying anything. In Internet Explorer there are boxes where the graphics should be with red x

If this is on a website can you provide the URL?

Here is the address.

Ken at SaratogaWx has instructions posted at http://saratoga-weather.org/wxtemplates/install.php that should be used to setup. You might take a look and verify you have edited all the necessary files so your webserver can grab the required info from the external sites.

Well I went through the setup a 4th time and still find nothing. Any other ideas?

Thanks, Ron

I think the issue is in Settings.php where you have

$SITE['WUregion'] = 'mv';

and that should read as

$SITE['WUregion'] = 'mw';

(mw for Mid-West)

That should fix the missing radar and satellite pictures on the home page.

For the WU radar, there appears to be a syntax error in WU-radar-inc.php

Parse error: syntax error, unexpected T_STRING in /home/content/b/a/b/babfarm0442/html/weather/WU-radar-inc.php on line 90

It’s likely caused by a mis-matched terminator (missing quote mark ( ’ or " depending on what started the literal string) or line terminator ; )

Hope this helps…
Best regards,
Ken

Ken:

You were spot on with the MV instead of MW. I don’t know how I did that, must be the German in me. :smiley:

AS for the WU radar I am still not sure, below is the code that seems to be the issue.


// $CityPos2 - for Metro Level radar/animation

$CityPos2 = ‘left: 394px; top: -260px;’;

$CityColor2 = ‘#FFFFFF’; // color of legend display

// see instructions above to set $MetroURL value

$MetroURL = 'http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=UEX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.180&noclutter=0&t=1316885373&lat=40.43186951&lon=-98.10630035&label=Fairfield%2C+NE&showstorms=0&map.x=400&map.y=240&centerx=384&centery=237&transx=-16&transy=-3&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0;

// $CityPos3 - for unzoomed radar/animation

$CityPos3 = ‘left: 386px; top: -262px;’;

$CityColor3 = ‘#FFFFFF’; // color of legend display

// $CityPos4 - for US Advisory map

$CityPos4 = ‘left: 35px; top: -324px;’;

$CityColor4 = ‘#FFFFFF’; // color of legend display


The $CityPos3 = ‘left: 386px; top: -262px;’; is line 90 however I don’t see the problem.

Ken, THANK YOU!!! for your help.

The

$MetroURL = 'http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=UEX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.180&noclutter=0&t=1316885373&lat=40.43186951&lon=-98.10630035&label=Fairfield%2C+NE&showstorms=0&map.x=400&map.y=240&centerx=384&centery=237&transx=-16&transy=-3&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0;

is missing a ’ before the final ; so it should read as

$MetroURL = 'http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=UEX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.180&noclutter=0&t=1316885373&lat=40.43186951&lon=-98.10630035&label=Fairfield%2C+NE&showstorms=0&map.x=400&map.y=240&centerx=384&centery=237&transx=-16&transy=-3&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0';

… that is causing the PHP error.

Best regards,
Ken

I was looking for the problem in lines 89-91 not 82-86. I better get my eyes checked.

Again, thank you Ken.