php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5054 Alternate error when querying
Submitted: 2000-06-15 10:39 UTC Modified: 2000-09-03 18:13 UTC
From: fjortiz at comunet dot es Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.0 Release OS: Windows NT4 SP6
Private report: No CVE-ID: None
 [2000-06-15 10:39 UTC] fjortiz at comunet dot es
I compiled PHP4 under WinNT 4.0, and php_mssql70.dll, and loaded it under IIS4. I can connect to a MSSQL 7 Database, select database and close connections perfectly. But when I call mssql_query, I get an alternate error: at first, the query goes perfectly. Then I press "Refresh" in the browser, and I get an error: "PHP encountered an Access Violation at 00000000". Then, after refreshing again, the query is made perfectly... and so on, I alternate an error with a normal result.

I close all open connections. In case it helps, I couln't find the headers "sqlfront.h" and "sqldb.h" needed by php_mssql70.h in the original PHP4 tarball, so I used those from version 3.0.16 and everything compiled fine (wooops!)

I hope it helps, I can debug it myself if you give me some hints (I've little time).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:53 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-09-03 18:13 UTC] sniper@php.net
No feedback from user. Closed.

--Jani
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 21:03:33 2021 UTC