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

I just installed question2answer script in my hosting, I got the following error on top of my installation ; http://www.herkesuzman.com/q2a


Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/polo6r/public_html/q2a/qa-include/qa-index.php on line 149

Does anyone knows why this error occurs?

1 Answer

0 votes
by

It sounds like your web server is already compressing content, so Q2A's attempt to do the same is clashing. You can fix this by modifying this line in qa-config.php:

define('QA_HTML_COMPRESSION', true);

... to ...

define('QA_HTML_COMPRESSION', false);

by
I tried your proposition but it gave me this error this time ;


Warning: Cannot modify header information - headers already sent by (output started at /home/polo6r/public_html/q2a/qa-include/qa-util-string.php:1) in /home/polo6r/public_html/q2a/qa-include/qa-page.php on line 684
by
Yes, that's a different issue - qa-util-string.php has a UTF-8 BOM character at the start - you should hopefully be able to remove this with a text editor.
by
which text should I try to remove in qa-util-string.php?
There are many codes including UTF-8 inside...
...