|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-12 23:25 UTC] sniper@php.net
[2005-11-25 14:02 UTC] yummie007 at yahoo dot com
[2005-11-25 14:29 UTC] tony2001@php.net
[2006-04-18 13:53 UTC] srabol at mail dot tele dot dk
[2006-11-24 09:33 UTC] june2004 at yahoo dot com
[2006-12-24 12:35 UTC] rrichards@php.net
[2007-01-01 01:00 UTC] php-bugs at lists dot php dot net
[2007-03-07 16:56 UTC] anecdote at yahoo dot com
[2007-03-07 16:58 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 16:00:01 2025 UTC |
Description: ------------ Hello I experienced some bug but not sure may be the new way of PHP.... I use php 5.0.2 with my company project with COM (My company COM) and just upgraded to 5.0.5 [Sample Code] <?php $cat=new COM("XModule.Categories"); $protype=$cat->IndexOf("Sim"); $list=$protype->Items[0];//Error this line echo $list; ?> [Result] Fatal error: Uncaught exception 'com_exception' with message 'Error [0x8002000e] Invalid number of parameters. ' in C:\PHP\Customer\test.php:4 Stack trace: #0 C:\PHP\Customer\test.php(4): unknown() #1 {main} thrown in C:\PHP\Customer\test.php(4): on line 4 [Expected Result] Nokia 6680 ++++++++++++++++++++++++ I test with many old projects with 5.0.2/5.0.3/5.0.4 no problem. I tried to test ADODB.Connection ADODB.Recordset etc.. ***Access 2002-2003/MDAC 2.8*** with 5.0.5/Lastest CVS got same error. [Sample Code] <?php $con = new COM("ADODB.Connection"); $rs = new COM("ADODB.Recordset"); $con->Open("PROVIDER=Microsoft.Jet.OLEDB.4.0; DATA SOURCE=C:\\test.mdb"); $query = "SELECT * FROM Company"; $rs->Open($query, $con, 1, 3); echo $rs->Fields->Item[0];//Error this line ?> [Expected Result] Simple Mobile Any suggestion ?