[eluser]chmod[/eluser]
[quote author="brianw1975" date="1235040630"]First off, if the xmlrpc response you get has "<h4>A PHP Error was encountered</h4>" in it.. then the server is not Java.
Second, the error is rather obvious "Undefined offset: 0" means that your data array is not working right and that the code is trying to use that array at line 627 repeatedly.
Finally on line 646 of this file E:\AppServ\www\myproject\system\libraries\Xmlrpc.php the function serialize_class() is being used inappropriately.[/quote]
maybe,
I am sure the error "A PHP Error was encountered"
is output in my client,not the server's response.
but I only loaded xmlRPC libriary,and not modified the source file libraries/Xmlrpc.php. I have read the file,and can not look for a resolution.
I use xmlrpc libriary refer to the example in CI's notebooks:
Code:
$this->load->library('xmlrpc');
$this->xmlrpc->server('http://rpc.pingomatic.com/', 80);
$this->xmlrpc->method('weblogUpdates.ping');
$request = array('My Photoblog', 'http://www.my-site.com/photoblog/');
$this->xmlrpc->request($request);
if ( ! $this->xmlrpc->send_request())
{
echo $this->xmlrpc->display_error();
}