diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2388ae66b4..1baa7abd9a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2945,7 +2945,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline) { if (@extension_loaded('zlib') && !headers_sent()) { - ob_flush(); + @ob_flush(); } } @@ -3662,6 +3662,9 @@ function exit_handler() } } + // As a pre-caution... some setups display a blank page if the flush() is not there. + @flush(); + exit; }