Bug #10730 Updated: Problems with COM objects
| From: | derick@php.net | Date: | Tue, 08 May 2001 13:28:07 +0000 |
| Subject: | Bug #10730 Updated: Problems with COM objects | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54384@lists.php.net to get a copy of this message | ||
ID: 10730
Updated by: derick
Reported By: Pietro.Picca@cern.ch
Old-Status: Open
Status: Closed
Bug Type: Unknown/Other Function
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
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.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-08 09:16:59] Pietro.Picca@cern.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)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10730&edit=2