• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • (Not a bug) Garbled page output with PHP 7.4 (zlib extension is required)

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: (Not a bug) Garbled page output with PHP 7.4 (zlib extension is required)

    • Issue Tools
      • View Changes
    1. issueid=6095 September 25, 2020 9:09 AM
      ACL ACL is offline
      Regular Member
      (Not a bug) Garbled page output with PHP 7.4 (zlib extension is required)

      On my local testing server, with XF2.1 and VW4.1.0 b001, changing to PHP 7.4 causes wiki page output to either be garbled or for placeholder text to be shown. Changing back to PHP 7.3 resolves this issue.

      The garbled text seems to be limited to one Area, although the size of the wiki on my local test server is very small. This area only contains regular pages and templates. Both of those content types are affected + the Area main page. If it helps, I can create other content type pages.

      I was able to create a new wiki page under PHP 7.4 and the page output is correct this time. Further revisions with PHP 7.4 are also fine. However, if I change my testing server back to PHP 7.3 and then edit the same wiki page, changing forward to PHP 7.4 will once more result in unexpected placeholder or garbled text when viewing the same wiki page.

      Trying to compare two revisions displays an error: "Error: Content uses an unsupported type of compression."

      There are no entries in the XenForo admin cp server error log.

      Two PHP 7.3 vs 7.4 comparison screenshots have been attached to this issue
    Issue Details
    Issue Number 6095
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Page Output
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0
    Fixed Version 4.1.1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 2
    Assigned Users (none)
    Tags (none)




    1. September 26, 2020 1:33 AM
      pegasus pegasus is offline
      VaultWiki Team
      "Error: Content uses an unsupported type of compression."

      The revisions created under PHP 7.3 were compressed, but your PHP 7.4 installation cannot decompress them due to missing PHP functions. Most likely this occurred because your PHP 7.3 was compiled --with-zlib and your PHP 7.4 was not. Since your existing revisions use zlib compression, you will need to continue using it.
      Reply Reply  
    2. September 26, 2020 5:21 AM
      ACL ACL is offline
      Regular Member
      Most likely this occurred because your PHP 7.3 was compiled --with-zlib and your PHP 7.4 was not.
      D'oh . Thanks, you've hit the bulls eye . With the system I use for local offline testing, by default the zlib extension was included in PHP 7.3 (and earlier) but made it optional in 7.4.

      So this is not a bug with VaultWiki.
      Reply Reply  
    3. September 30, 2020 6:57 PM
      pegasus pegasus is offline
      VaultWiki Team
      This should be improved beginning in VaultWiki 4.1.1. Beginning in that version, VaultWiki will start tracking whenever it uses ZLIB functions, and will display prominent admin messages in various locations should this capability suddenly disappear.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:39 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.