From: zyablik at insc dot ru
Operating system: XP SP2 IIS onboard
PHP version: 5.1.4
PHP Bug Type: COM related
Bug description: Uncaught exception 'com_exception'
Description:
------------
Fatal Exeption on new COM("Word.Application")
Reproduce code:
---------------
Very well known example for testing "word.Application" COM object.
my line 13 is:
$word = new COM("Word.Application");
... the same as expected
$word->Documents->Add();
Expected result:
----------------
Creation of new test word file.
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message
'<b>Source:</b> Microsoft Word<br/><b>Description:</b> Could not open
macro storage.' in D:\dir\com.php:13 Stack trace: #0 D:\dir\com.php(13):
variant->Add() #1 {main} thrown in D:\dir\com.php on line 13
What does that means?
--
Edit bug report at http://bugs.php.net/?id=38021&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38021&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38021&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38021&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38021&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38021&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38021&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38021&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38021&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38021&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38021&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38021&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38021&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38021&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38021&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38021&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38021&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38021&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38021&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38021&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38021&r=mysqlcfg