Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: Seg on May 29, 2006, 06:06:32 PM

Title: failed to delete buffer. No buffer to delete.
Post by: Seg on May 29, 2006, 06:06:32 PM
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
Title: Re: failed to delete buffer. No buffer to delete.
Post by: Seg on May 29, 2006, 06:22:42 PM
I fixed this by changing
output_buffering = Off
to
output_buffering = On
in /usr/local/lib/php.ini then restarting apache.
Title: Re: failed to delete buffer. No buffer to delete.
Post by: Seg on May 30, 2006, 12:23:23 AM
Ak, I stand corrected- it's still giving the errors. I'm still searching google, has anyone else run into this and fixed it?
Title: Re: failed to delete buffer. No buffer to delete.
Post by: Seg on May 30, 2006, 01:24:41 AM
Changing the function call to @ob_end_clean() seems to have made the errors stop, but I do not know what adding a @ does.   :(
Title: Re: failed to delete buffer. No buffer to delete.
Post by: I_Is_Payton_ on January 08, 2014, 09:21:16 PM
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 :)
Title: Re: failed to delete buffer. No buffer to delete.
Post by: margarett on January 08, 2014, 09:25:36 PM
Not sure if that does fix the issue or not, but...

QuoteReply #3 on: May 30, 2006
:o
Title: Re: failed to delete buffer. No buffer to delete.
Post by: I_Is_Payton_ on January 09, 2014, 10:09:40 PM
Well, it's a temporary fix...  :P