When I attempt to send a new story node to my Drupal 5.2 site via the MetaWeblog API from MarsEdit 1.2.1 (using BlogAPI from the Drupal installation), I get an error in the application GUI. The MarsEdit RPC Console displays the following “Response text” for my new post:

Fatal error: Call to undefined function pathauto_get_placeholders() in /path/to/my/modules/pathauto/pathauto.module on line 333

I previously had pathauto-5.x-2.x-dev installed, which worked. When I upgraded to pathauto-5.x-2.0-beta2 today, I also upgraded to token-5.x-1.8 from token-5.x-1.7. The Update Status module indicates that both Pauthauto and Token are indeed up to date.

I’m going to downgrade back to my older version of Pathauto to see if that fixes the problem, and if so, I’ll post an update here.

Comments

jaharmi’s picture

The failed posting I attempted to make also had this information in the MarsEdit RPC Console:

RPC message sent: 2007-08-26 11:53:04 -0400
URL: http://www.site.com/xmlrpc.php
Method name: metaWeblog.newPost
RPC reply received: 2007-08-26 11:53:11 -0400
URL: http://www.site.com/xmlrpc.php
Method name: metaWeblog.newPost
Status code: 200
Succeeded: NO
--Parse Error--
Parse Error Title: XML-RPC Response Parsing Failed
Parse Error Message: The XML parser could not parse the data.

When I downgraded to the -dev version I mentioned in the support ticket, the post did succeed. I got this:

RPC message sent: 2007-08-26 12:00:25 -0400
URL: http://www.site.com/xmlrpc.php
Method name: metaWeblog.newPost
RPC reply received: 2007-08-26 12:00:27 -0400
URL: http://www.site.com/xmlrpc.php
Method name: metaWeblog.newPost
Status code: 200
Succeeded: YES

Where the “Response text” on success came back as the following, and other XML-RPC requests went through to set categories and so on:

<?xml version="1.0"?>

194
greggles’s picture

Status: Active » Closed (duplicate)