Hi! I am back again and always with the same problem.
I turned on E_ALL but I still can see nothing but
Fatal error: Cannot redeclare xmlrpc_decode() in /xmlrpc.inc on line 1380
Here is the client:
include("xmlrpc.inc");
$client=new xmlrpc_client("path", "host", 80);
$client->setDebug(1);
$first_
Ah, now I see. You need to use "xmlrpcval", not "xmlrpc_val".
Also, always turn on maximal error reporting when using PHP,
as follows:
error_reporting(E_ALL);
Jeff;
Hi Jeff!
Are you sure that you are not including or requiring the xmlrpc.inc
file _twice_?
Yes
Are you sure that you are _not_
Hi Jeff!
Are you sure that you are not including or requiring the xmlrpc.inc
file _twice_?
Yes
Are you sure that you are _not_ including the xmlrps.inc
file in your client?
Yes
The xmlrpc.inc file is used for the client; the xmlrpcs.inc file
is used for the server.
Can you post your entire clien
Are you sure that you are not including or requiring the xmlrpc.inc
file _twice_?
Are you sure that you are _not_ including the xmlrps.inc
file in your client?
The xmlrpc.inc file is used for the client; the xmlrpcs.inc file
is used for the server.
Can you post your entire client test program here?
After the changes, I keep on getting this (and I am beginning to get
insane!):
Fatal error: Cannot redeclare xmlrpc_decode() in
/.../xmlrpc.inc on line 1380
Sam
At 14.52 17/12/03, you wrote:
Hi Sam,
You should not need to do the xmlrpc_encode, and you need to
pass in an array of parameters instea
include the xmlrpc files, rather than
just a regular include. This may hopefully help to fix your problem.
Hope it helps
Regards,
Jason
>
> __
> From: Sam <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subjec
Oops, one typo. Never try to post code 10 minutes after you wake
up. My second example should be:
> $f=new xmlrpcmsg("method", array($par1));
Jeff;
Hi Sam,
You should not need to do the xmlrpc_encode, and you need to
pass in an array of parameters instead of a scalar value;
try it like this:
>
Hi Sam,
You should not need to do the xmlrpc_encode, and you need to
pass in an array of parameters instead of a scalar value;
try it like this:
> $par1=new xmlrpcval(array(
> "first_param" => new xmlrpcval("first_value", "string"),
> "second_param" => new xmlrpcval("second_value", "string")), "st
I read all that How-To, and the code I wrote is the same of that page. The
only difference is that I have to use a struct for the parameters (maybe
this is the problem? is my struct correct?).
I did not care about the server yet, because I am trying to use a service
provided by an external one,
Hi everybody,
I am new to phpxmlrpc. I downloaded the xmlrpc class and tried to use
it.
After lots of tries, I keep on getting this error:
Fatal error: Cannot redeclare xmlrpc_decode() in
/.../xmlrpc.inc on line 1380
I can get out of this, can anyone help me?
I am working with a very simple scrip
10 matches
Mail list logo