MMISoftware Blog
News and views of Mac OS X and iPhone Programming
 
 

In a recent post (see Site upgrade) I talked about upgrading the blogging software on the server to Wordpress version 2. Well, bad news, Wordpress version 2 breaks Ecto and causes it to hang when trying to retrieve the categories for blog posts.

According to the forums at Ecto the problem is not with their software but with the latest version of Wordpress, and specifically the xmlrpc.php file, which is returning an integer value instead of a string value for ‘categories’.

To fix this problem all you have to do is edit the xmlrpc.php file and reload it to the server. The edit is quite easy, but please make sure you have a back-up of the file incase things go wrong.

Open the xmlrpc.php file and find:

'categoryId' => $catid,

This should be on line 944 (interestingly in on of the xmlrpc.php files I edited it was not), and there should only be one occurrence of this in the file.

Change the line to:

'categoryId' => (string) $catid,

and reload the file back to the server.

This should fix the problem (well it has for me…)

Now, if only I could find a fix for the problem where Ecto no longer deletes posts….

Leave a Reply

Search


 

Subscribe

    Subscribe to MMI news

    Enter your email address:

    Delivered by FeedBurner

    AddThis Social Bookmark Button
 

Categories

 

Archives

 

Spam caught:

 
 

MMISoftware Blog is proudly powered by WordPress, Installed by Installatron.
Domain services and hosting by MMISoftware
Entries (RSS) and Comments (RSS).