Support for PHP 8

Post Reply
amatore
Newbie
Newbie
Posts: 2
Joined: Sat May 25, 2019 7:37 pm
Location: Åsgårdstrand
Station model: Davis Vantage vue
Software: Metrobridge SD
Contact:

Support for PHP 8

Post by amatore » Mon Nov 29, 2021 10:40 pm

On the ninth of November 12:40, our weather site stopped working, it only displays blank. I spent several days/hours with my server vendor to find a reason. The problem is partly solved. My service provider after some time admitted the upgrade from PHP 7.4 to 8.0 on the 9th of November, which caused the problem. ( they had warned me, but I never read the warning), However when running the meteotemplate configuration, 8..0 is accepted as a valid PHP configuration, I have now rolled back to 7.4, and it now looks fine. So the question is 8.0 supported, and if so, how do I upgrade. Do I need to do something spesiell?
Tore
https://www.aasgaardstrand-seil.no/mete ... esktop.php

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Support for PHP 8

Post by davidefa » Mon Nov 29, 2021 11:56 pm

Jachym reported that new version will be php 8.0 compatible: viewtopic.php?t=2037
Image

amatore
Newbie
Newbie
Posts: 2
Joined: Sat May 25, 2019 7:37 pm
Location: Åsgårdstrand
Station model: Davis Vantage vue
Software: Metrobridge SD
Contact:

Re: Support for PHP 8

Post by amatore » Wed Dec 01, 2021 7:43 pm

Thanks, then I stay with 7.4 until further notice. :)

hcorrin
Observer
Observer
Posts: 40
Joined: Tue Sep 05, 2017 10:55 am
Location: Ballaugh
Station model: Davis VP2
Software: Weather Display
Contact:

Re: Support for PHP 8

Post by hcorrin » Thu Jul 07, 2022 8:14 pm

just tried updating my server to 8.1 and the Meteotemplate failed big time even the database failed to update so have put mine back to 7.4 for now but support for 7.4 ends November 2022 so now have to decide if i retire it or not
will the proposed replacement work with the same database or will it be a start from scratch job
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Support for PHP 8

Post by davidefa » Thu Jul 07, 2022 10:15 pm

I started the conversion of meteotemplate to php 8.0
An initial, but old, preview is available here: viewtopic.php?f=50&t=2170
Would like to post an update soon to php 8.1 ( currently my server is on php 8.0 )

P.S.
Even if support will be terminated I think that hosting providers will continue to provide php 7.4 ( mine let me select from the control panel php from ver 5.2, quite old, to ver 8.0 ) so that we'll have enough time for the conversion.
Image

hcorrin
Observer
Observer
Posts: 40
Joined: Tue Sep 05, 2017 10:55 am
Location: Ballaugh
Station model: Davis VP2
Software: Weather Display
Contact:

Re: Support for PHP 8

Post by hcorrin » Mon Jul 11, 2022 8:06 pm

i put the updates on and did a test last night with php 8 and most worked ok have posted about wxsim forecast in blocks section
my host is offering extend support for 7.4 from November but at a cost
have put it back to 7.4 for now
Image

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

Re: Support for PHP 8

Post by Dehatter » Sun Jul 17, 2022 7:10 pm

FYI - I am using the template with PHP 8.1.

Please see: viewtopic.php?f=50&t=2170 for details.

Tom
www.meckweather.com

Post Reply