We are currently living through a minor sort of plague when it comes to remote editing of PHP-based blogs. As web hosting companies upgrade to PHP 5.2.2, some of you may notice that your attempts to publish or edit entries with MarsEdit yields an error dialog with a cryptic error “XML-Response Parsing Failed.” This bug is caused by a bug in PHP that causes blogging systems to return blank responses instead of the expected XML result.
WordPress was quick to work around the bug, and included the change in their 2.2 release. Unfortunately the 2.2 release also added a minor time zone bug, so we’ll be looking forward to 2.2.1 for complete normalcy.
If you want to fix the bug yourself on whatever system you’re using, the workaround seems to be essentially adding this line to the top of your XML-RPC php file (after the “<?php”):
$HTTP_RAW_POST_DATA = file_get_contents( 'php://input' );
Nasty bug. Easy workaround. Hope this passes soon. I get new support inquiries every time DreamHost updates a batch of servers :)
(Big thanks to “mph” for first bringing this issue to my attention in the MarsEdit Forums)