• Resolved mriss71

    (@mriss71)


    After the last update nobody can use Open Live Writer anymore! Very big achievement!

    The response to the metaWeblog.newPost method received from the blog server was invalid: Invalid response document returned from XmlRpc server

    Invalid response document returned from XmlRpc server —> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 56, position 3.

    So everybody forced to log in and waist time …
    Even if it’s not blocked!
    Strange

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @mriss71,

    Could you check the Open Live Writer log file? What errors do you see there?

    What do you mean by

    So everybody forced to log in and waste time …

    ?

    Thread Starter mriss71

    (@mriss71)

    When posting using WLW or OLW the time wasted is around 10 sec!
    When posting through web it take up to 5 to 10 min!
    So it’s a very big difference!
    I am having this for WLW:

    “Exception parsing XML-RPC response:

    WindowsLive.Writer.CoreServices.XmlRpcClientInvalidResponseException: Invalid response document returned from XmlRpc server —> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 56, position 3.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.LoadXml(String xml)
    at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
    — End of inner exception stack trace —

    Problems appear asap as I updated to latest version of Wordfence!
    I guess I will return to previous one

    • This reply was modified 7 years, 4 months ago by mriss71.

    Hi @mriss71,

    After doing some research, I found out there are several possible causes of this issue; among which:

    • Insufficient memory limit and File Upload Limit allocated to PHP
    • A bug in PHP (5.2.2)
    • A warning regarding a deprecated PHP feature ($HTTP_RAW_POST_DATA) inserted at the start of the message rendering it invalid
    • Plugins conflict causing the message to be truncated

    The log file (in %LOCALAPPDATA%\OpenLiveWriter or %LOCALAPPDATA%\Windows Live Writer) should provide more information.

    Also, can you please confirm that the issue disappears when you disable Wordfence?

    • This reply was modified 7 years, 3 months ago by wfyann. Reason: Adding a probable cause (plugin conflict)
    Thread Starter mriss71

    (@mriss71)

    solved by a trick. uninstalled completely than reinstall and set!
    strange but efficient.
    sorry for not being active but I get a bad flu…

    Hi @mriss71,

    Thanks for letting us know. I’m glad you managed to fix this issue!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with xml-rpc.php’ is closed to new replies.