• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ob_Start(); -> this function sucks

#1
[eluser]donkey_[/eluser]
Hi folks,

I've created a controller called "keygen" -> this controller is the output of my model which generates me systemkeys for my system but everytime I call that controller i get that error


Quote:Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /var/www/panel/system/libraries/Exceptions.php on line 160

What do I have to do to change this?


kind regards - donkey_

#2
[eluser]yuga[/eluser]
hi!

read: http://ellislab.com/forums/viewthread/84317/

Had the same error even not using profiler.
For me solved by setting $config[‘compress_output’] = FALSE;

#3
[eluser]daninfpj[/eluser]
You can't echo or print any values if you use compression. You could use the Output Class instead (set_output method).


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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