Bug #12562 Updated: CGI Error-CGI application misbehaved

From: Date: Sat, 23 Mar 2002 07:37:58 +0000
Subject: Bug #12562 Updated: CGI Error-CGI application misbehaved
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3183@lists.php.net to get a copy of this message
ID: 12562 Updated by: vielina@hn.vnn.vn Reported By: arisg@pemudakristen.net Status: Open Bug Type: IIS related Operating System: Windows 2000 Server PHP Version: 4.0.6 New Comment: I have the same set of php scripts, php 4.06 CGI running on: 1-Windows NT 4.0 with IIS4, MySQL, MS-SQL 7; this works fine; 2-Windows 2000 server with IIS5, MySQL, MS-SQL 7; this works fine; 3-Windows 2000 advanced server with IIS5, MySQL, MS-SQL 7; this works fine; 4-Windows 2000 advanced server with IIS5, MySQL, MS-SQL 2000; this still works except that a curious error occurs: Im using a lot of Header ("location: some.php") for redirects. In this particular install, right after the call of header function, the browser still gets the right URI, but then it issues the following error (a copy again here): <message> CGI ERROR CGI application misbehaved by not returning a complete set of headers.The headers that it did return are: </message> The funny thing was that if I refresh the page then it works just fine. When I look back at the 4 installs, the only difference was the install 4: MS-SQL 2000. Is there anything in php_mssql that does the job with MS-SQL but has some sort of side-effect that causes the above strange bug? Would any one from the php team spend times looking into the code? It would help us a lot. In the meantime, I will be testing other options. Loi Le V. Previous Comments: ------------------------------------------------------------------------ [2002-03-06 16:26:26] robleo@iol.it I have the following problem. With Win 2000 Server NOT PHP but ACTIVESTATE PERL and ODBC connection with Sql Server. I have noticed this strange thing and only with frames ....that connect all TO ODBC SOURCE (parent frame and son frames) : SEE LOG OF INTERNET INFORMATION SERVICES, the GET of the son frame comes firstly of get of parent frame in the CGI ERROR'S cases ------------------------------------------------------------------------ [2002-01-10 06:23:12] matteuzzi@smart.it Same problem. I have installed my application in some PCs but I have the problem only in the production server (the fastest). I have some frames in my pages and I use ODBC If I try to reload the page with the error, it works fine ------------------------------------------------------------------------ [2001-08-04 00:06:26] arisg@pemudakristen.net I install php 4.06 in windows 2000 server with IIS included in Windows 2000 server I am using php_mssql.dll and php_pdf.dll. I do repeat edit, update, list records database in same page, same record 10 time. In any random time when a list records there is error CGI Error-CGI application misbehaved. These error not happens in IIS 4.0 in windows NT 4.0- system. Aris G ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12562&edit=1

« previous php.bugs (#3183) next »