|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30979 Cant load COM
Submitted: 2004-12-04 01:46 UTC Modified: 2005-03-08 01:00 UTC
Avg. Score:4.7 ± 0.6
Reproduced:11 of 12 (91.7%)
Same Version:10 (90.9%)
Same OS:7 (63.6%)
From: jayron_castro at hotmail dot com Assigned:
Status: No Feedback Package: COM related
PHP Version: 5.0.2 OS: Windows 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jayron_castro at hotmail dot com
New email:
PHP Version: OS:


 [2004-12-04 01:46 UTC] jayron_castro at hotmail dot com
when the option below is active error it always happens in the script:

zend.ze1_compatibility_mode = On

the only solution is to incapacitate:

zend.ze1_compatibility_mode = Off

Reproduce code:
$ocodaut = new COM("JaccGeraCod.cCripCod") or die("objeto n?o instanciado");
$vl_codaut = $ocodaut->Autorizacao(7075,12,12,101,50);
echo "codigo: $vl_codaut";

Expected result:
teste: 00280282528

Actual result:
PHP has encountered an Access Violation at 0178F6B4


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-28 21:19 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-03-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-05-19 19:34 UTC] lacent at gmail dot com
$objLocator = new COM("WbemScripting.SWbemLocator");
$this->wmi = $objLocator->ConnectServer();

Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> SWbemLocator<br/><b>Description:</b> Access denied ' in F:\test.php:36 Stack trace: #0 F:\test.php(36): com->ConnectServer() #1 F:\test.php(333): sysinfo->sysinfo() #2 {main} thrown in F:\test.php on line 36

same code works on a win2000 box.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 01:01:31 2024 UTC