php.net |  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
Votes:12
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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jayron_castro at hotmail dot com
New email:
PHP Version: OS:

 

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

zend.ze1_compatibility_mode = On


ATTENTION:
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-28 21:19 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [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
code:
$objLocator = new COM("WbemScripting.SWbemLocator");
$this->wmi = $objLocator->ConnectServer();

result:
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: Thu Dec 12 09:01:27 2024 UTC