Page 1 of 1

Year normals - frost analysis

Posted: Fri Mar 16, 2018 9:56 pm
by T-man
http://veikkola-weather.com/template/pl ... alysis.php

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

-Timo

Re: Year normals - frost analysis

Posted: Fri Mar 16, 2018 10:05 pm
by Dehatter
How are you accessing the page?

I do not see frost analyses in your menus.

Tom

Re: Year normals - frost analysis

Posted: Sat Mar 17, 2018 7:12 am
by T-man
Hi

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

Menu Station... Extended Analysis...

-Timo

Re: Year normals - frost analysis

Posted: Sat Mar 17, 2018 8:49 am
by Dehatter
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

Re: Year normals - frost analysis

Posted: Sat Mar 17, 2018 1:40 pm
by T-man
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

Re: Year normals - frost analysis

Posted: Sun Mar 18, 2018 8:46 am
by Dehatter
Me either. When I try and see the page it is pretty empty:

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

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

Tom

Re: Year normals - frost analysis

Posted: Sun Mar 18, 2018 8:55 am
by Jachym
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

Re: Year normals - frost analysis

Posted: Sun Mar 18, 2018 11:45 am
by T-man
Since I'm running pages on hosted server, what shall I propose to admin?

Re: Year normals - frost analysis

Posted: Sun Mar 18, 2018 4:47 pm
by Jachym
increasing the PHP memory limit

Re: Year normals - frost analysis

Posted: Sun Mar 18, 2018 8:02 pm
by T-man
Works:

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

to frostAnalysis.php

Re: Year normals - frost analysis

Posted: Mon Mar 19, 2018 7:11 am
by Jachym
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

Re: Year normals - frost analysis

Posted: Wed Mar 21, 2018 5:19 pm
by T-man
Piece of advice from host support was actually to use cpanel and increase allocated memory with php.ini editor. Works.

Re: Year normals - frost analysis

Posted: Wed Mar 21, 2018 7:31 pm
by Jachym
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.