Ecto is Busted in WordPress 2.1

Last week I took this site to WordPress 2.1 and much to my dismay realized that Ecto, my favorite XMLRPC blogging client no longer worked. It would let me post, but it was never able to update the category information for posts… It just hung with no error. I looked into it, and found out that Ecto expects the category information to be returned as a string, not an int.

Adriaan, the developer of Ecto is blaming WordPress, while I’m sure the folks at Automattic would call it an Ecto problem… That’s just how these things tend to work. Anyhow, it’s pretty easy to fix if you make this quick change to xmlrpc.php.

Simply change this on line 180:

'categoryId' => $catid,

To this:

'categoryId' => (string) $catid,

Hopefully someone will go back to their code tree and make a permanent fix so we don’t have to constantly edit this file every time we upgrade.

Discuss This Article


9 Responses to “Ecto is Busted in WordPress 2.1”

  1. Erik J. Barzeski on January 30th, 2007 12:22 pm #

    To be exact, it is an Automattic issue and a bug as the spec clearly calls for a string, not an int.

    Still, ecto COULD be more forgiving, as MarsEdit still worked despite the incorrect data type.

  2. Ecto vs. WordPress « MaisonBisson.com on February 3rd, 2007 3:13 am #

    [...] Ecto is finally available in Intel optimized form, but WP 2.1’s XMLRPC breaks it. Cliffy, of all people, tells us how to fix it. [...]

  3. simon jackman’s blog » WordPress 2.1 and Ecto not getting along on February 8th, 2007 1:30 pm #

    [...] I upgraded my blog to WP2.1 and discovered that Ecto could no longer update its post list (would hang at “retrieving categories”). A solution is now circulating. [...]

  4. Arjun Muralidharan on February 16th, 2007 2:26 pm #

    Thank you so much! I thought I wasted mymoney on ecto but now it seems like this solves my issues with this app!

  5. links for 2007-02-25 at Julians.name on February 25th, 2007 12:25 am #

    [...] spiralbound.net ยป Ecto is Busted in WordPress 2.1 (tags: wordpress ecto ecto-wordpress-bug) [...]

  6. Preston Stone on February 28th, 2007 1:06 pm #

    Just a quick note: in my copy of xmlrpc.php, this correction had to be made on line 980, not line 180.

  7. topher on March 18th, 2007 1:22 am #

    Thanks for the tip! I love Ecto and I love Wordpress, and I was so bummed when they stopped playing nice with each other.

  8. Michael on April 12th, 2007 7:51 am #

    You know that thing about sense of humour.
    If you ain’t got it then you won’t get it.
    Keep it up…

  9. Alvaro on April 12th, 2007 6:47 pm #

    Thank you very much! you saved me from using the text editor in wordpress!!


Got something to say?






