From: Stanislaw B. <sb...@po...> - 2004-02-02 18:04:10
|
That's the same problem I reported 2-3 weeks ago. I analyzed it and asked for help but haven't got any response. I'm attaching my analysis below again for convenience. Please, help! === start: problem analysis repeated from earlier message When opening the PhpWiki page for the first time with Mozilla (ver. 1.2.1) or Netscape, the following problem is reported at the top of the page by Wiki (IE shows no page at all - only error message; see below for error): >>> <div class="error"><p>lib/Request.php:136: Warning[2]: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'</p> </div> >>> Here's what I have found on Google: +++ Error: "ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter'" Reason: You call ob_start('ob_gzhandler'); after session_start hs been called and trans_sid is used. Solution: Call ob_start('ob_gzhandler'); before session_start(). +++ I have no idea how to apply this "advice". I know Java but PHP is still a mystery for me and also it might be more a configuration problem rather than a code bug. Any pointers? Please, help. IE: 6.0 on WinME OS: Red Hat Linux PHP: 4.3.4 MySQL: 4.0.15-stand PhpWiki: 1.3.4 If I use IE 6.0 instead of Mozilla/Netscape, the message is even more cryptic: >>> Error reported by IE: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://www.saintclarechurch.org/phpwiki/index.php'. Line 4, Position 11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ----------^ >>> End Error === and tei wrote: > Forget my last mail, the error reapear. :( > > ----------------- > > The XML page cannot be displayed > Cannot view XML input using XSL style sheet. Please correct the error > and then click the Refresh button, or try again later. > > > -------------------------------------------------------------------------------- > > Cannot have a DOCTYPE declaration outside of a prolog. Error > processing resource 'http://telejano.berlios.de/wiki3/'. Line 4, > Position 11 > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > ----------^ > |