Page 1 of 1

createConfig.php

Posted: Tue Feb 01, 2022 8:02 pm
by MS30
Hallo zusammen

Ich habe folgendes Problem:

Wenn ich in der setup.php auf Save gehe, erschein im nächsten Fenster folgende Meldung:

Config created/updated.

und obehalb eine Menge fehler
Image
http://www.ms30.at/Fehler.png

Vielleich kann mir bitte einer helfen was ich falsch mache

Danke

Re: createConfig.php

Posted: Tue Feb 01, 2022 10:44 pm
by davidefa
Which version of php are you using?
Currently meteotemplate is not compatible with php 8.0 or higher ( but I'm working on it ).

Re: createConfig.php

Posted: Wed Feb 02, 2022 10:03 am
by MS30
Thank you for your answer. I am currently using php 8.0.

Re: createConfig.php

Posted: Wed Feb 02, 2022 10:59 am
by davidefa
You should be able to change php version trough the control panel of your hosting provider

Re: createConfig.php

Posted: Wed Feb 09, 2022 9:05 am
by FSC830
Hi,
any idea when PHP 8 will be supported?
Seems that my provider is going to drop any PHP 7 in near future (7.4 is still available).

Regards

Re: createConfig.php

Posted: Wed Feb 09, 2022 10:24 am
by davidefa
Sorry I don't have a date ( a calendar date ; - ), I'm working on porting meteotemplate to php 8.0.
I'd say soon... but don't hold your breath ( I mean my site, in my signature, is already working on php 8.0 but if you navigate between menu entries you'll find 'a few' problems... )

Re: createConfig.php

Posted: Wed Feb 09, 2022 10:56 am
by FSC830
Ok, thanks.
Just another question: transferring meteotemplate to PHP 8.x also means modifying database access from mysql to mysqli?

Regards

Re: createConfig.php

Posted: Wed Feb 09, 2022 11:33 am
by davidefa
No, already meteotemplate uses mysqli.
The main changes are due to warning -> error conversion ( previous warning, almost unnoticed, that now throw an error )