• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error when data is output via ajax when GZIP enabled

Firebug is showing that my desired output is in fact generated, but right behind it is an error message:

<b>Fatal error</b>:  ob_start() [&lt;a href='ref.outcontrol'&gt;ref.outcontrol&lt;/a&gt;]: Cannot use

output buffering in output buffering display handlers in <b>/var/www/CI/system/libraries/Exceptions

.php</b> on line <b>160</b><br />

I'm guessing it's because the data is just echo'd out rather than through CI's output method?

Does anyone know how I would be able to fix this?

Thanks in advance!

[eluser]Pascal Kriete[/eluser]
That's exactly right, what you want to do instead is set the output and let ci display it:

Make sure there are no other echos or outputs though.

EDIT: it works, thanks for the help! I was editing the wrong file hehe, I guess that happens!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.