• Resolved MortenBo

    (@mortenbo)


    Hi

    I use WP 2.9.2 and Cover WP theme. When I try to set up WLW as my blogging-tool I get the following error in WLW log file:
    "Exception attempting to read RSD file: 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 2, position 3.

    As I understand, the XML returned to WLW probably contains some empty lines at the top. But I have no idea as how to attac and correct this problem. I have set up another blog with the same theme and have no problem connecting WLW to that.

    any good suggestions out there?

Viewing 6 replies - 1 through 6 (of 6 total)
  • It could also be a plugin that is interfering with the XML being returned.

    What’s the URL for your site? I can take a quick look at the RSD for the site and see if there is anything obvious that jumps out.

    Thread Starter MortenBo

    (@mortenbo)

    Hi.. Thanks ?? I have tried disabling plugins. The url is https://bil.bogetvedt.com

    My active plugins at the moment are:
    Akismet
    SmartYoutube
    Wordpress.com stats
    WP-PrettyPhoto

    All plugins are at latest version.

    Thread Starter MortenBo

    (@mortenbo)

    Anyone got any ideas as how to look at the xml being returned? This would probably help me locate the error.

    There is a new line at the top of your RSD output – https://bil.bogetvedt.com/xmlrpc.php?rsd

    This is likely caused by a plugin or theme functions.php file that is doing a direct output of a newline some where.

    Thread Starter MortenBo

    (@mortenbo)

    Thanks

    Any tips as to how to detect that empty line? I have tried deactivating all plugins and check the rsd file again but it’s still a blank line at the top….

    I checked the feed from another testblog i have made: https://bolig.bogetvedt.com and this give me the same feed as for bil.bogetvedt.com but I can use LiveWriter.. strange..

    Thread Starter MortenBo

    (@mortenbo)

    Ah.. Problem solved… I found 2 blank lines at the end of wp-config.php

    Checked the file after reading this

    Case closed ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Windows Live Writer – Setting up connection fails’ is closed to new replies.