cloudy cloudy

Author Topic: Top Atom-advisory issue  (Read 258 times)

0 Members and 1 Guest are viewing this topic.

Offline inkspotrdk

  • Posts: 14
  • Roger Kirk
  • Middlesboro, Kentucky
  • OS/Browser:
  • Win NT 6.3
  • Firefox 66.0
    • Southeastern Kentucky Weather
Top Atom-advisory issue
« on: April 19, 2019, 08:03:01 PM »
I get this warning message in my top warning advisory when i open my page sometimes, not all the time. Any idea what causes it. www.sekywx.com
Roger Kirk
Southeastern Kentucky Weather
Middlesboro, Kentucky


Offline saratogaWX

  • Global Moderator
  • Posts: 5,918
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Saratoga Weather
Re: Top Atom-advisory issue
« Reply #1 on: April 19, 2019, 10:41:44 PM »
That can happen if your webserver is unable to connect to alerts.weather.gov site.  When it happens again, do a view-source on the page and look for the info in HTML comments around where the display is done on the page.  It will give more details about the issue.

BTW.. you do have a few updates to do (see check-fetch-times.php?show=versions on your site) :)
« Last Edit: April 19, 2019, 10:44:38 PM by saratogaWX »
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline inkspotrdk

  • Posts: 14
  • Roger Kirk
  • Middlesboro, Kentucky
  • OS/Browser:
  • Win NT 6.3
  • Firefox 67.0
    • Southeastern Kentucky Weather
Re: Top Atom-advisory issue
« Reply #2 on: May 27, 2019, 04:21:41 AM »
This was the view source code I received today, as it did it again.:

Code: [Select]
<div class="advisoryBox">
<br />
<b>Warning</b>:  A non-numeric value encountered in <b>/home4/inkspot/public_html/atom-advisory.php</b> on line <b>1065</b><br />
<!-- index.php - atom-advisory.php - V2.12 15-Jul-2016 -->
<!-- getting new file from 'https://alerts.weather.gov/cap/wwaatmget.php?x=KYZ087' -->
<!-- CURL GET //alerts.weather.gov/cap/wwaatmget.php?x=KYZ087 HTTP/1.1 Host: https: -->
<!-- Time to fetch: 0.275 sec -->
<!-- cache saved to ./cache/atom-advisory-KYZ087.txt -->
There are no active watches, warnings or advisories for Bell (Kentucky).<!-- zone=KYZ087 -->
      </div>
Roger Kirk
Southeastern Kentucky Weather
Middlesboro, Kentucky


 

cumulus