WXforum.net
Weather Software => Other Weather Software => Topic started by: lobsterman on November 13, 2022, 03:05:45 PM
-
Been working on bringing back a site I have neglected for a while. Did all the current updates to yesterday, but I am struggling with the radar. The display shows an icon with this URL:
https://icons.wunderground.com/data/640x480/ne_vi_anim.gif (https://icons.wunderground.com/data/640x480/ne_vi_anim.gif), "which returns Can't Find The Server".
I'm sure it's basic error in my settings.php and/or wxradar.php
However, wxnwsradar.php does work:
https://icons.wunderground.com/data/640x480/ne_vi_anim.gif (https://icons.wunderground.com/data/640x480/ne_vi_anim.gif)
Site is here. https://suiattle.net/CapeSmallHarborWeather/mbridge/index.php (https://suiattle.net/CapeSmallHarborWeather/mbridge/index.php)
There are a number of other broken links but I can solve those I think.
-
It looks like you missed a few things while updating. I would start by bringing everything on your site up to the latest versions. You have a few items that are out of date and a few things that can be removed.
https://suiattle.net/CapeSmallHarborWeather/mbridge/check-fetch-times.php?show=versions (https://suiattle.net/CapeSmallHarborWeather/mbridge/check-fetch-times.php?show=versions)
-
I just did all the latest updates for the basic templates, plus Metebridge. Apart from my custom links, which need attention, can you be more specific?
Thanks,
-
WeatherUnderground has stopped reliably producing local radar pages, so the WU-radar script/display should be removed. It was replaced by the NWS radar (wxnwsradar.php). Change the link for 'Local Radar' from wxradar.php to wxnwsradar.php to restore that function.
Your map displays on the home page needs a different script. I'd replace index.php with wxindex.php contents from the Base-USA.zip distribution.
There's a few other scripts that need attention from https://suiattle.net/CapeSmallHarborWeather/mbridge/check-fetch-times.php?show=versions too.
-
Thanks Ken, big help I had been out of circulation on the site for a while and knew there was a lot to do! Much appreciated.
-
I'd recommend editing your index.php file. You'll find a table section with "Radar/Satellite images courtesy of Weather Underground." in it.
Edit it and replace it with this:
<table width="99%" style="border: none">
<tr><td align="center">
<img src="https://radar.weather.gov/ridge/standard/KGYX_loop.gif" alt="Visible Radar" width="300" height="275" style="margin: 0px; padding: 0px; border: none" />
<img src="https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/ne/GEOCOLOR/GOES16-NE-GEOCOLOR-600x600.gif" alt="Visible Satellite" width="300" height="300" style="margin: 0px; padding: 0px; border: none" />
</td>
</tr>
<!-- <tr><td colspan="2" align="center"><small>Radar/Satellite images courtesy of <a href="http://www.weatherunderground.com">Weather Underground</a>.</small></td></tr> -->
</table>