apologies if there's something obvious that I've missed, I'm about as much 
of a newbie to phpxmlrpc as you can get :)

I'm getting an error on the server whenever I try to return a string other 
than what was passed in as a param.


$s = $m->getParam(0); //works correctly however

$s = "some text in here".$m->getParam(0); //throws error (this is basically 
the same as what's in examples.echo)

if I try joining 2 params I also get the same error ($s = 
$m->getParam(1).$m->getParam(0); gives error)

it gives call to member on non object error message.

the error I'm getting is

HTTP/1.1 200 OK
Date: Fri, 07 Sep 2001 05:07:52 GMT
Server: Apache/1.3.17 (Win32)
X-Powered-By: PHP/4.0.6-dev
Connection: close
Content-Type: text/html

<b>Fatal error</b>:  Call to a member function on a non-object in 
<b>d:\html\cheesin\xmlrpc\xmlrpc.php</b> on line <b>555</b><br>


as you can probably gather from that, I've renamed the .inc's to .php's 
though I don't think that should matter. also using win98, apache 1.3.17 
and php4.0.6-dev (guess I should upgrade sometime)

line 555 is $rs.="<params>\n<param>\n" . 

any help would be appreciated

Tai :)



For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html

Reply via email to