Author Topic: Saratoga Template - get-aqi-rss.php Error  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Saratoga Template - get-aqi-rss.php Error
« on: July 21, 2021, 07:41:52 AM »
Hi Folks,

I got up this morning to an error on my site.  I haven't made any changes in quite a while.  I'm running php 7.x which hasn't changed.

Code: [Select]
$realIndex1 = trim(strip_tags($r3[1]));
$realValue1 = trim(strip_tags($r3[2]));
$realMeasure1 = trim(strip_tags($r3[3]));

Thanks,
Mort

https://www.m82a1.us/index.php
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga Template - get-aqi-rss.php Error
« Reply #1 on: July 21, 2021, 09:40:50 AM »
Doesn't seem to be happening right now on your site.  My guess is that it was a transient data error in RSS XML from the data source.
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 mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: Saratoga Template - get-aqi-rss.php Error
« Reply #2 on: July 21, 2021, 09:59:28 AM »
Well, that was a quick fix  :grin:

I appreciate it, Ken.

I'm posting another problem in a separate topic for a images.blitzortung.org certificate error.  I don't know how to contact them.
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

 

anything