Bug #15765 Updated: mssql_query (and mssql_select_db) crashes php.exe
| From: | paprocki at pomerantz dot com | Date: | Wed, 27 Feb 2002 20:51:08 +0000 |
| Subject: | Bug #15765 Updated: mssql_query (and mssql_select_db) crashes php.exe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1221@lists.php.net to get a copy of this message | ||
ID: 15765
Updated by: paprocki@pomerantz.com
Reported By: paprocki@pomerantz.com
Status: Open
Bug Type: MSSQL related
Operating System: Windows 2000 Server
PHP Version: 4.1.1
New Comment:
as of this time, I have tested this with ISAPI plugin and php.exe CGI
method and it happens using both.
Previous Comments:
------------------------------------------------------------------------
[2002-02-27 14:48:57] paprocki@pomerantz.com
I am able to connect to SQL Server v7.0 over the network, but after I
am connected (with either _connect or _pconnect), mssql_select_db with
a valid db crashes php.exe.
If I remove mssql_select_db call, mssql_query crashes.
When I removed mssql_select_db call, I added a login to the server
which used my db as the default db (so I wouldnt need to select it
obviously). I changed my mssql_connect call to reflect the new username
and password. I forgot to add select permissions for the table I
created, and when I tried to run the code, it actually printed out an
error stating that the MSSQL driver couldn't select on the table
because of the lack of permissions. When I added permissions to the
server and re-ran the code, it then crashed php.exe.
All crashes are 'instruction at "0x00000000" tried to reference
"0x00000000"' so that is not really helpful.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15765&edit=1