Earthquakes plugin

Post Reply
User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Earthquakes plugin

Post by nikokara - BANNED » Sat Sep 30, 2017 7:03 am

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 :shock:
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sat Sep 30, 2017 9:19 am

Rule number 1 - always include a link

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sat Sep 30, 2017 9:24 am

who on my 127.0.0.1 ? how???
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sat Sep 30, 2017 9:38 am

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

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Earthquakes plugin

Post by John B » Sat Sep 30, 2017 10:23 pm

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

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sat Sep 30, 2017 10:39 pm

Thanks Jachim, thanks John...

Try to see what i do wrong.
niko

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sun Oct 01, 2017 5:37 am

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 :!:
niko

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Earthquakes plugin

Post by John B » Sun Oct 01, 2017 6:04 am

Try this, nikokara, It's probably not to your taste but it's really nice.
Attachments
11080085-single-malt-whisky-spashes-into-glass.jpg
11080085-single-malt-whisky-spashes-into-glass.jpg (13.71 KiB) Viewed 28509 times

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sun Oct 01, 2017 7:17 am

:lol: :lol: :lol: :lol: :lol:

Ok John Salute
niko

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sun Oct 01, 2017 8:18 am

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????
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sun Oct 01, 2017 8:59 am

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 :)
Attachments
Highland Lakes Weather.png
Highland Lakes Weather.png (415.46 KiB) Viewed 28494 times

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sun Oct 01, 2017 12:04 pm

Jachim sorry

Have you tried after this, selecting 30 days and all and the clicking show?

Not the last significant
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sun Oct 01, 2017 12:19 pm

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

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sun Oct 01, 2017 12:38 pm

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
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sun Oct 01, 2017 12:42 pm

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.

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Earthquakes plugin

Post by John B » Sun Oct 01, 2017 11:04 pm

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

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sat Oct 28, 2017 7:11 am

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 :D :D

Info: The cicads here in Greece are very very LOUDDDD :lol: :lol: :lol:
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sat Oct 28, 2017 7:35 am

This will be a problem for anyone with lower memory limit, so there will obviously be more people affected.

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sat Oct 28, 2017 8:34 am

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
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sat Oct 28, 2017 9:27 am

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.

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Earthquakes plugin

Post by nikokara - BANNED » Sat Oct 28, 2017 2:08 pm

Sure here is a bug...

Ta..Taaaaa :!: :!:
see this
Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])
...../scripts/jquery.min.js
Line 2
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Earthquakes plugin

Post by Jachym » Sat Oct 28, 2017 3:27 pm

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.

Post Reply