Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See the Wiki for download

Error on Home Page

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
acatalano
Posts: 91
Joined: Tue Jun 16, 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Error on Home Page

Post by acatalano » Wed Apr 18, 2018 4:04 pm

I updated the Saratoga Templates on 4/12/2018 and everything was working fine. Today I noticed the error below on the home page, so I thought I'd check again for updates.

Warning: Invalid argument supplied for foreach() in /home/www/boulderwx.com/get-USNO-sunmoon.php on line 360

Warning: Invalid argument supplied for foreach() in /home/www/boulderwx.com/get-USNO-sunmoon.php on line 371

Sure enough advforecast2.php had been updated since then so I installed this. I thought it might be the issue, but I'm still getting the error above. Any ideas why?
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965

User avatar
ConligWX
Posts: 724
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Error on Home Page

Post by ConligWX » Wed Apr 18, 2018 11:02 pm

looks like possible DNS lookup issues against USNO.

http://sandaysoft.com/forum/viewtopic.php?t=15052

your site however is seriously slow.

https://gtmetrix.com/reports/www.boulderwx.com/xLxU3O1X
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS Templates

acatalano
Posts: 91
Joined: Tue Jun 16, 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Error on Home Page

Post by acatalano » Thu Apr 19, 2018 12:07 pm

Many thanks for the reference! It appears to be a US Navy problem again. Using the IP address also fails. I've contacted the webmaster there and have renamed the php file so it no longer attempts to load, causing the site to hang. Loads instantly again.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965

Post Reply