Blocks and Plugins not calculating data
-
- Observer
- Posts: 14
- Joined: Mon Sep 04, 2017 9:49 pm
- Location: L'Anse, MI USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Blocks and Plugins not calculating data
My hosting company had to move my site to a different server, and since then blocks and plugins are not calculating correctly. All the data is in MySQL and updating correctly. Some blocks show some data, but others show nothing.
In attached screen shots, the snow block show the correct total snowfall, but is missing the monthly, and in the interactive graph screen show it shows nothing at all. This is the first time I've had any problems at all.
Any ideas how to fix this?
Thank you.
In attached screen shots, the snow block show the correct total snowfall, but is missing the monthly, and in the interactive graph screen show it shows nothing at all. This is the first time I've had any problems at all.
Any ideas how to fix this?
Thank you.
- Attachments
-
- Screenshot 2023-04-15 152518.jpg (91.72 KiB) Viewed 319 times
-
- Screenshot 2023-04-15 152230.jpg (57.41 KiB) Viewed 319 times
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Blocks and Plugins not calculating data
Any other changes made in addition, i.e. switch von PHP7.x to PHP8.x?
Regards
Regards
-
- Observer
- Posts: 14
- Joined: Mon Sep 04, 2017 9:49 pm
- Location: L'Anse, MI USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: Blocks and Plugins not calculating data
Here are a couple more examples. As you can see the Station Data is up to date and correct, but the Averages and Deviations are blank.
- Attachments
-
- Screenshot 2023-04-15 155253.jpg (188.04 KiB) Viewed 310 times
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Blocks and Plugins not calculating data
Can you run the queries against the database manually?
You need to lookup the query in the referring .php file.
What is the outcome of the query?
Regards
You need to lookup the query in the referring .php file.
What is the outcome of the query?
Regards
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Blocks and Plugins not calculating data
To run the queries manually you need a SSH connection to your host.
No need for variables, you can just lookup the command in the .php file.
Only thing is that you need to know the DB user and password and run the query from CLI.
User and password can be found in the config file.
Regards
No need for variables, you can just lookup the command in the .php file.
Only thing is that you need to know the DB user and password and run the query from CLI.
User and password can be found in the config file.
Regards
-
- Observer
- Posts: 14
- Joined: Mon Sep 04, 2017 9:49 pm
- Location: L'Anse, MI USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: Blocks and Plugins not calculating data
Yes, running queries manually works fine.FSC830 wrote: ↑Sat Apr 15, 2023 10:27 pm To run the queries manually you need a SSH connection to your host.
No need for variables, you can just lookup the command in the .php file.
Only thing is that you need to know the DB user and password and run the query from CLI.
User and password can be found in the config file.
Regards
This seems to be quite hit and miss, as in the Rain Block does not populate at all, but the Station Data Block works with static data but not calculated data.
-
- Observer
- Posts: 14
- Joined: Mon Sep 04, 2017 9:49 pm
- Location: L'Anse, MI USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: Blocks and Plugins not calculating data
This issue is resolved. The problem was MySQL had mode 'ONLY_FULL_GROUP_BY' on, once taken out/disabled, everything is back up and working as it should.
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Blocks and Plugins not calculating data
Sometimes it could be so easy . See here.
So with move to the new server the mysql options have been modified too.
This was not my first thought.
Regards
So with move to the new server the mysql options have been modified too.
This was not my first thought.
Regards