#25759 [NEW]: COM Instantiation causes Script to fail silently
| From: | david dot nicholls at camden dot gov dot uk | Date: | Mon, 06 Oct 2003 13:26:02 +0000 |
| Subject: | #25759 [NEW]: COM Instantiation causes Script to fail silently | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-48582@lists.php.net to get a copy of this message | ||
From: david dot nicholls at camden dot gov dot uk
Operating system: Windows 2000
PHP version: 5CVS-2003-10-06 (dev)
PHP Bug Type: COM related
Bug description: COM Instantiation causes Script to fail silently
Description:
------------
Following on from bug 25732 I am trying PHP5-dev from CVS
Code that worked previously under 4.3.3 now fails silently
error_reporting = E_ALL is set
Reproduce code:
---------------
$acctDomain = "Camden";
echo "Making COM connection using ADSI\n\r";
$acctStr = "WinNT://".$acctDomain;
echo "$acctStr\n\r";
$comUsers = new COM($acctStr);
echo "new COM Sucessful";
Expected result:
----------------
'new COM Sucessful' to be printed at console or an error code
Actual result:
--------------
Nothing, just brings back command promt
C:\Inetpub\wwwroot\ntadmin>php comtest.php
Content-type: text/html
X-Powered-By: PHP/5.0.0b2-dev
Making COM connection using ADSI
WinNT://Camden
C:\Inetpub\wwwroot\ntadmin>
--
Edit bug report at http://bugs.php.net/?id=25759&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25759&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25759&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25759&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25759&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25759&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25759&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25759&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25759&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25759&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25759&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25759&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25759&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25759&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25759&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25759&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25759&r=float