From: Jeff D. <da...@da...> - 2003-04-01 18:22:31
|
> I've actually been getting the blank page too since I switched php over > > to the cgi version.. I tried making the above change and the following > happened: > > lib/Request.php:240: Warning[2]: session_start() [<a > href='http://www.php.net/function.session-start'>function.session- > start</a>]: Cannot send session cookie - headers already sent > > lib/Request.php:240: Warning[2]: session_start() [<a > href='http://www.php.net/function.session-start'>function.session- > start</a>]: Cannot send session cache limiter - headers already sent > > lib/display.php:135: Warning[2]: Cannot modify header information - > headers already sent Something is creating text (HTML) output before it should. More than likely, you inadvertently added a blank line or two after the '?>' at the end of index.php. > This was at the bottom of the page: > PHP Warnings > > lib/config.php:258: Notice[8]: Undefined index: SCRIPT_NAME > > lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME This is fixed (I think) in the current CVS version. For older versions, try defining SCRIPT_NAME explicitly in index.php to work around this problem. > lib/Request.php:143: Warning[2]: ob_gzhandler() [<a > href='http://www.php.net/ref.outcontrol'>ref.outcontrol</a>]: output > handler 'ob_gzhandler' cannot be used twice Not quite sure what causes this yet (though it's been reported before.) To work around this, disable output compression by PhpWiki. How to do this is (again) version dependent. In recent code, you can define COMPRESS_OUTPUT to false in index.php. In older code, you need to edit lib/Request.php, and remove (or comment out) the guts of method Request::compress_output(). -- -- Jeff Dairiki <da...@da...> |