Post Tags (user submitted): ecto wordpress (114) - wordpress ecto (71) - t (61) - "wordpress 2.1" ldap (28) - ecto wordpress 2.1 (27) - ecto vs marsedit (23) - wordpress (20) - wordpress ldap (19) - wordpress ldap plugin (19) - MarsEdit vs. ecto (18) - wordpress 2 + ldap (14) - marsedit wordpress (11) - ldap wordpress (11) - ecto marsedit (10) - marsedit ecto (9) - wordpress ldap 2.1 (9) - ecto wordpress categories (7) - "XMLRPC" wordpress (7) - wordpress 2.1 gallery (6) - ecto WordPress tags (6) - ecto wordpress problems (6) - ldap wordpress 2.1 (5) - ecto retrieving categories (5) - ecto wordpress error (5) - ECTO 1 (5) - wordpress ecto problem (4) - wordpress 2.1 ecto (4) - LDAP plugin for Wordpress 2.1 (4) - Wordpress 2.1.3 ldap (4) - ecto and wordpress (4) - ecto (4) - XMLRPC + ecto (3) - ecto wordpress problem (3) - wordpress 2.1 ldap plugin (3) - ecto wordpress xmlrpc (3) - ecto categories (3) - ecto wordpress 2.1.3 (3) - ecto versus marsedit (3) - ldap (2) - wordpress ecto not working (2) - wordpress and ecto (2) - wordpress marsedit (2) - inurl:/2007/ -wordpress com -blogspot com wordpress 2 1 (2) - wordpress 2 ldap plugin (2) - ecto wordpress howto (2) - wordpress plugin ldap (2) - all (2) - ecto wordpress 2 (2) - ldap plugin wordpress (2) - cache:KAGlwitBDMgJ:wordpress.org/development/2007/01/el (2) - ecto category wordpress (2) - ecto wordpress xml rpc (2) - ldap plugin wordpress 2 (2) - wordpress 2.1 marsedit (2) - ecto plugin wordpress (2) - "wordpress 2.1" plugin ldap (2) - ecto for wordpress (2) - ecto hangs retrieving categories (2) - marsedit versus ecto (2) - f (2) - marsedit ecto wordpress (2) - ecto categories wordpress (2) - tags ecto wordpress (2) - wordpress marsedit error (2) - ecto wordpress plugin (2) - wordpress 2.1.2 ldap (2) - marsedit wordpress categories (1) - Mars Edit Wordpress XMLRPC 2007 (1) - XHTML: You can use these tags: (1) - ecto 3 vs marsedit (1) - marsedit wordpress preview (1) - wordpress 2 1 marsedit (1) - ecto tags wordpress (1) - wordpress ecto xml-rpc error (1) - ecto v (1) - ecto wordpress tags plugin (1) - ecto wordpress com (1) - ecto problem (1) - ecto and updating categories from wordpress (1) - marsedit with wordpress (1) - ecto wordpress fix (1) - ldap wordpress 2.1.3 (1) - marsedit vs (1) - wordpress xmlrpc Fault code: [5] (1) - ecto wordpress post (1) - ecto not retrieving catergories from wordpress (1) - marsedit to wordpress problem (1) - xmlrpc wordpress ecto (1) - ecto vs (1) - 'categoryId' => $catid fix (1) - wordpress xmlrpc ecto (1) - marsedit vs. ecto 2007 (1) - ecto category wordpress 2 (1) - ecto wordpress string int category (1) - ecto vs marsedit 2007 (1) - wordpress pingback hungs (1) - marsedit 2 vs ecto (1) - xml-rpc wordpress howto (1) - ecto galler (1) - marsedit wordpress tags (1) - gallery 2 plugin for ecto (1) - ecto wordpress tag (1) - wordpress ecto more tag fix (1) - xmlrpc categories retrieving (1) - xmlrpc ecto wordpress (1) - mars edit problems with wordpress (1) - wordpress xml-rpc ecto (1) - how do I choose wordpress page in ecto (1) - wordpress xmlrpc .net category (1) - [gallery] wordpress howto (1) - mars edit wordpress tags (1) - WordPress xmlrpc.php Vulnerability howto (1) - mars edit v ecto (1) - fix wordpress catid (1) - xmlrpc wordpress category (1) - ecto gallery2 plugin (1) - ecto gallery wordpress (1) - install ecto wordpress (1) - ecto wordpress multi (1) - ecto 3.0 and Wordpress.org (1) - ecto retrieving posts (1) - ecto plugin (1) - wordpress on ecto (1) - ecto wordpress multiple blogs (1) - ecto not retrieving categories (1) - xmlrpc.php ecto (1) - ecto plugin 2008 (1) - update category list in ecto wordpress (1) - WordPress fault:Code: 5 (1) - WordPress:::XMLRPC categories (1) - ecto xmlrpc (1) - ecto wordpress xml-rpc (1) - how to more than 59 posts ecto (1) - does ecto work with wordpress com wordpress org (1) - wordpress xmlrpc howto (1) - ldap WORDPRESS php (1) - wordpress xml rpc example -vulnerability -exploit (1) - wordpress xml-rpc howto (1) - ecto 1 howto (1) - wordpress tags with ecto (1) - ecto 1 to buy model (1) - wordpress ldap howto (1) - ecto blogging safe wordpress (1) - wordpress 2 1 5 (1) - ecto to work with wordpress (1) - ecto wordpress page editing (1) - marsedit wordpress gallery (1) - wordpress Fault Code: 5 (1) - xmlrpc php categories category not working (1) - marsedit wordpress howto (1) -