[icinga-checkins] icinga.org: icinga-web/r1.8: exceptions/logging: Fix " Uncaught AppKitPHPError: PHP Error ob_end_clean(): failed to delete buffer. No buffer to delete..."

git at icinga.org git at icinga.org
Mon Jan 14 11:15:13 CET 2013


Module: icinga-web
Branch: r1.8
Commit: ddd85297c285b58da22b584d2cef0b11ca216c87
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=ddd85297c285b58da22b584d2cef0b11ca216c87

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Thu Dec  6 18:24:33 2012 +0100

exceptions/logging: Fix "Uncaught AppKitPHPError: PHP Error ob_end_clean(): failed to delete buffer. No buffer to delete..."

---

 lib/agavi/src/exception/AgaviException.class.php |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/lib/agavi/src/exception/AgaviException.class.php b/lib/agavi/src/exception/AgaviException.class.php
index 6d43193..25688a9 100644
--- a/lib/agavi/src/exception/AgaviException.class.php
+++ b/lib/agavi/src/exception/AgaviException.class.php
@@ -288,11 +288,6 @@ class AgaviException extends Exception
 			$exceptions[] = $e;
 		}
 		
-		// discard any previous output waiting in the buffer
-        if(ob_get_length()) {		
-            while(@ob_end_clean());
-	    }
-	
 		if($container !== null && $container->getOutputType() !== null && $container->getOutputType()->getExceptionTemplate() !== null) { 
 			// an exception template was defined for the container's output type
 			include($container->getOutputType()->getExceptionTemplate()); 





More information about the icinga-checkins mailing list