ID: 30979 Comment by: lacent at gmail dot com Reported By: jayron_castro at hotmail dot com Status: No Feedback Bug Type: COM related Operating System: Windows 2003 PHP Version: 5.0.2 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2005-03-08 01:00:13] 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". ------------------------------------------------------------------------ [2005-02-28 21:19:04] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2004-12-04 01:46:56] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30979&edit=1