PhpExcel icon indicating copy to clipboard operation
PhpExcel copied to clipboard

ERR_INVALID_RESPONSE

Open nbranning opened this issue 8 years ago • 1 comments

I am getting a ERR_INVALID_RESPONSE on my live server. The download works great on localhost. I have tried adding headers but no luck. Any suggestions? Could it be server related?

nbranning avatar Apr 05 '16 02:04 nbranning

Even if this is older than a year, try to get as much debug information as possible. If your live server uses zlib compression, ob_end_clean(); around line 332 in PhpExcelComponent could be the problem. You can solve it by changing it to:

$ob_get_status = ob_get_status();
if($ob_get_status['name']!='zlib output compression')ob_clean();

You should also consider upgrading the PhpExcel Library, as it's outdated in this Plugin.

julianpollmann avatar Dec 07 '17 12:12 julianpollmann