Today when I wanted to use Windows live writer to publish a post again, there appeared a problem “The response to the blogger.getUsersBlogs method received from the weblog server was invalid, You must correct this error before proceeding”.

Then I was confused coz yesterday I could publish successfully, today can not, so I searched a lot in many search engines, and there are many solutions:

  1. Deactive your all plugins, and see whether it works, if works, you have to deactive plugins one by one, and you will know which plugin cause this problem;
  2. Add 3 lines in your .htaccess file(if you use IIS host, skip this):

<Files xmlrpc.php>
SecFilterInheritance Off
</Files>

and there are also many solutions, but no use, coz I’m using WordPress 2.8, basically errors in old version have been corrected.

Finally I found the solution in BAIDU search engine, it is the common error in WordPress 2.8, but I dont know why it appears today, not previous days.

Go to your wp-include directory, and open “class-IXR.php”, find

$length = strlen($xml);

and add “+3” to it

$length = strlen($xml)+3;

Then I publish post using Windows live writer again, it works!

Copyright protected, if you want to share this post, pls dont forget to write down it is from [http://neversummer.net], thanks.