Author Topic: Upgrading to the wxnwsradar.php page with an error  (Read 129 times)

0 Members and 1 Guest are viewing this topic.

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2215
    • http://www.cnyweather.com
Upgrading to the wxnwsradar.php page with an error
« on: September 14, 2020, 11:54:51 AM »
I'm trying to replace the WU radar pages with the upgraded wxnwsradar page and having an issue.
Page link: http://www.cnyweather.com/wxnwsradar.php
I'm getting no radar images and an error also:

Notice: Undefined offset: 1 in /home/ht63ffwq1vvx/public_html/usaextremes.php on line 152

On my home page. the USa Extremes display without an issue though.
Line 152 on usaextremes.php is
Code: [Select]
list($headers2,$content2) = explode("\r\n\r\n",$html2);
Thanks in advance
Tony




Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8013
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Upgrading to the wxnwsradar.php page with an error
« Reply #1 on: September 14, 2020, 01:08:32 PM »
The wxnwsradar.php page is not working because hanis_min.js is not in your home directory.

The usaextremes.php (and stateextremes.php) scripts are deprecated as the data source was closed down.

There's a replacement script (worldextremes.php) you can install from here that uses the NWS CPC for data.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2215
    • http://www.cnyweather.com
Re: Upgrading to the wxnwsradar.php page with an error
« Reply #2 on: September 14, 2020, 03:10:08 PM »
Sorry about that. I thought the worldextremes was discontinued. All set now. THANK YOU!
Tony




Offline ConligWX

  • Forecaster
  • *****
  • Posts: 687
  • #conligwx
    • conligwx.org
Re: Upgrading to the wxnwsradar.php page with an error
« Reply #3 on: September 14, 2020, 03:56:34 PM »
Tony, I take it you are running a custom saratoga template with all the out of date files?

http://www.cnyweather.com/check-fetch-times.php?show=versions
Regards Simon
Davis Vantage Pro2 Plus Daytime FARS WeatherLink Live CumulusMX Saratoga Templates


 

anything