PHP 4.0 Bug #9001 Updated: Unexpected error message
| From: | phanto@php.net | Date: | Wed, 31 Jan 2001 09:48:35 +0000 |
| Subject: | PHP 4.0 Bug #9001 Updated: Unexpected error message | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45438@lists.php.net to get a copy of this message | ||
ID: 9001
Updated by: phanto
Reported By: sjrijk@yahoo.com
Status: Open
Bug Type: COM related
Assigned To:
Comments:
hmm, can you try executing your script with the php.exe on your system (without the webserver in the
middle), maybe it has to do with the user rights of the IUSR_.
does it work with other scripting languages (e.g. perl, JScript) ?
php does nothing with the registry, imo the IUSR_ has not enough rights to do so.
harald.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-31 02:12:09] sjrijk@yahoo.com
No, that's the strange thing.
Nothing has changed in the system's registry;
No programs have been (un)installed during the time.
Is it perhaps possible that PHP erases or alters the system's registry (unknowningly) upon
failure?
I've tested the COM objects (together with MS Word) quite a lot and not all my tests were quite
successfull.
---------------------------------------------------------------------------
[2001-01-30 19:16:49] phanto@php.net
since this is a windows error message and not a php one, i can only imagine that there's
something wrong with your office installation.
have you changed something in your registry ?
try to run the office-setup again.
harald.
---------------------------------------------------------------------------
[2001-01-30 08:55:37] sjrijk@yahoo.com
When the following commands are executed:
$word = new COM("word.application") or die("Unable to instantiate Word");
the following error appears:
Warning: Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}:
Server execution failed in c:inetpubwwwroottest.php on line 14
Unable to instantiate Word
This a very odd error, because the Task Manager shows that PHP has executed the Word application (as
winword.exe) w/o any problem.
What's even more odd, the above used to work w/o any problems, although there have not been any
changes in configuration.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9001