WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: kuerbis42 on January 08, 2024, 06:14:25 PM

Title: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: kuerbis42 on January 08, 2024, 06:14:25 PM
Moin und ein frohes neues.

Eben gerade eine frische Installation durchgeführt (PHP 8.0) und gleich in 2 Fehler getappt:
Datei: /admin/media/upload.php, Zeilen 70 + 71:
original:
Code: [Select]
   
ini_set('zlib.output_compression',1);
ini_set('zlib.output_compression_level',9);
geändert in
Code: [Select]
   
ini_set('zlib.output_compression','1');
ini_set('zlib.output_compression_level','9');

Datei: /admin/media/browse.php, Zeilen 33 + 34:
original:
Code: [Select]
   
ini_set('zlib.output_compression',1);
ini_set('zlib.output_compression_level',9);
geändert in
Code: [Select]
   
ini_set('zlib.output_compression','1');
ini_set('zlib.output_compression_level','9');

und dann noch einen Fehler gehabt, aber nach <F5> war der weg ;-)

Gruß, der Kuerbis
Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: Luisehahne on January 08, 2024, 07:27:16 PM
Danke für den Hinweis. Der Fehler ist bei uns nicht aufgetreten, da wir PHP Version größer 8.0 getestet haben, wo folgende Parameter zzugelassen sind

Code: [Select]
ini_set(string $option, string|int|float|bool|null $value): string|false
in der CHANGELOG ist vermerkt das

Code: [Select]
ab 8.1.0 value now accepts any scalar type (including null). Previously, only String values were accepted.
Wir werden das noch abfangen, evtl. mit einer kleiner Patch Datei fixen
Dietmar
Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: Luisehahne on January 10, 2024, 04:15:41 PM
Das Patch steht im Wiki zur Verfügung

Published WebsiteBaker 2.13.5 Patch 222
2024-01-10 : download on wiki… (https://wiki.WebsiteBaker.org/doku.php/en/downloads)

A patch candidate for PHP 8.0.x / 8.1.x / 8.2.x
Including all previously reported and fixed issues and
Fixe an extended Issue on calling the addon/languages template
There was an uncatched exceptionvendor\phplib\Template::set_var()

Note: Patch is valid with PHP 8.0 and above!
IMPORTANT: Upgradeable from version 2.13.5 Rev220
PHP-8.1.x and above strongly recommended!!!
PHP-8.0.x a version that no longer receives updates.
Users of this version should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.    

Dietmar

Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: hgs on January 11, 2024, 10:34:24 AM
Danke für die schnelle Lieferung.
Reicht das Entpacken oder muß das update-script angestoßen werden?


Thanks for the quick delivery.

Is unpacking enough or do I have to start the update-script?
Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: hgs on January 11, 2024, 10:41:13 AM
Ok, Frage wurde nach Anmeldung als SuperAdmin durch den Link zum upgrade-script beantwortet.
Ok, question was answered by the link to the upgrade script after logging in as SuperAdmin.
Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: sternchen8875 on January 11, 2024, 01:03:40 PM
Die Antwort ist immer recht simple: wenn sich die Versionsnummer geändert hat, hier von R220 auf R222, muß das Upgrade-Script laufen

Google-Translate
The answer is always quite simple: if the version number has changed, here from R220 to R222, the upgrade script must run
Title: Re: WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"
Post by: Luisehahne on January 17, 2024, 04:52:04 PM
Das Patch steht im Wiki zur Verfügung

Published WebsiteBaker 2.13.5 Patch 222
2024-01-10 : download on wiki… (https://wiki.WebsiteBaker.org/doku.php/en/downloads)

A patch candidate for PHP 8.0.x / 8.1.x / 8.2.x
Including all previously reported and fixed issues and
Fixe an extended Issue on calling the addon/languages template
There was an uncatched exceptionvendor\phplib\Template::set_var()

Note: Patch is valid with PHP 8.0 and above!
IMPORTANT: Upgradeable from version 2.13.5 Rev220
PHP-8.1.x and above strongly recommended!!!
PHP-8.0.x a version that no longer receives updates.
Users of this version should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.    

Dietmar

Unfortunately, another bug has crept in that has not yet been noticed. We have therefore decided to extend the patch 222 to 223. The Import from Droplets to the Overview failed.

The patch is available in the wiki
Published WebsiteBaker 2.13.5 Patch 223
2024-01-17 : download on wiki… (https://wiki.WebsiteBaker.org/doku.php/en/downloads)

You also can download the latest Droplet v3.4.3 (https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?download=0CDF9402) module from the addon repository