RE: Undefined variables

"Jason Bradley Nance" <[email protected]>
Newsgroups gmane.comp.php.xml-rpc
Organization Tres Geek
Message-ID <[email protected]>
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="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' => new xmlrpcval(3, 'int'),'faultString' =>
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 
> line 207 PHP Notice:  Undefined variable:  got in xmlrpcs.inc 
> on line 207 PHP Notice:  Undefined variable:  pno in 
> xmlrpcs.inc on line 207 PHP Fatal error:  Call to a member 
> function on a non-object in xmlrpc.inc on line 1018

--
Jason Bradley Nance
Tres Geek
[email protected]
http://tresgeek.net/

"What would you cry for?
 Swallow your pride for?
 What would you go wild for?"

                  -- Poe, "Wild"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.