From ae56a1f363f7394e44c1ba32a7c1b88c5c0f1094 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 4 Sep 2020 14:58:43 -0400 Subject: [PATCH] Turn off output buffering in view_video --- web/views/view_video.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/views/view_video.php b/web/views/view_video.php index 7c25fc83a..56837a5ba 100644 --- a/web/views/view_video.php +++ b/web/views/view_video.php @@ -30,6 +30,8 @@ if ( !canView('Events') ) { return; } +# in index.php we do ob_end_start but there can be no output before view_video and we often don't have enough ram to buffer the content. +ob_end_clean(); require_once('includes/Event.php'); $errorText = false;