ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP error: 'ob_gzhandler' conflicts with 'zlib output compression'

August 08, 2012 1:07pm

Subscribe [4]
  • #1 / Aug 08, 2012 1:07pm

    fogcity

    260 posts

    Any clue what causes this?

    My localhost install of EE 2.5.2 suddenly started inserting these errors into my page:

    A PHP Error was encountered
    Severity: Warning
    
    Message: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'
    
    Filename: core/Output.php
    
    Line Number: 264
    
    A PHP Error was encountered
    Severity: Notice
    
    Message: ob_start(): failed to create buffer
    
    Filename: core/Output.php
    
    Line Number: 264

    UPDATES:

    When I turn OFF teh “Enable GZIP Output?” option in the CP, these errors go away.

    Also, this is a localhost (MAMP) install on my laptop that’s been running fine for a month with very regular use. This error just appeared this morning.

  • #2 / Aug 09, 2012 11:27am

    Shane Eckert

    7174 posts

    Hello fogcity,

    I am sorry to hear you are running into this problem.

    It sounds like something changed on the system itself. Any changes recently, and new installs?

    What browser are you using?

    Thank you,

  • #3 / Aug 09, 2012 12:49pm

    Heiko

    135 posts

    Same problem here, also using MAMP. Maybe it’s a non-EE issue?

  • #4 / Aug 09, 2012 1:20pm

    Shane Eckert

    7174 posts

    Hey Heiko,

    It sounds like it. An update may have stomped a library on the system that was needed.

    Thanks for chiming in Heiko.

    Cheers,

  • #5 / Aug 09, 2012 1:49pm

    Heiko

    135 posts

    Glad, I could contribute… 😊

  • #6 / Aug 09, 2012 2:15pm

    Shane Eckert

    7174 posts

    Heiko,

    😊

  • #7 / Aug 20, 2012 8:15pm

    Angie Herrera

    365 posts

    I’ve been having this same issue since I upgraded to the latest version of MAMP (Pro). Found a fix online. Just have to add this to your .htaccess file:

    php_value zlib.output_compression off

    Hope that helps!

  • #8 / Aug 21, 2012 3:36am

    Shane Eckert

    7174 posts

    Hey all,

    Love all the collaboration!

    What do you think fogcity?

    Cheers,

  • #9 / Aug 31, 2012 12:41am

    Heiko

    135 posts

    Hi guys,

    after some fiddling around, I figured I just had to switch to PHP 5.3 in MAMP to get this - and lots of other addon-related problems - to work.

    Heiko

  • #10 / Aug 31, 2012 2:28pm

    Shane Eckert

    7174 posts

    Hey Heiko,

    AWESOME! Nice work and thank you for sharing!

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases