• Remember to address to the Bug Tracking guidelines and to follow the instructions in the post ticket template.
  • Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

'ob_gzhandler' conflicts with 'zlib output compression' when upgrading to 4.2.2

Version
4.2.2
PHP version
8.3.13
Database driver
MySQL
Database version
8.0.39-0ubuntu0.24.04.2
Web browser
Chrome

mikaa

Chevereto Member
▶ Reproduction steps
  1. Try to upgrade your Chevereto Instance to the new one (actually 4.2.2).
😢 Unexpected result

This will trigger an error when upgrading, I bypassed the problem by putting this in the .htaccess (php_flag zlib.output_compression off) and I think that's because I'm using mod deflate on my apache. There is no problem after that and I managed to upgrade successfully to the latest version but just wanted to report it for other people.

📃 Error log message

Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/html/app/upgrading.php:47

# Message [Code #2]
ob_start(): Output handler 'ob_gzhandler' conflicts with 'zlib output compression'

# Incident ID:672e233e6ab81

# Time
2024-11-08T14:42:06+00:00 [1731076926]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/upgrading.php:47
{main}()
------------------------------------------------------------
#1 /var/www/html/app/upgrading.php:47
ob_start()
------------------------------------------------------------
#2 /var/www/html/app/legacy/entrypoints/index.php:23
require(string(length=31))
------------------------------------------------------------
#3 /var/www/html/index.php:12
require_once(string(length=46))
------------------------------------------------------------
 
Back
Top