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
I fixed this by changing
output_buffering = Off
to
output_buffering = On
in /usr/local/lib/php.ini then restarting apache.
Ak, I stand corrected- it's still giving the errors. I'm still searching google, has anyone else run into this and fixed it?
Changing the function call to @ob_end_clean() seems to have made the errors stop, but I do not know what adding a @ does. :(
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 :)
Not sure if that does fix the issue or not, but...
QuoteReply #3 on: May 30, 2006
:o
Well, it's a temporary fix... :P