Open GoogleCodeExporter opened 9 years ago
Hi,
If it works locally, there is probably something wrong with setting up the
connection. One way to check is to use wget from your server to the xmlrpc
endpoint and see what happens. You can also take a look at the response the
client returns, e.g.:
$result = $client->someMethod();
echo '<pre>' . $client->_response . '</pre>';
It may be that the server needs special headers, cookies or something else. It
may also be that a firewall somewhere is blocking your request. It's hard to
say what the problem is without more information.
Original comment by a...@muze.nl
on 15 Jun 2015 at 11:00
[deleted comment]
I get this:
Ripcord_Client Object ( [_url:Ripcord_Client:private] =>
http://url.com/xmlrpc/2/common [_transport:Ripcord_Client:private] =>
Ripcord_Transport_Stream Object ( [options:Ripcord_Transport_Stream:private] =>
Array ( ) [responseHeaders] => ) [_outputOptions:Ripcord_Client:private] =>
Array ( [output_type] => xml [verbosity] => pretty [escaping] => Array ( [0] =>
markup ) [version] => xmlrpc [encoding] => utf-8 )
[_namespace:Ripcord_Client:private] => [_rootClient:Ripcord_Client:private] =>
Ripcord_Client Object *RECURSION* [_cloneObjects:Ripcord_Client:private] =>
[_multiCall:protected] => [_multiCallArgs:protected] => Array ( ) [_response]
=> [_request] => [_throwExceptions] => [_autoDecode] => 1 )
Original comment by da...@closemarketing.es
on 15 Jun 2015 at 12:26
I don't see a _request, which means that Ripcord hasn't actually send a
request, I think. Did you call a valid xmlrpc method? Or is the var_dump from
the client from just before you did a call?
Original comment by a...@muze.nl
on 15 Jun 2015 at 2:19
I'm using:
try {
$common = ripcord::client($url.'xmlrpc/2/common');
}
But in local, the response is blank as well, but it does connect. It's very
strange, I don't see the difference.
Where can i put the dump?
Original comment by da...@closemarketing.es
on 17 Jun 2015 at 12:14
In my console I see Error server 500...
Original comment by da...@closemarketing.es
on 17 Jun 2015 at 3:31
Hello, some idea?
Original comment by da...@closemarketing.es
on 23 Jun 2015 at 10:43
Original issue reported on code.google.com by
da...@closemarketing.es
on 15 Jun 2015 at 10:24