#16411 [Com]: CGI application misbehaved by not returning a complete set of

From: Date: Fri, 13 Dec 2002 17:25:13 +0000
Subject: #16411 [Com]: CGI application misbehaved by not returning a complete set of
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27630@lists.php.net to get a copy of this message
 ID:               16411
 Comment by:       _@mrmachine.net
 Reported By:      vielina@hn.vnn.vn
 Status:           Feedback
 Bug Type:         MSSQL related
 Operating System: Windows 2000
 PHP Version:      4.1.2
 New Comment:

i'm also experiencing this error with win xp, mssql 2000, and php 4.3.0
rc3.

is it a problem with php, or with the mssql libraries?


Previous Comments:
------------------------------------------------------------------------

[2002-12-08 10:31:33] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



------------------------------------------------------------------------

[2002-12-02 19:59:17] vielina@hn.vnn.vn

Database connections are all transient.

In the original code, I did not close the connections because php would
do that at the end of script. But as I was in doubt, I later made a
close right before calling the function header() but the same problem
happened.

I also made another test: in the script I just opened and immediately
right after colsed it. The same bug happened.

When I removed that tiny chunk of code, every thing worked just fine.

------------------------------------------------------------------------

[2002-12-02 19:57:52] vielina@hn.vnn.vn

Database connections are all transient.

In the original code, I did not close the connections because php would
do that at the end of script. But as I was in doubt, I later made a
close right before calling the function header() but the same problem
happened.

I also made another test: in the script I just opened and immediately
right after colsed it. The same bug happened.

When I removed that tiny chunk of code, every thing worked just fine.

------------------------------------------------------------------------

[2002-11-30 20:36:38] mail-php.net@kimihia.org.nz

What are you doing with your database connections? Are they persistant
(mssql_pconnect) or transient (mssql_connect)? Do you close your
connections explicitly (mssql_close) before the end of your script?

vielina, your connections will be closed each time as you are running
under the CGI.

------------------------------------------------------------------------

[2002-11-21 03:29:36] xd1013@163.com

I have this problem too.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16411

-- 
Edit this bug report at http://bugs.php.net/?id=16411&edit=1



Thread (33 messages)

« previous php.bugs (#27630) next »