From: tei <42...@in...> - 2004-02-02 18:33:06
|
Stanislaw Berka escribió: > 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> > >>> > > 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. > Hummm... I think can be fixed with a edit at index.php or similar, deactivating compresion (sending has gz) or something.. I remenber a question about that at the phpwiki.sourceforge.net wiki Re-searching: http://phpwiki.sourceforge.net/phpwiki/FullTextSearch?s=ob_gzhandler looks like prettywiki has help: http://phpwiki.sourceforge.net/phpwiki/PrettyWiki Also know bugs: http://phpwiki.sourceforge.net/phpwiki/KnownBugs And FAQ: http://phpwiki.sourceforge.net/phpwiki/FrequentlyAskedQuestions The solutions ends has... Disable the compression in the index.php // By default PhpWiki will try to have PHP compress its output // before sending it to the browser (if you have a recent enough // version of PHP and the browser supports it.) // Define COMPRESS_OUTPUT to false to prevent output compression. // Define COMPRESS_OUTPUT to true to force output compression, // even if we think your version of PHP does this in a buggy // fashion. // Leave it undefined to leave the choice up to PhpWiki. //define('COMPRESS_OUTPUT', false); become: // By default PhpWiki will try to have PHP compress its output // before sending it to the browser (if you have a recent enough // version of PHP and the browser supports it.) // Define COMPRESS_OUTPUT to false to prevent output compression. // Define COMPRESS_OUTPUT to true to force output compression, // even if we think your version of PHP does this in a buggy // fashion. // Leave it undefined to leave the choice up to PhpWiki. define('COMPRESS_OUTPUT', false); ... I suspect (not tested). > > 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 > arghhh!!!! :( Finding at the phpwiki, nor lucky :( retryinng... retryiinnng... retrrrrryuiiiinngggg..... retruuuuiiii1111nnnnarrgggghhhhhhhhhhhh!!!!!!!.... /me died > 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" >> ----------^ >> > |