Archives by Month

Support this Site!

You may have noticed that there's very little third-party advertising on this site. I'd like to keep it that way. Here's how you can help:

  • Buy my books. They're available at great prices on Amazon.com.
  • Check out my training videos on Lynda.com. It's a great source for "all you can eat" training.
  • Donate a few dollars. It'll help cover my hosting costs and give you a chance to tell me what you want to see covered here.
  • Comment on blog posts. You can help get a discussion going that can benefit others, making the site more valuable for everyone.

Upgrading WordPress to 2.1: Fixing the ecto Category Problem

Problem found and resolved.

I use ecto to post to all of my blog-based Web sites. It’s a great offline post composition/editing tool that gives me all of the tools I need to get the job done.

Yesterday, I updated our WordPress 2: Visual QuickStart Guide companion Web site to WordPress 2.1 Today, I discovered that I could no longer load or “refresh” that site’s entries in ecto. When I tried, ecto would get hung up while “retrieving categories” for the last entry created.

I poked around in the ecto support forum and came up with this thread. Evidently, I wasn’t the only one having the problem. The ecto folks claimed it was a WordPress problem that had to do with the xmlrpc.php file (which resides in the root directory of a WordPress installation). I followed the thread until I came up with this fix by gusleig:

You must edit your xmlrpc.php. Find:

'categoryId' => $catid,

and change to:

'categoryId' => (string) $catid,

I followed these instructions, saved the modified xmlrpc.php file, and tried ecto again. It worked.

The folks at WordPress are aware of the problem. If they haven’t already fixed this on WordPress.com, I assume they will shortly. And the xmlrpc.php file modification will be in place in the next release of WordPress, so be sure to make sure you have a problem before you try this fix.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>