|A few minor things went screwy with my WordPress 2.5 upgrade.|
First of all, the image upload function has stopped working.
When I try to upload an image to a blog post via WordPress, I get this: Fatal error: Call to undefined function. Apparently a lot of people are having this problem, and there’s no fix yet.
My temporary image upload fix: For now, when I want to include an image in Contentious I uploading it to my Typepad account, grab the image URL from there, and insert that into my WordPress post.
I also tried uploading an image to Contentious via the blog editing application MarsEdit. In that case I got a different error…
“Canâ€™t do upload file for Contentious because the server reported an error. XML-RPC Response Parsing Failed: The XML parser could not parse the data.”
XML-RPC refers to the remote procedure call protocol, which allows other programs or sites to exchange information with WordPress in a way that I can display on my blog. Seeing that error reminded me that for the last few days (since the upgrade), my “daily links” posts haven’t been appearing on Contentious. Those posts get sent to Contentious from my del.icio.us account, using XML-RPC.
So I guess, in addition to the direct image upload glitch, XML-RPC has also gotten flaky in WordPress 2.5. I searched around for info on this problem, and I found this answer on the Red Sweater Blog in response to a MarsEdit user who got the same error I did:
“Xmlrpc.php needs to be upgraded if one is upgrading WordPress. The upgrading instructions on wordpress.org do not include this step. If anyone has problems with MarsEdit2.1.2 simply update your xmlrpc.php file found in /yourwpdirectory/”
…OK, that sounds reasonable. When I upgraded WordPress I followed the instructions for the simple 3-step upgrade, which didn’t say anything special about XML-RPC. I checked my installed WordPress files, and indeed my xmlrpc.php file was out of date. Even though I’d downloaded it with the rest of the WordPress upgrade, the instructions I followed didn’t cover installation of that file.
So I deleted my old xmlrpc.pfp file from my server, and uploaded the new version of that file separately. But I still got the same error when I tried to insert an image in an existing post using MarsEdit. I’ve asked Daniel Jalkut of Red Sweater blog for further advice, stay tuned. (And if you have answers or suggestions on this front, please comment below.)
If you’re jonesing for my daily links, you might want to subscribe directly to my del.icio.us feed. (UPDATE 4/7: Apparently my del.icio.us daily links post has started working again — but I’m still getting an XML-RPC error with MarsEdit.)
…Meanwhile, since the updgrade, at unpredictable intervals my Boulder Carbon Tax Tracker site keeps switching back to the classic WordPress theme. I have no clue what’s happening there, and would appreciate suggestions for what to check.