• pj

    (@psinco)


    When I try to use blogging software to connect to my site, I keep getting this error, “XML-RPC Response Parsing Failed,” with this message, “The operation couldn’t be completed. Opening and ending tag mismatch: methodResponse line 2 and methodRe.” (I’ve tried a few different programs.)

    Indeed, when I check the console log, I see the “<methodResponse>” tag closes like this: “</methodRe”.

    I can’t figure out how to correct the xmlrpc.php file so this doesn’t happen. Does anyone know how to fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pj

    (@psinco)

    Another clue is that when I switch themes, I don’t have this problem. I’m using a custom theme, built up from the bare-bones Starkers theme. But I never touched the xmlrpc.php file.

    Yet when I switch to Starkers–no problem connecting to site through xml-rpc. Switch to my theme–problem.

    Does anyone have any suggestions, places to look, incantations to chant, etc.?

    Joseph Scott

    (@josephscott)

    Sounds like one of your theme files has a BoM – http://en.wikipedia.org/wiki/Byte_order_mark in it. If I were to guess which file I start with functions.php in your theme.

    Thread Starter pj

    (@psinco)

    Thank you for the suggestion, josephscott. I checked the file and didn’t see any garbage characters. I’ll check others and disable plug-ins and maybe upload a new xmlrpc.php file.

    I know a lot of people have xml-rpc snags. I’ve searched through these forums and elsewhere and have yet to find a solution that works for this particular ornery problem.

    cogmios

    (@cogmios)

    Since about a week My XMLRPC code did not work anymore without me even touching that piece of php code for ages.

    I found out that I now need to trim(xmlrpc_decode) the stuff, maybe it is related. I suspect more apps interacting via xmlrpc will fail now if they just use plain xmlrpc_decode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“XML-RPC Response Parsing Failed”’ is closed to new replies.