From: garvinhicking Date: Thu, 28 Apr 2005 12:15:31 +0000 (+0000) Subject: gzip encoding is making too many problems, set it off as default: X-Git-Tag: 0.9~492 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b9fdc1bc1d94c7cf662998b661dafe2f849a300f;p=s9y.git gzip encoding is making too many problems, set it off as default: Warning: (null)() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0 or Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /include/functions.inc.php on line 28 Tom, do you know more about it, can you fix it properly? It seems the ob_functions need to be called before our session_start, but ob_* may also not interfer with our BC-compatibility $raw_data stuff or the simplecache plugin. I also firmly believe gzip compression is a webserver matter and IMHO should not be touched in application level? --- diff --git a/docs/NEWS b/docs/NEWS index e3f121a..7652edf 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,10 @@ Version 0.9 () ------------------------------------------------------------------------ + * Deactivated gzip compression by default, as in certain server + setups it creates problem with double-encoding or missing + ob_gzhandlers. (garvinhicking) + * Give HTML Nugget the option for a second "description" attribute that is used in the Plugin Configuration section, so that HTML nuggets with an empty title still display additional information diff --git a/include/tpl/config_local.inc.php b/include/tpl/config_local.inc.php index b10878f..2e90fa6 100644 --- a/include/tpl/config_local.inc.php +++ b/include/tpl/config_local.inc.php @@ -200,7 +200,7 @@ 'title' => INSTALL_USEGZIP, 'description' => INSTALL_USEGZIP_DESC, 'type' => 'bool', - 'default' => true), + 'default' => false), array('var' => 'wysiwyg', 'title' => INSTALL_WYSIWYG,