Year normals - frost analysis

Post Reply
T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Year normals - frost analysis

Post by T-man » Fri Mar 16, 2018 9:56 pm

http://veikkola-weather.com/template/pl ... alysis.php

For some reason just blank page... What shall be done?

-Timo

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Year normals - frost analysis

Post by Dehatter » Fri Mar 16, 2018 10:05 pm

How are you accessing the page?

I do not see frost analyses in your menus.

Tom
Image

T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Year normals - frost analysis

Post by T-man » Sat Mar 17, 2018 7:12 am

Hi

Link to index page. http://veikkola-weather.com/template/pl ... /index.php

Menu Station... Extended Analysis...

-Timo

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Year normals - frost analysis

Post by Dehatter » Sat Mar 17, 2018 8:49 am

Thank you.

I installed the plugin and it works for me.

Since there is no setup, and no chance of losing any data, I would recommend that you delete the plugin from your server and then copy it back to the plugin folder. If it does it again, then I would download the plugin again and repeat.

http://www.tempestasvigilate.com/templa ... /index.php

It should only take about 2 or 3 minutes.

Must be some kind of corruption in your frostAnalysis.php file. It seems it is missing most of the code.

Tom
Image

T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Year normals - frost analysis

Post by T-man » Sat Mar 17, 2018 1:40 pm

It seems to be server side problem. No idea how to fix it though...

[17-Mar-2018 15:32:31 Europe/Helsinki] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in /home/xxxxx/public_html/template/scripts/functions.php on line 267

-Timo

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Year normals - frost analysis

Post by Dehatter » Sun Mar 18, 2018 8:46 am

Me either. When I try and see the page it is pretty empty:

Yours:
yours.png
yours.png (2.85 KiB) Viewed 13505 times
Mine:

Mine.png
Mine.png (23.84 KiB) Viewed 13505 times
I have no clue.

Tom
Image

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: Year normals - frost analysis

Post by Jachym » Sun Mar 18, 2018 8:55 am

T-man wrote: Sat Mar 17, 2018 1:40 pm It seems to be server side problem. No idea how to fix it though...

[17-Mar-2018 15:32:31 Europe/Helsinki] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in /home/xxxxx/public_html/template/scripts/functions.php on line 267

-Timo
YOu have a relatively very low php memory limit set on your server and it cant handle the amount of data you already have in the db

T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Year normals - frost analysis

Post by T-man » Sun Mar 18, 2018 11:45 am

Since I'm running pages on hosted server, what shall I propose to admin?

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: Year normals - frost analysis

Post by Jachym » Sun Mar 18, 2018 4:47 pm

increasing the PHP memory limit

T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Year normals - frost analysis

Post by T-man » Sun Mar 18, 2018 8:02 pm

Works:

add
ini_set('memory_limit', '64M');

to frostAnalysis.php

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: Year normals - frost analysis

Post by Jachym » Mon Mar 19, 2018 7:11 am

This will not work on all servers. For example I use external webhosting and the memory available depends on the monthly fee so they obviously block this so that people cannot change this in scripts. It depends on your webhosting but these ini_set parameters can be blocked so that it cannot be changed by a script

T-man
Observer
Observer
Posts: 27
Joined: Fri Mar 02, 2018 7:48 pm
Location: Finland
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Year normals - frost analysis

Post by T-man » Wed Mar 21, 2018 5:19 pm

Piece of advice from host support was actually to use cpanel and increase allocated memory with php.ini editor. Works.

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: Year normals - frost analysis

Post by Jachym » Wed Mar 21, 2018 7:31 pm

Good :-)

Although it has to be said this is not a universal solution. Some providers (like mine) will not allow you to do this, because higher memory means higher plan and higher price.

Post Reply