Page 1 of 1
Earthquakes plugin
Posted: Sat Sep 30, 2017 7:03 am
by nikokara - BANNED
I have one issue
The earthquake PLUGIN
does not load the earthquake list and therefore does not show anything on the wort map
Ηas anyone else the same thing? or only me
The earthquake BLOCK displays them normally.
The same in the disasters plugin, when i click on Current earthquakes

Re: Earthquakes plugin
Posted: Sat Sep 30, 2017 9:19 am
by Jachym
Rule number 1 - always include a link
Re: Earthquakes plugin
Posted: Sat Sep 30, 2017 9:24 am
by nikokara - BANNED
who on my 127.0.0.1 ? how???
Re: Earthquakes plugin
Posted: Sat Sep 30, 2017 9:38 am
by Jachym
OK, I see, you are using it locally.
Well it must be some problem with data retrieval by your server then, or you do not have correct Google maps API key (more probable)
Because the plugin as such works fine:
http://www.meteotemplate.com/template/p ... /index.php
Re: Earthquakes plugin
Posted: Sat Sep 30, 2017 10:23 pm
by John B
Hello, nikokara,
I can confirm Jáchym's statement. I have block and plug-in and both work fine (other than the huge map being HUGE).
http://www.johnsblaxlandweather.id.au
The plug-in is in the INFO menu.
Cheers,
John
Re: Earthquakes plugin
Posted: Sat Sep 30, 2017 10:39 pm
by nikokara - BANNED
Thanks Jachim, thanks John...
Try to see what i do wrong.
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 5:37 am
by nikokara - BANNED
Maps are displayed ok
and the logs
127.0.0.1 - - [01/Oct/2017:08:01:12 +0300] "GET /{path}/plugins/earthquakes/index.php HTTP/1.1" 200 114235
127.0.0.1 - - [01/Oct/2017:08:01:15 +0300] "GET /{path}/css/main.php?v=201710010600 HTTP/1.1" 200 16403
127.0.0.1 - - [01/Oct/2017:08:01:19 +0300] "GET /{path}/plugins/earthquakes/earthquake_json.php?
period=[object%20Event]&extent=undefined HTTP/1.1" 200
2 <======== **
127.0.0.1 - - [01/Oct/2017:08:01:19 +0300] "GET /{path}/plugins/earthquakes/earthquake_json.php?
period=m&extent=sig HTTP/1.1" 200
2 <======== **
127.0.0.1 - - [01/Oct/2017:08:01:51 +0300] "GET /{path}/plugins/earthquakes/earthquake_json.php?
period=d&extent=sig HTTP/1.1" 200
2 <======== **
** all json with & without error = 2 bytes
trying manualy (via browser)usgs_seismo geojson download last30 / all about 6MB
trying hardcoding earthquake_json.php variables $period, $extent noluck
Need a pause... and a strong coffee

Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 6:04 am
by John B
Try this, nikokara, It's probably not to your taste but it's really nice.
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 7:17 am
by nikokara - BANNED
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 8:18 am
by nikokara - BANNED
Right John
Go here
http://www.highlandlakesweather.net/tem ... /index.php
(dmgould's site )
then select
30 days Interval
All as filter
click show
I see nothing, You????
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 8:59 am
by Jachym
No issues
The only thing I would recommend is changing the top header bg image, some people will find it difficult to read, or maybe make it a bit darker to make the title/subtitle stand out a bit more

Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 12:04 pm
by nikokara - BANNED
Jachim sorry
Have you tried after this, selecting 30 days and all and the clicking show?
Not the last significant
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 12:19 pm
by Jachym
Hi,
last 30 days + all results in a very large amount of EQs, which in your case overflows the max allowed memory for PHP
http://www.highlandlakesweather.net/tem ... extent=all
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 12:38 pm
by nikokara - BANNED
and not for you??
Yes i know 6MB
I have load Kens (saratoga) seismo script for all last 30 days and its loads ok about 2800 events
on my localhost with no chances in memory limits in my PHP and no problem.
and I will stop enchoring you
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 12:42 pm
by Jachym
Hi,
for me it works:
http://www.meteotemplate.com/template/p ... extent=all
This is down to the max allowed memory size specified in PHP configuration file of your server.
Re: Earthquakes plugin
Posted: Sun Oct 01, 2017 11:04 pm
by John B
When I go to the link you supplied, nikokara, I see the same as Jáchym. Selecting the 'All' option didn't seem to change anything.
Using Jáchym's link on the first attempt I received a server error. On the second I received an unexpurgated/un-parsed text file with a huge number of listed 'quakes.
Doing the same on my site, using the plug-in, I finished with a huge number of entries, but properly formatted.
I surmise that that will be of no comfort to you.
Cheers,
John
Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 7:11 am
by nikokara - BANNED
Hi John
Here is a link of a other users page, i discovered, with the exact same problem as mine.
http://www.hc-iom.co.uk/template/plugin ... /index.php
and here one more
http://www.hc-iom.co.uk/template/plugin ... quakes.php
Salute
Info: The cicads here in Greece are very very LOUDDDD

Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 7:35 am
by Jachym
This will be a problem for anyone with lower memory limit, so there will obviously be more people affected.
Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 8:34 am
by nikokara - BANNED
Jachim
You point me at the wrong place.
I have set in php.ini on my localhost
memory_limit = -1
This means as you know unlimited
Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 9:27 am
by Jachym
Then there is different issue with server configuraion or no data is loaded. If there was a bug it would not work for anyone - which is not the case, it works for most.
Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 2:08 pm
by nikokara - BANNED
Sure here is a bug...
Ta..Taaaaa
see this
Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])
...../scripts/jquery.min.js
Line 2
Re: Earthquakes plugin
Posted: Sat Oct 28, 2017 3:27 pm
by Jachym
This is a jQuery error, looks like the jQuery file is incomplete, or the error is somewhere else. JQuery is Javascript, has nothing to do with PHP and was not written by me.
Ive also warned you once already that I dont like when people talk to me like this, so please try to avoid sarcastic comments, exclamation marks etc.