[phpxmlrpc] Undefined variables
Jason Bradley Nance
aitrus@tresgeek.net
Wed, 8 Jan 2003 10:11:30 -0600
Okay, I fixed the fatal error. It was my stupidness using the wrong =
version
of my code... *sigh*
But I'm still unable to debug what is happening. The output I get is:
---GOT---
HTTP/1.1 200 OK
Date: Wed, 08 Jan 2003 16:06:57 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_perl/1.27
mod_layout/3.2 mod_ssl/2.8.9 OpenSSL/0.9.6b
X-Powered-By: PHP/4.2.2
Connection: close
Content-Type: text/xml
Content-length: 387
<?xml version=3D"1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>3</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Incorrect parameters passed to method: Wanted , =
got
at param )</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>
---END---
---EVALING---[178 chars]---
new xmlrpcval(array('faultCode' =3D> new xmlrpcval(3, =
'int'),'faultString' =3D>
new xmlrpcval("Incorrect parameters passed to method: Wanted , got at =
param
)", 'string')), 'struct');
---END---
But because of this:
PHP Notice: Undefined variable: wanted in
/home/httpd/html-dev/xrtests/xmlrpcs.inc on line 207
PHP Notice: Undefined variable: got in
/home/httpd/html-dev/xrtests/xmlrpcs.inc on line 207
PHP Notice: Undefined variable: pno in
/home/httpd/html-dev/xrtests/xmlrpcs.inc on line 207
I don't know what's happening with the parameters...
Ideas?
j
> PHP Notice: Undefined index: ac in xmlrpc.inc on line 333
> PHP Notice: Undefined variable: wanted in xmlrpcs.inc on=20
> line 207 PHP Notice: Undefined variable: got in xmlrpcs.inc=20
> on line 207 PHP Notice: Undefined variable: pno in=20
> xmlrpcs.inc on line 207 PHP Fatal error: Call to a member=20
> function on a non-object in xmlrpc.inc on line 1018
--
Jason Bradley Nance
Tres Geek
aitrus@tresgeek.net
http://tresgeek.net/
"What would you cry for?
Swallow your pride for?
What would you go wild for?"
-- Poe, "Wild"