Menu

Problem when starting a session

Help
Stan Berka
2004-01-14
2012-10-11
  • Stan Berka

    Stan Berka - 2004-01-14

    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:

    <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

     
    • Anonymous

      Anonymous - 2004-03-26

      Same problem here. Can anyone help?
      Bump.

       
    • Reini Urban

      Reini Urban - 2004-04-10

      index.php:
      COMPRESS_OUTPUT false

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.