Peter, what version of the script are you using, I’ve got Version 1.11 - 03-Jul-2009
Replacing the url works here
Ckeck the file that is cache, called quakesWORLD.txt, dont think I changed it
$cacheName = “quakesWORLD.txt”; // used to store the file so we don’t have to
See if you have the page of recent earthquakes cached, also delete it as well, the script will fetch a new one it as it keeps it till the value you have set for $refetchSeconds expires.
Where did you get it? 1.09 is what is available on the download site.
[http://saratoga-weather.org/quake-USA.php?sce=view](http://saratoga-weather.org/quake-USA.php?sce=view)
I am also using 1.09 and I tried the new address, but still not working.
who need to update to 1.11 as Version 1.10 - 12-Jan-2009 - fixes for changes to USGS website, you may still need to change the URL as Ken might not of updated the script yet to use the new URL.
It looks like Ken is faster than we are, he already has a new version out 1.12 that fixes this problem, running ok now with the new version.
Thanks Ken and Phil for pointing this out.
Peter
Thanks Phil for finding the glitch… there’s also a update to the quake-USA.php in addition to the quake-WORLD.php script.
Looks like the USGS is changing their /eqcenter/ directory to be /earthquakes/, but the generated pages from their site still have links to /eqcenter/ which thoughtfully does a 301 redirect to /earthquakes/. I guess they’re only half-way through the code changes, but the current versions should be able to handle the final changes to the site ok.
quake-USA.php now at Version 1.10 - 04-Nov-2009
quake-WORLD.php now at Version 1.12 - 04-Nov-2009
WD/AJAX/PHP template sets (USA, World, World-ML) updated with the respective script changes too.