Registered for TechEd07 On the Gold Coast

Posted in Coding, IT, Travel, Work by Will on May 13, 2007.

One big win for last week, which I havn’t mentioned was that work is picking up the tab for my TechEd 2007 ticket. (Thanks, Malcolm - even though I’m sure you don’t read my blog)

So, I’ve gone ahead and booked flights and accomodation for then.

Looks like I’m going to be busy in the next few months - Google Developer Day in Sydney on May 31st (free), ReMIX in Melbourne on June 25-26th ($140), and finally TechEd on August 7-11.

Wordpress "XML-RPC server accepts POST requests only."

Posted in Coding, IT by Will on May 13, 2007.

Due to some configuration changes on my webhost, Wordpress (2.1.x) stopped working correctly on one domain.

Basically, even though Windows Live Writer was submitting to the XML RPC Interface via POST, it was still returning “XML-RPC server accepts POST requests only.”. Not exactly helpful! 

Windows Live Writer was giving a message like  ”Invalid Server Response - The response to the blogger.getUsersBlogs method received from the weblog server was invalid.”, and I could only find this post as a possible solution.

Anyway, the kind folks at Dreamhost fixed it up by adding the following line to the top of the xmlrpc.php file: 

$HTTP_RAW_POST_DATA = file_get_contents(”php://input”);

What it does, I’m not quite certain (fixing a global variable?) - but it works nicely now.