• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

WB 2.13.5 R220 - Fehlermeldung im Adminbereich "ini_set"

Started by kuerbis42, January 08, 2024, 06:14:25 PM  ( Read 22,427 times )

kuerbis42

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:
ini_set('zlib.output_compression',1);
ini_set('zlib.output_compression_level',9);

geändert in
ini_set('zlib.output_compression','1');
ini_set('zlib.output_compression_level','9');


Datei: /admin/media/browse.php, Zeilen 33 + 34:
original:
ini_set('zlib.output_compression',1);
ini_set('zlib.output_compression_level',9);

geändert in
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

    Luisehahne

    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

    ini_set(string $option, string|int|float|bool|null $value): string|false

    in der CHANGELOG ist vermerkt das

    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
      Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

      Luisehahne

      #2
      Das Patch steht im Wiki zur Verfügung

      Published WebsiteBaker 2.13.5 Patch 222
      2024-01-10 : download on wiki...

      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

        Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

        hgs

        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?
          LG Harald

          "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

          "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

          hgs

          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.
            LG Harald

            "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

            "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

            Gast

            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

              Luisehahne

              Quote from: 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...

              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...

              You also can download the latest Droplet v3.4.3 module from the addon repository
                Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

                \n\n