Author Topic: Still can't get radar & Satellite displays in Saratoga Templates  (Read 1522 times)

0 Members and 1 Guest are viewing this topic.

Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Still can't get radar & Satellite displays in Saratoga Templates
« 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, "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

Site is here. https://suiattle.net/CapeSmallHarborWeather/mbridge/index.php

There are a number of other broken links but I can solve those I think.

Offline CamarilloWX

  • CamarilloWX
  • Senior Contributor
  • ****
  • Posts: 184
    • Camarillo Weather
Re: Still can't get radar & Satellite displays in Saratoga Templates
« Reply #1 on: November 13, 2022, 05:56:05 PM »
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
Eric

Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Re: Still can't get radar & Satellite displays in Saratoga Templates
« Reply #2 on: November 13, 2022, 08:32:34 PM »
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,

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Still can't get radar & Satellite displays in Saratoga Templates
« Reply #3 on: November 14, 2022, 10:32:47 AM »
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.
« Last Edit: November 14, 2022, 10:34:50 AM by saratogaWX »
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 lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Re: Still can't get radar & Satellite displays in Saratoga Templates
« Reply #4 on: November 14, 2022, 03:05:03 PM »
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.

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: Still can't get radar & Satellite displays in Saratoga Templates
« Reply #5 on: November 14, 2022, 04:26:46 PM »
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>
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI