Forums

XML-RPC error message "parse error. not well formed"

  1. Hi,

    I can't log into my self-hosted site. I can confirm that the xmlrpc and rsd links are present in the header as they should be, and xmlrpc.php responds to requests fine (eg, I don't have any weird security plugins installed). However, the app seems to be choking somewhere. Using the XML-RPC validator here: http://xmlrpc.eritreo.it/?site_url=https%3A%2F%2Fwilchak.com#, there seems to be a problem processing the basic test request.

    The host is a Debian 8 with PHP 7. Everything else works fine. I cannot figure out why XML-RPC is broken.

    Please advise. Thanks!

  2. Hi trotsky,

    I'm sorry to hear about the trouble.

    I took a look at the info in the log at http://xmlrpc.eritreo.it/?site_url=https%3A%2F%2Fwilchak.com and the issue seems to be something server-side. Notice that the XML-RPC response reads:

    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
        <fault>
            <value>
                <struct>
                    <member>
                        <name>faultCode</name>
                        <value>
                            <int>-32700</int>
                        </value>
                    </member>
                    <member>
                        <name>faultString</name>
                        <value>
                            <string>parse error. not well formed</string>
                        </value>
                    </member>
                </struct>
            </value>
        </fault>
    </methodResponse>

    even though the XML-RPC request *is* properly formatted. I'm afraid the app won't be able to communicate with your blog until this issue is resolved.

    You might try contacting your host's support staff and see if they can provide any clues.

  3. Hi Eric,

    Thanks for the response. I figured it out. Turns out I had installed the php-xmlrpc package but NOT the php-xml package. Fun times.

  4. Hi @trotsky,

    Thanks for letting us know. Happy to hear you got it sorted out. :)

    Cheers!

Leave a Reply

You must log in to post.


About this Topic

Tags

No tags yet.