PHP 4.0 Bug #8571 Updated: CGI application misbehaved
| From: | dful at metahogar dot com | Date: | Sat, 06 Jan 2001 17:54:03 +0000 |
| Subject: | PHP 4.0 Bug #8571 Updated: CGI application misbehaved | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43179@lists.php.net to get a copy of this message | ||
ID: 8571
User Update by: dful@metahogar.com
Old-Status: Feedback
Status: Open
Bug Type: IIS related
Description: CGI application misbehaved
I get the message:
--Begin of message--
CGI ERROR
CGI application misbehaved by not returning a complete set of headers. The headers that it did
return are:
--End of message--
In three situations:
1. A random error that corresponds to a bug in PHP 4.03pl1. The message does not appear after
refreshing the page. The condition to reproduce the error has not been identified, but is more
likely to happen when using header("Location: http://mysite.com/path/to/my/file.php");.
It happens even if you check that no output (such as carriage returns or spaces) has been sent
before the header instruction.
2. While setting headers after headers have been already sent. Functions like setcookie, header and
session_start can set header information. If headers have been already automatically sent by some
output, the error is likely to occur.
3. When requesting an URL with a file or directory that doesn't exist. THIS IS NOT A BUG. It
only happens if you have not checked the checkbox in:
Internet Information Services >> Web Site Properties >>
Home Directory >> Application Configuration >> Add/Edit Application Extension Mapping
>> Check that file exists.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-06 12:37:32] jmoore@php.net
A little bit more info than this is genrally needed. Please enlighten us to how the CGI application
misbehaved.
---------------------------------------------------------------------------
[2001-01-06 12:35:42] dful@metahogar.com
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8571