Bug #16411 Updated: CGI application misbehaved by not returning a complete set of

From: Date: Sun, 02 Jun 2002 21:53:17 +0000
Subject: Bug #16411 Updated: CGI application misbehaved by not returning a complete set of
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9227@lists.php.net to get a copy of this message
ID: 16411 Updated by: k.schroeder@php.net Reported By: vielina@hn.vnn.vn Status: Open Bug Type: MSSQL related Operating System: Windows 2000 PHP Version: 4.1.2 New Comment: Please try it again with a right header like Location: http://www.domain.tld/some.php. Location header needs a complete absolute URI. Regards, Kai Previous Comments: ------------------------------------------------------------------------ [2002-04-03 09:46:44] vielina@hn.vnn.vn I have the same set of php scripts, php 4.0.6 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 redirections. In this particular installation, 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 installations, the only difference was the installation 4: MS-SQL 2000. I later made another test: from the installation 3, I made an upgrade of MS SQL from 7.0 to 2000. The same problem happened. I have tested with php 4.1.2 and 4.0.6. I had the same symptoms with both versions Is there anything in php_mssql that does the job with MS-SQL 2000 but has some sort of side-effect that causes the above strange bug? Would any one spend time looking into the code? It would help us a lot. Thank you very much! Loi Le V. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16411&edit=1

« previous php.bugs (#9227) next »