"Station climate" page non-functional after updating to 19.0 and PHP 8.x
-
- Observer
- Posts: 24
- Joined: Fri Mar 02, 2018 7:48 pm
- Location: Finland
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
"Station climate" page non-functional after updating to 19.0 and PHP 8.x
After update to template 19.0 and PHP 8.x https://veikkola-saa.com/template/pages ... ndices.php shows only white page. I saw some discussion regarding similar failure, however I have normals in config.php
-
- Observer
- Posts: 21
- Joined: Sat May 22, 2021 12:18 pm
- Station model: WMR968
- Software: SDR -> Weewx -> MT
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Any help, here the same after update 19 and php 8.3
LG
Martin
LG
Martin
- lemimi
- Advisor
- Posts: 92
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Hello,,
Under PHP 8.xx, a fatal error results in a blank page.
See with T-man's link above: https://veikkola-saa.com/template/pages ... ndices.php
which results in a blank page.
Add ?errors to the end of the URL to see the error generated:
https://veikkola-saa.com/template/pages ... php?errors
If it can help you... Michel
Under PHP 8.xx, a fatal error results in a blank page.
See with T-man's link above: https://veikkola-saa.com/template/pages ... ndices.php
which results in a blank page.
Add ?errors to the end of the URL to see the error generated:
https://veikkola-saa.com/template/pages ... php?errors
If it can help you... Michel
-
- Observer
- Posts: 17
- Joined: Mon Sep 04, 2017 9:49 pm
- Location: L'Anse, MI USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Meteotemplate 19 and PHP 8.x do not play well together. If you have the option, go back to PHP 7.x.
- lemimi
- Advisor
- Posts: 92
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Hello,
Like a few others, I'm still running Papaya version 18.0, but that has been modified here with the help of Davidefa to work under PHP 8.2.
I also found help thanks to ChatGpt and Rector PHP to improve my code.
This is indicated in the footer of my MeteoTemplate.
Like a few others, I'm still running Papaya version 18.0, but that has been modified here with the help of Davidefa to work under PHP 8.2.
I also found help thanks to ChatGpt and Rector PHP to improve my code.
This is indicated in the footer of my MeteoTemplate.
-
- Observer
- Posts: 21
- Joined: Sat May 22, 2021 12:18 pm
- Station model: WMR968
- Software: SDR -> Weewx -> MT
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Hi!
Such a help would be great....
To stay on php 7 is no longer an option, because too expensive in support from my provider.
I think i will switch probably to 8.3 and check out what isnt working.
First of all i think the steel series is a big problem, ....
Greetings
Such a help would be great....
To stay on php 7 is no longer an option, because too expensive in support from my provider.
I think i will switch probably to 8.3 and check out what isnt working.
First of all i think the steel series is a big problem, ....
Greetings
-
- Observer
- Posts: 21
- Joined: Sat May 22, 2021 12:18 pm
- Station model: WMR968
- Software: SDR -> Weewx -> MT
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Now my site is running after a lot of updates on PHP8.3 expecting the climateindicies.php
Any help ?
Code: Select all
Deprecated: Function utf8_encode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 44 Deprecated: Function utf8_decode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 47 Deprecated: Function utf8_encode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 47 Deprecated: Function utf8_decode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 119 Deprecated: Function utf8_encode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 44 Deprecated: Function utf8_decode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 47 Deprecated: Function utf8_encode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 47 Deprecated: Function utf8_decode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 119 Deprecated: Function utf8_encode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 44 Deprecated: Function utf8_decode() is deprecated in /home/.sites/50/site8222718/web/template/scripts/functions.php on line 119 Deprecated: Function date_sunrise() is deprecated in /home/.sites/50/site8222718/web/template/header.php on line 141 Deprecated: Function date_sunset() is deprecated in /home/.sites/50/site8222718/web/template/header.php on line 142 Fatal error: Uncaught Error: Call to a member function format() on false in /home/.sites/50/site8222718/web/template/pages/station/climateIndices.php:368 Stack trace: #0 {main} thrown in /home/.sites/50/site8222718/web/template/pages/station/climateIndices.php on line 368
- lemimi
- Advisor
- Posts: 92
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Hello,
Here is the file, climateIndices.php, to decompress which works for me.
https://www.lemimi.fr/chargements/templ ... ndices.zip
Maybe he will do the same for you?
Michel
Here is the file, climateIndices.php, to decompress which works for me.
https://www.lemimi.fr/chargements/templ ... ndices.zip
Maybe he will do the same for you?
Michel
-
- Observer
- Posts: 21
- Joined: Sat May 22, 2021 12:18 pm
- Station model: WMR968
- Software: SDR -> Weewx -> MT
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Many thanks, you made my day. Now the last part of my site working again.
Greetings Martin
Greetings Martin
-
- Observer
- Posts: 24
- Joined: Fri Mar 02, 2018 7:48 pm
- Location: Finland
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Thank you! Works like a charm.lemimi wrote: ↑Thu May 02, 2024 8:21 pm Hello,
Here is the file, climateIndices.php, to decompress which works for me.
https://www.lemimi.fr/chargements/templ ... ndices.zip
Maybe he will do the same for you?
Michel
-Timo
-
- Forecaster
- Posts: 184
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
for which plugin is this for?
grtz
alex
grtz
alex
- lemimi
- Advisor
- Posts: 92
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Good morning,
If you open this page of your site:
https://www.sint-katelijne-waver-meteo. ... ndices.php
This displays a blank page, and if you add ?errors to the end of this url, you will see that you have a Fatal Error.
The file I provided for download above works well for me and has also solved the problem for a few people who had this problem.
Good luck... Michel
If you open this page of your site:
https://www.sint-katelijne-waver-meteo. ... ndices.php
This displays a blank page, and if you add ?errors to the end of this url, you will see that you have a Fatal Error.
The file I provided for download above works well for me and has also solved the problem for a few people who had this problem.
Good luck... Michel
-
- Forecaster
- Posts: 184
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
hi,
thx found it, i was looking under 'plugins', and i'ts under 'pages' lol
grtz
a
thx found it, i was looking under 'plugins', and i'ts under 'pages' lol
grtz
a
- lemimi
- Advisor
- Posts: 92
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: "Station climate" page non-functional after updating to 19.0 and PHP 8.x
Glad to have been able to help you...
Michel
Michel