Hi
Pretty new to this stuff.
Had tried the Cumulus standard website but thought your website would be better!
Website looks good and all working pretty well then I discovered the update to the quake page, and the updates checking etc.
Original download was on 7/sep/2012 with the newest file dated 1/sep/2012 (going by file date in Base-World.zip).
So ran the check and built the updates file set using 1/sep/2012. Installed the updated files after editing the files as specified.
However, the quake page is not displaying properly (www.silveracorn.co.nz/weather/wxquake.php).
Apart from the map issue, the quake magnitude and distance settings shown on the page do not agree with the settings in quake-json.php -
$minRichter = '2.0'; // minimum Richter scale earthquake to display
$maxDistance = 1000; // quake must be within this number of miles/kilometers to location ....
$highRichter = "5.0"; //change color for quakes >= this magnitude
$refetchSeconds = 1800; // refetch every nnnn seconds 1800secs = 30mins
OK, found the settings in a second place so this part is fixed.
Any assistance would be much appreciated.
Thanx
Hi,
There was an update to the quake-json.php script on 9-Sep-2012 to fix two issues:
1) the ' GMT' showing in the local time display with some settings for $timeFormat
2) a better method to include the table column sorting data that is XHTML 1.0-Strict compliant
I would suggest you change your minimum magnitude filter to 4.0 as the USGS only includes 4.0+ magnitude quake data for non-USA locations, and at the current settings for your page, it may give the impression that there were no <4.0 quakes (which there may have been, but just not included in the USGS feed).
Glad you got the settings stuff sorted out
Best regards,
Ken
Well I downloaded the updates on the 10th (NZ Time) and they already included the updated 9/9/2012 version 1.01.
Have changed the min to 4 as suggested - no change to the site
The settings changes need to be done in two places;
the $setdistanceradius = and $setmagnitude = are coming from wxquake.php and the $minRichter $maxDistance are coming from quake-json.php - a bit confusing for a newbie!
The remaining issue is that I just don't get the google map - just a frame for it - no title above either.
Also, clicking on the sort arrowed column titles does not do anything (mouse cursor changes to double headed vertical arrow but no action when clicked.
Everything else on the page seems to be OK
Thanx