1
I get the following error on my pages
Warning [PHP]: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in file include/cp_functions.php line 33
The following is the first few lines of my cp_functions.php file, can anyone see a problem with the code? I've never changed this file. When I turn off gzip compression the error goes away. Its not a big problem, it was just niggling me
define('XOOPS_CPFUNC_LOADED', 1);
function xoops_cp_header()
{
global $xoopsConfig, $xoopsUser;
if ($xoopsConfig['gzip_compression'] == 1) {
ob_start("ob_gzhandler");
} else {
ob_start();
}
if (!headers_sent()) {
header ('Content-Type:text/html; charset='._CHARSET);
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header('Cache-Control: no-store, no-cache, must-revalidate');
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
}
echo "";
echo '._LANGCODE.'" lang="'._LANGCODE.'">