ID: 8571 Updated by: lobbin Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.0.3pl1 New Comment:
Can this be reproduced with PHP 4.1.0? Previous Comments: ------------------------------------------------------------------------ [2001-01-06 12:54:03] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2001-01-06 12:37:32] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8571&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]