The last time I saw the working page was July 3, just before the 6.4 quake in SoCal. The last quake showing was a 5.0 and now nothing.
I live about 250 mi from the epicenter and did notice the swimming pool sloshing side to side and a swinging chandelier so it had to be a big one.
OK. For now I have put another menu item below “Earthquakes” named “Earthquakes link” , linking to the USGA site for California.
Maybe things will sort out after awhile.
[quote author=saratogaWX link=topic=68172.msg548238#msg548238 date=1562441159]
The USGS server is quite loaded at this time so some requests for the Jason data fail. The scripts are working…I can
It’s getting content … the JSON file is 7827375 bytes (WOW!)
The problem may be with your version of PHP being unable to json_decode that amount of data.
On my PHP 7.3.7, it handles the decode just fine
<!-- content length=7828136 -->
<!-- found 10012 earthquake records -->
The Headers on your site show PHP/5.5.22 – I think that versions prior to 5.6 had issues with decoding large JSON files into arrays. Check your Apache error_log for info… likely the script 500-Server error at the json_decode() command.
Due to the recent earthquakes in CA, the JSON is much larger than usual, and I fear that the only way for your site to work with the updated scripts, is to update PHP to 5.6+ or 7.2+
Looks like that was it. I updated to 7.3 and the earthquake page worked fine. The only problem is, it broke my index page. All I got was “Updated: @ 7/10/2019” at the top of the page where the current conditions would be and the rest of the page was blank. I tried 7.0, 7.1, 7.2 and got the same thing. The earthquake page doesn’t work in 5.6 but, the index page does work okay. Apparently something changed in 7.0+ that affected my index page. Of course, the template I’m using for the current conditions is old and moldy and I know you have made some updates to it so, I guess it’s time to update that anyway. In the meantime, I guess I’ll have to leave the earthquake page broken until the size of the JSON file goes back down something normal.