I thought I’d try adapting some of my themes to various Flickr setups tonight, as I am starting to play with more photos and so on. I ran into a real problem.
When it asks me for the end-point at Flickr, I put in the usual www.myblog.co.uk/xmlrpc.php as it was requesting. It kept saying ‘The endpoint you entered was not correct.’
I searched WordPress‘ support forums for the problem, and there was a long thread there. I looked through it all, and someone called king_arthur had the solution, adding this little section at the top of the xmlrpc.php file (and obviously upload it):
if (phpversion()==”5.2.2″) $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents(“php://input”);