From: David de G. <da...@vi...> - 2003-01-05 00:30:27
|
Hi, I've had some issues with phpwiki on my setup. Firstly, in the file: phpwiki/themes/default/templates/head.tmpl the line: <link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(RECENT_CHANGES, array('format' => 'rss'))?>" /> Should be: <link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL('RECENT_CHANGES', array('format' => 'rss'))?>" /> Note the single quotes around RECENT_CHANGES. The other major issue I had was in: phpwiki/lib/Request.php The section: function compress_output() { if ( function_exists('ob_gzhandler') && function_exists('version_compare') /* (only in php >= 4.1.0) */ && version_compare(phpversion(), '4.2.3', ">=") ){ ob_start('ob_gzhandler'); $this->_is_compressing_output = true; } } I had to change to: function compress_output() { if ( function_exists('ob_gzhandler') && function_exists('version_compare') /* (only in php >= 4.1.0) */ && version_compare(phpversion(), '4.2.3', ">=") ){ $this->_is_compressing_output = false; } } As the only browser I had that worked with the compressed pages was IE 5.2.2 on MacOS X. All Mozilla style browsers and IE 6.0 on Win2k just displayed garbage or wanted to save a file when clicking on links off the homepage (or in the case of mozilla based browsers, displayed garbage on the home page). It seems there is either a problem with mime-types or these other browsers do not handle inline compressed pages correctly. However, disabling compression in the manner above seems to have fixed the problem for me. David -- David de Groot ICQ: 38962228 / 1315031 AIM: dadegroot MSN: bee...@vi... |