• Resolved cogmios

    (@cogmios)


    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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter cogmios

    (@cogmios)

    The xmrpc.log states:

    2010-04-01 23:06:55 Output: Posted ! ID: 8828

    so where to travel from there?

    Thread Starter cogmios

    (@cogmios)

    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?

    Thread Starter cogmios

    (@cogmios)

    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…

    Thread Starter cogmios

    (@cogmios)

    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.

    Thread Starter cogmios

    (@cogmios)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘XMLRPC new page’ is closed to new replies.