#31280 [NEW]: Impossible to instance word XP with COM and php 4.3.10

From: Date: Fri, 24 Dec 2004 05:35:27 +0000
Subject: #31280 [NEW]: Impossible to instance word XP with COM and php 4.3.10
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71022@lists.php.net to get a copy of this message
From: kir at post dot kg Operating system: Windows XP SP2 PHP version: 4.3.10 PHP Bug Type: COM related Bug description: Impossible to instance word XP with COM and php 4.3.10 Description: ------------ Hello. i'm using com object to generate word file on server-side with word xp. Everything was OK until i change php from 4.3.9 to 4.3.10. My Apache call an erorr in Windows XP. After using last update php (http://snaps.php.net/win32/php4-win32-STABLE-200412232130.zip), apache start to call an erorr after $word->Visible = 0; Before update - after $word = new COM("word.application"); Reproduce code: --------------- $word = new COM("word.application") or die("Unable to instanciate Word"); $word->Visible = 0; $word->Documents->Add(); $word->Selection->Typetext("new text"); $word->Documents[1]->SaveAs("new.doc", 0); $word->Quit(); $word->Release(); $word = null; Expected result: ---------------- Create new word document Actual result: -------------- Not created -- Edit bug report at http://bugs.php.net/?id=31280&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31280&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31280&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31280&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31280&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31280&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31280&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31280&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31280&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31280&r=support Expected behavior: http://bugs.php.net/fix.php?id=31280&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31280&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31280&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31280&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31280&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31280&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31280&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31280&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31280&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31280&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31280&r=mysqlcfg

« previous php.bugs (#71022) next »