diff --git includes/common.inc includes/common.inc
index 12940ab..a6b2a83 100644
--- includes/common.inc
+++ includes/common.inc
@@ -2528,9 +2528,11 @@ function drupal_page_footer() {
   if (variable_get('cache', 0) && ($cache = drupal_page_set_cache())) {
     drupal_serve_page_from_cache($cache);
   }
+  /* Disabling because something calls drupal_page_header() after this point.
   else {
     ob_flush();
   }
+  */
 
   _registry_check_code(REGISTRY_WRITE_LOOKUP_CACHE);
   drupal_cache_system_paths();
