WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: Guillermo Villan on May 04, 2018, 07:40:05 PM

Title: Problem with my site
Post by: Guillermo Villan on May 04, 2018, 07:40:05 PM
Friends I was looking in the forum and I can not find the solution to this problem that appeared a few days ago. I am using this template that is fabulous since 2012 and I think I am the only one from Argentina. I would like to continue with it but I can not find the solution to the problem. I have to migrate to another template ?? or that I have to correct to keep it operational.
Thank you very much!!

Notice: Undefined offset: 1 in /home/wxelorto/public_html/get-USNO-sunmoon.php on line 158


Thank you

www.wxelortondo.com.ar
Guillermo Villan
Title: Re: Problem with my site
Post by: saratogaWX on May 06, 2018, 12:08:54 AM
running your homepage with ?cache=no to force a reload of USNO data shows
Quote
<!-- get-USNO-sunmoon.php - Version 1.02 - 03-Dec-2011 -->
<!-- loading ./cache/USNO-moondata.txt from http://aa.usno.navy.mil/cgi-bin/aa_pap.pl -->
<!-- POST /cgi-bin/aa_pap.pl HTTP/1.1
      Host: aa.usno.navy.mil  Port: 80 IP=199.211.133.93-->
<!-- Network error: Connection timed out (110) -->
<!-- HTTP stats:  dns=0.200 conn=4.004 put=n/a get( blocks)=n/a close=n/a total=4.203 secs -->
<!-- fetch function elapsed= 5 secs. -->
<!-- loading finished. -->
<!-- USNOdata
Array
(
)
 -->
That is a very old version of get-USNO-sunmoon.php, and that is why it likely doesn't work.

Using check-fetch-times.php?show=versions on your site shows a lot of scripts need updating from 12-Jan-2012 for Base-World, CU-plugin

I suggest you use the update tool (https://saratoga-weather.org/wxtemplates/updates.php) to get the needed updates, then after uploading those, the problem should be resolved.

Best regards,
Ken