Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
786 views
in Plugins by


Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/u438194872/public_html/question2answer/qa-include/qa-index.php on line 90

Notice: ob_start(): failed to create buffer in /home/u438194872/public_html/question2answer/qa-include/qa-index.php on line 90
 

1 Answer

+3 votes
by

It might be caused by double compression.

Solution1: qa-config.php

define('QA_HTML_COMPRESSION', false);

- OR -

Solution2: .htaccess

php_value zlib.output_compression off 

by
Thanx for the answer,  but i can't find this line on the qa-conpig.php or on hataccess file..Can you give me more details?
by
edited by
i remove this lines on qa-index.php file and it is fixed...its a problem to the system?

if (($qa_request_lc!='install') && ($qa_request_lc!='admin/recalc')) // not for lengthy processes
    if (extension_loaded('zlib') && !headers_sent())
            ob_start('ob_gzhandler');
by
To be precise, it is not a bug. However,  some check processing is missing. Priority of compression processing of web server is higher than specific application. There is a need to make sure that has already been compressed with ini_get() function. Or, it is necessary to stop the compression by the web server with ini_set() function.
...