failed to delete buffer. No buffer to delete.

Started by Seg, May 29, 2006, 06:06:32 PM

Previous topic - Next topic

Seg

After migrating my website to a new host and upgrading apache, mysql and php to the latest versions I'm starting to see these errors in my logs and I cannot figure out what they are about.
Quote
Error message '8: ob\_end\_clean() [<a href='ref.outcontrol'>ref.outcontrol</a>]: failed to delete buffer. No buffer to delete.
File: /usr/www/domain.com/Sources/Display.php
Line: 965'
So far nothing seems broken to my users though.
Has anyone here seen this before and could point me in the right direction?
Thanks,
-Seg
"If you feed us cans, do we not bleat?"

Seg

I fixed this by changing
output_buffering = Off
to
output_buffering = On
in /usr/local/lib/php.ini then restarting apache.
"If you feed us cans, do we not bleat?"

Seg

Ak, I stand corrected- it's still giving the errors. I'm still searching google, has anyone else run into this and fixed it?
"If you feed us cans, do we not bleat?"

Seg

Changing the function call to @ob_end_clean() seems to have made the errors stop, but I do not know what adding a @ does.   :(
"If you feed us cans, do we not bleat?"

I_Is_Payton_

Hi, to fix this go into your www directory, smf directory, sources, then edit display.php go down to ob_end_clear();
and change it to:
if (ob_get_length() > 0) { ob_end_clean(); }

Kind regards - Payton :)

margarett

Not sure if that does fix the issue or not, but...

QuoteReply #3 on: May 30, 2006
:o
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

I_Is_Payton_


Advertisement: