WordPress 2.5 Upgrade Weirdness

A few minor things went screwy with my WordPress 2.5 upgrade.

I recently upgraded Contentious and Boulder Carbon Tax Tracker to the latest version of WordPress (2.5). There seem to be some bugs with this that I’ll need to figure out.

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.

4 thoughts on WordPress 2.5 Upgrade Weirdness

  1. I upgraded last night… and was surprised to see how big of a change… not sure if I like it yet… time will tell.

    However, I really recommend the automatic upgrade plug-in. I already had the plug-in installed, so the upgrade took less than 5 minutes and all went well.

    Even if you have already upgraded, I think you could use it, and it would correct any problems automatically.

  2. XML-RPC requests and responses have a very specific format, you might have a plugin that is throwing an error during a response, which could mess up the formatting.

    Have you tried disabling your plugins and then trying again?

  3. Thanks, Joseph. Apparently, my XML-RPC has started working again with del.icio.us, since my links post for 4/5 showed up on the blog. It could have been my updating that file separately in wordpress, or maybe some unknown spontaneous factor.

    But I’ll keep the plugin idea in mind if the problem recurs.

    – Amy Gahran

Leave a Reply

Your email address will not be published. Required fields are marked *