From: aylg at 21cn dot com
Operating system: windows2003
PHP version: 5.0.2
PHP Bug Type: COM related
Bug description: office web compenonts can't work in php5 normally
Description:
------------
these code can work in php4 normally,but in php5,it failed.
Reproduce code:
---------------
$this->hSpace=new COM("OWC.Chart");
if($this->hSpace!=false)
{
$this->hChart=$this->hSpace->Charts->Add();
Expected result:
----------------
these code can executed successfully
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Error
�Ҳ�����Ա�� ' in D:\wwwroot\webstat\common\chart.php:23 Stack trace: #0
D:\wwwroot\webstat\common\showimg.php(6): CHART->init(650, 250) #1 {main}
thrown in D:\wwwroot\webstat\common\chart.php on line 23
--
Edit bug report at http://bugs.php.net/?id=31005&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31005&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31005&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31005&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31005&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31005&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31005&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31005&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31005&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31005&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31005&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31005&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31005&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31005&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31005&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31005&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31005&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31005&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31005&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31005&r=mysqlcfg