php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10730 Problems with COM objects
Submitted: 2001-05-08 09:16 UTC Modified: 2001-05-08 09:28 UTC
From: Pietro dot Picca at cern dot ch Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.5 OS: Windows NT
Private report: No CVE-ID: None
 [2001-05-08 09:16 UTC] Pietro dot Picca at cern dot ch
Dear Sirs,
I am a user of a provider equipped with Windows NT, and not a web administrator directly. On their servers, the new version of PHP has been installed on last Friday, and all my previous scripts interfacing to MS Access databases do not work any longer. The error generated is the following:
"PHP has encountered an Access Violation at 2474FF04"
The lines generating this are the following:
  $dbc = new COM("ADODB.Connection");
  $dbc->open("DRIVER={Microsoft Access Driver (*.mdb)};DBQ=$dbpath");
  $rs = $dbc->execute("SELECT Contatore FROM Contatori WHERE Riferimento = '$origin'");
where $dbpath contains the absolute path of the database on the server and $origin is a parameter for the SQL statement.
I'd like to add that this lines were perfectly working with the 4.0.4 version. I know the best thing to do would be use ODBC, but unfortunately my provider does not allow its users to manage DNS.
So, I would only like to report this bug.
Thanks for your attention,
Pietro M. Picca
Delphi Webmaster (CERN)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-08 09:28 UTC] derick@php.net
We are aware of this problem and this will be fixed in php 4.0.6
Acutally, it's already fixed in CVS :)
Thanks for your report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC