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.

output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'

June 18, 2011 9:06pm

Subscribe [3]
  • #1 / Jun 18, 2011 9:06pm

    123454329

    144 posts

    A PHP ERROR WAS ENCOUNTERED
    Severity: Warning
    
    Message: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'
    
    Filename: core/Output.php
    
    Line Number: 264

    Please advice!

  • #2 / Jun 20, 2011 8:47am

    Sue Crocker

    26054 posts

    Hi, Thomas. What were you doing when the error happened? What happens if you turn off gzipping?

  • #3 / Jun 20, 2011 11:39am

    123454329

    144 posts

    Sue,
    it shows up occasionally without any visible pattern.

    A PHP ERROR WAS ENCOUNTERED
    Severity: Warning
    
    Message: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'
    
    Filename: core/Output.php
    
    Line Number: 264

    gzip is an essential feature to me as it speeds up page load significantly. i won’t do without it - that’s why i need to get rid of the error.
    thanks for your help!

  • #4 / Jun 20, 2011 4:19pm

    Brandon Jones

    5500 posts

    Hi Thomas,

    Have you contacted your host regarding this error? A Google search indicates that this may be related to running PHP via CGI, and isn’t ExpressionEngine-specific.

  • #5 / Jun 20, 2011 5:00pm

    123454329

    144 posts

    I’ll check that and report back. Thanks, Brandon.

  • #6 / Jun 20, 2011 5:54pm

    Brandon Jones

    5500 posts

    Thanks Thomas; we’ll be here.

  • #7 / Jun 22, 2011 4:20pm

    123454329

    144 posts

    Brandon,
    i have switched off gzip for now. My host wants to know if mod_deflate is a viable option with EE?

  • #8 / Jun 23, 2011 12:27pm

    Brandon Jones

    5500 posts

    Hi Thomas,

    EE uses PHP’s standard output buffering commands. I’m not familiar with the specifics of your server setup but there are plenty of EE sites out there using Gzip successfully, so do give mod_deflate a try if possible.

  • #9 / Jun 27, 2011 8:17pm

    123454329

    144 posts

    A PHP Error was encountered
    Severity: Warning
    Message: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'
    Filename: core/Output.php
    Line Number: 264

    Hi Brandon,
    by now i have installed Brilliant Retail and it is running fine. Before that module i never had the above mentioned issue - so i am wondering if it is connected. where exactly does ‘URL-Rewriter’ come into play with EE?

    btw, i get the warning even after i switch gzip off in EE.

    Thanks!

  • #10 / Jun 28, 2011 8:43pm

    Lisa Wess

    20502 posts

    Hi, Thomas,

    We haven’t seen that error come up before; if you uninstall BR temporarily, does the error go away? If so, you may need to follow up with the Brilliant Retail folks.

    Let us know!

  • #11 / Jun 30, 2011 11:33am

    123454329

    144 posts

    Lisa,
    i’ll let you know as soon as i find out. Thanks for your support.

  • #12 / Jun 30, 2011 4:07pm

    Lisa Wess

    20502 posts

    My pleasure, Thomas.  I"ll leave this open for that follow up. Thanks!

  • #13 / Jun 30, 2011 4:08pm

    123454329

    144 posts

    Encantado, Lisa!

  • #14 / Jul 01, 2011 12:10pm

    Brandon Jones

    5500 posts

    Thanks Thomas, keep us posted.

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

ExpressionEngine News!

#eecms, #events, #releases