ID: 34440 Updated by: [EMAIL PROTECTED] Reported By: anecdote at yahoo dot com -Status: Open +Status: Feedback Bug Type: COM related Operating System: Windows XP PRO SP2/2003 Server PHP Version: 5.0.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-09-11 00:43:05] anecdote at yahoo dot com I don't understand you sniper... You said "It does not imply a bug in PHP itself" You saw I said... "I test with many old projects with 5.0.2/5.0.3/5.0.4 no problem." And "with 5.0.5/Lastest CVS got same error" My team at least 5-6 people tested many times. Did you test before answer ? Why not work with 5.0.5 ? Who can give me an answer ? It just released. Thank you. ------------------------------------------------------------------------ [2005-09-10 23:22:49] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2005-09-09 17:11:54] anecdote at yahoo dot com 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 ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34440&edit=1
