Monday, September 6, 2010

Windows Live Writer and WordPress problem solved

While I was trying to set up windows live writer to post to this site, I got the following error.
Invalid Server Response - The response to the blogger.getUsersBlogs method received from the weblog server was invalid
Googling didn't help to find a solution to this problem.  I fired up fiddler to see what is going on with the response.  Fiddler showed the following as the first line in the response.
b>Warning</b>:  include(./wp-load.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in ........
The above line is coming from xmlrpc.php.
ah..ha.. This blog was set up as a root folder.  Somehow WordPress assumes that all blogs must be in a sub-folder of the root site.

Changing that include line from
include('./wp-load.php');
to
include('wp-load.php');
solved the issue. 
And this blog post is from Windows Live Writer!
:)

No comments:

Post a Comment