Re: RH7.3+Oracle9i(9.2.0)Client+PHP4.2.1+Apache1.3.26
| From: | Hubert ADGIE | Date: | Thu, 11 Jul 2002 07:24:24 +0000 |
| Subject: | Re: RH7.3+Oracle9i(9.2.0)Client+PHP4.2.1+Apache1.3.26 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20491@lists.php.net to get a copy of this message | ||
in a76999.pdf
[
ORA-00909 invalid number of arguments
Cause: An Oracle function was referenced with an incorrect number of
arguments. All Oracle functions, except for SYSDATE, require at least one
argument.
Action: Correct the syntax of the function by entering the required number of
arguments.
]
So it seems like if your are using an Oracle function within our statement.
Is that true ?
At 11/07/2002 06:56, Gordon Yeung wrote:
I'm just upgrading Linux Server to RH7.3 and installed Oracle9i(9.2.0) Client+PHP4.2.1+Apache1.3.26 Everything goes smoothly. However, when I access the Oracle server by means of PHP, it gives the following error: Warning: OCIStmtExecute: ORA-00909: invalid number of arguments The line that cause the error is: $result = ociexecute($cursor); The same PHP is running well in my old server (RH6.2+Oracle8i(8.0.x)+PHP4.0.3+Apache1.3.12). Can anyone here give me advice ? Thanks Gordon Yeung-- Hubert ADGIE hubert.adgie@ispinfo.fr Tel : +33 5 53 88 00 76 Fax : +33 5 53 88 01 16