If you got a “An Unexpected error has occurred while attempting to log in:” in your windows live writer by any chance I suggest you to follow above points to find and troubleshoot the problem.
well according to wordpress.org you might get this error only because of a bug in php 5.2.2 version. thenin case you are using php 5.2.2 you can follow their solution which is adding following line in top of your xmlrpc.php file.
$HTTP_RAW_POST_DATA = file_get_contents("php://input");
Well if your problem is not solved by the solution which wordpress.org provided then the first thing you should check is to see whether the xmlrpc.php file has read and execute permission! this file is located in root folder of your wordpress installation.
If the problem still exists then I suggest you to check out the Windows Live Writer log file which can be accessed:
If you are in Windows XP copy following line in RUN window and click on OK,
%USERPROFILE%\Local Settings\Application Data\Windows Live Writer\
If you are in windows Vista or 7 copy this line:
%LOCALAPPDATA%\Windows Live Writer\
After clicking on Ok the folder which the log file exists in will show up. double click on Windows Live Writer log file and scroll to the end! you can see the todays date in the logs!
Below is the info that I found about my problem which indicates that ini_set() function is disabled on my hosting! so the solution for this was to enable this php function! you will be able to see the php errors that caused your problem in your log file too!
<b>Warning</b>: ini_set() has been disabled for security reasons in <b>/home/xxx/public_html/blog/wp-includes/load.php</b>
Incoming search terms:
- an unexpected error has occurred wordpress 503 live writer