XML error when refreshing
  • I get the following error in my RPC console when I try to refresh. I am on Dreamhost, but I am not using WordPress.

    Any ideas?

    RPC message sent: 2007-06-11 22:12:47 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: metaWeblog.getRecentPosts
    RPC reply received: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: metaWeblog.getRecentPosts
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>metaWeblog.getRecentPosts</methodName>
    <params>
    <param>
    <value><string>1</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    <param>
    <value><int>10</int></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getCategoryList
    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC message sent: 2007-06-11 22:12:48 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.supportedTextFilters
    RPC reply received: 2007-06-11 22:12:49 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.supportedTextFilters
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.supportedTextFilters</methodName>
    <params>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC reply received: 2007-06-11 22:12:49 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>455</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:49 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:49 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>454</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:49 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>457</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getCategoryList
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getCategoryList</methodName>
    <params>
    <param>
    <value><string>1</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>451</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>456</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>450</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC message sent: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    RPC reply received: 2007-06-11 22:12:50 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>452</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC reply received: 2007-06-11 22:12:51 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>449</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC reply received: 2007-06-11 22:12:51 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>447</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    RPC reply received: 2007-06-11 22:12:52 -0700
    URL: http://thedalzells.org/?ACT=23&id=1
    Method name: mt.getPostCategories
    Status code: 200
    Succeeded: NO
    --Fault Error--
    Fault code: 105
    Fault string: XML error: Invalid document end at line 1
    Request text:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <methodCall>
    <methodName>mt.getPostCategories</methodName>
    <params>
    <param>
    <value><string>448</string></value>
    </param>
    <param>
    <value><string>erin</string></value>
    </param>
    <param>
    <value><string>[password]</string></value>
    </param>
    </params>
    </methodCall>

    Response text:
    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>105</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>XML error: Invalid document end at line 1</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>
  • Hmm - this isn't ringing any bells. Is this new behavior after it worked before? Or is this your first time trying and it's just been failing from the start?

    I will do some research and see if I can find any evidence of similar problems out there. I did a quick Google search and it shows some similar errors for "invalid document at line 1" but I'm not really sure what the root problem is.
  • Yup, used to work before. Is this just a different manifestation of the PHP bug?
  • I think it's definitely worth a quick test, if you're up to it. Try editing the xmlrpc.php file in your installation, and make sure the very top of the file has this line:

    $HTTP_RAW_POST_DATA = file_get_contents("php://input");

    Put it right after the first "<?php"

    If that fixes it then it's definitely the same issue.
  • Yup, same issue. Same fix solved it.
  • Great - thanks for updating us. Hopefully this problem will blow over soon!
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!