I've got a site that throws a Content Encoding Error in the browser if a ob_start('ob_gzhandler') is present. If I remove the statement, it runs fine.
I've now removed all of the code on the remote server, and re-uploaded everything. Still no change. The next step would be to re-install the site, and start from scratch, but I don't want to loose all of the data.
Any pointers, suggestions or solutions?
usually I do below and it works for me, give it a try
Write ob_end_clean();
or ob_flush();
at the bottom of the page where you start ob_start();
References: