suddenly my XMLRPC calls to create a new page dont return a pageid anymore, they return nothing.
The page gets created (without the content, only the title) and nothing gets returned.
anyone experiences this also?
suddenly my XMLRPC calls to create a new page dont return a pageid anymore, they return nothing.
The page gets created (without the content, only the title) and nothing gets returned.
anyone experiences this also?
The xmrpc.log states:
2010-04-01 23:06:55 Output: Posted ! ID: 8828
so where to travel from there?
aha! I think something has changed it now returns
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><string>8830</string>
</value>
</param>
</params>
</methodResponse>
Somehow.... in the past I had todo $response = xmlrpc_decode($file);
after this but that returns now an empty string, has something changed here?
Hmmm if I copy the returned string in a string and do the echo of the xmlrpc_decode($file) it works...
If I however do exactly the same on the returned string... it returns nothing...
So the root cause is that the php function:
xmlrpc_decode
no longer works on the response, at least probably not without some pre processing, dont know what yet.
Ok... this was simple from now on I have to put a....
trim(...) around the response.....
I dont know what has changed, but apparently..... a space has been added somewhere in the code........
whatever, took me some time though.
cant believe im the only one with a no longer functioning xmlrpc retriever though.
This topic has been closed to new replies.