PHP 4.0 Bug #9001 Updated: Unexpected error message
| From: | sjrijk at yahoo dot com | Date: | Fri, 02 Mar 2001 12:14:58 +0000 |
| Subject: | PHP 4.0 Bug #9001 Updated: Unexpected error message | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47783@lists.php.net to get a copy of this message | ||
ID: 9001
User Update by: sjrijk@yahoo.com
Old-Status: Closed
Status: Open
Bug Type: COM related
Description: Unexpected error message
I've uninstalled IIS 5.0 and replaced it with the latest version of Apache.
The code works like clockwork.
No alterations were necessary.
Seems the problem it with IIS instead of with the installation of MS Win2K or MS Office.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-02 13:06:03] phanto@php.net
no feedback.
---------------------------------------------------------------------------
[2001-01-31 04:48:35] phanto@php.net
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.
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=9001