logo       
Google Custom Search
    AddThis Social Bookmark Button

Opening a new session problem: msg#00042

Subject: Opening a new session problem
When opening the PhpWiki page for the first time with Mozilla 1.2.1, the following problem is reported at the top of the page by Wiki (IE shows only erro message-see below):

<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 don't know PHP and also it might be more a configuration problem rather than a code bug. 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, 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




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>