Page 1 of 1

wxquakes.php problem

Posted: Fri 20 Apr 2018 9:11 pm
by acatalano
I seem to be having a run of bad luck. Previously had problems with this page because of outgoing access restrictions at my webhost, but removing that problem made evrything fine for the page. Now, months later, page displays no information or map, nor any errors either. It does not appear to be a usgs problem, as I see the Saratoga page works properly as always. Any help would be appreciated. FYI I have just updated all pages that needed it.

Re: wxquakes.php problem

Posted: Fri 20 Apr 2018 9:55 pm
by ConligWX
what version is your wxquake.php ?

Re: wxquakes.php problem

Posted: Sat 21 Apr 2018 9:36 pm
by acatalano
Version 1.06 of wxquake.php & V1.13 of quake-json.php. You can view here: http://www.boulderwx.com/wxquake.php

Re: wxquakes.php problem

Posted: Sat 21 Apr 2018 11:07 pm
by acatalano
Well I solved the problem in a most (for me anyway) unexpected way. It turns out that only a message, and no map or list of earthquakes will appear if there are no quakes within a radius of 'x' miles or km as specified in the wxquakes.php file. In my case I had the radius set to 200 miles. We have few quakes here so the page drew in essence,-a blank. Fooling me!

It was clear that the quakesjson.txt file in cache had lots of data that was being retrieved, just not displayed! So the almost silly solution to the blank page was to set the distance to 2000 miles instead of 200!!! Seems it would be better to always display the map and the list of quakes regardless of the distance set in order to not fool fools like me!

Image

Re: wxquakes.php problem

Posted: Sun 22 Apr 2018 5:41 am
by BeaumarisWX
Hi Anthony,
Going by your http://www.boulderwx.com/check-fetch-ti ... w=versions it shows you have version : V1.05 - 2016-07-03
Version : V1.06 - 2016-02-14 is now available, Need update to V1.06 - 2016-02-14
Kind regards,

Re: wxquakes.php problem

Posted: Sun 22 Apr 2018 7:57 pm
by acatalano
Thank you for pointing this out. It is a bit odd though. I keep a record of my updates (actually save the files). My last checks with the update database was on Jan 8, 2018 (lots of files), then April 18, 2018 (only did advforcast2.php), then yesterday the suite of quakes files, but not using the database. Somehow missed wxquakes.php V 1.06. Got it and uploaded it today, and of course the problem came back, just needed to increase the distance from 200 to 2000 miles! All is well again.


Image