From: Preston L. B. <pre...@co...> - 2002-11-30 06:39:33
|
OK - narrowed this down. The culprit is in Request.php: function compress_output() { if (function_exists('ob_gzhandler')) { //print "<p>FILE " . __FILE__. " LINE " . __LINE__ . "</p>"; ob_start('ob_gzhandler'); $this->_is_compressing_output = true; } } The "print" statement is mine. Uncomment the "print" statement and the page renders OK. Comment out the "print" statement and the page renders as gibberish. Apparently compressing the output is causing ... some sort of problem. Preston L. Bannister wrote: > I am trying to get phpwiki running on a new Redhat 8.0 box. This is a > pretty much stock up-to-date Redhat box - Apache 2.0.40 and PHP 4.2.2 > (of primary interest). The setup is extremely vanilla - as in using > an unedited index.php. > > For some reason phpwiki pages are coming up as gibberish in Mozilla > (on Windows and Linux) or is IE. The same pages viewed through lynx > look OK. > If I put a simple "print" statement in index.php anywhere before > main.php is included the pages render fine (with the expected PHP > header() errors). > > Maybe I've missed something, but I don't see a prior mention of this > sort of problem. > > This is true with either phpwiki 1.3.3 or the current version from CVS. > > I'll take crack at debugging this, but would like to know if someone > else has seen the same. > > -- > Preston L. Bannister > pre...@co... > pbannister on Yahoo Messenger |