Having now gotten my site upgraded to v5.1, I went to attempt to update the blog I have on my site using Ecto.

However, I'm getting errors trying to add the account to ecto.

I get the following:


An unknown error occurred!
A list of blogs could not be retrieved! Please verify the account you created.

I also can't seem to find where in v5 the type of blogAPI to use is set? the admin page for blogAPI just gives me the selection of what content types to make available.

Any ideas?

Kelly

Comments

Gran Maestro’s picture

Same identical issue here.

Is anybody else trying using Ecto on Drupal, or just the two of us?

Thank you

/P

Anonymous’s picture

Seems no-one else so far :( an annoying issue.

I did read somewhere when searching something about mod-security with apache? dunno though myself.

Kelly

Anonymous’s picture

I've installed a fresh drupal 5.1 on my home server and blogapi works flawlessly with ecto.

So it is either an issue in upgrading from 4.7 to 5.x or a host problem. Not sure which. Can't seem to connect to my own site atm due to a routing issue with my home ISP.

sam moore’s picture

Kelly, what API did you tell Ecto to expect from your Drupal site? I'm setting it to Movable Type (what I was using under 4.7) and it's garbling my posts...

sam moore’s picture

Can't figure out how to set which API gets exposed - and Ecto definitely needs this info.
I'm posting, but the post is getting hacked up and re-ordered - any input appreciated.
Had this working fine under 4.7.....

jmbarlow’s picture

I've got this working with Drupal 5.x

For the Ecto Profile, you need a valid username/password for the Drupal installation, and the API endpoint. The URL of the API endpoint will be http://YourSite/xmlrpc.php (e.g. in my case http://www.jamesbarlow.co.uk/xmlrpc.php), with API type "Blogger".

farrell’s picture

For some reason, I can only get ecto to work on the superadmin account on my drupal 5.1 site. It works fine on my old 4.7 site with other roles, so I'm not quite sure why.

Any ideas? It says I'm either trying to edit someone else's blog or don't have permission to edit my own blog.

--
Farrell Kramer
Farrell Kramer Communications

thicke’s picture

Farrell, I was having the exact same problem you were having, except mine was a fresh install of 5.1. I could login using the admin user through ecto, but not any other user. I had only enabled the Blog API module. I later enabled the Bolg module and afterwards, I was able to log in with a non-admin user.

--
Marc
http://www.wildtangents.net

farrell’s picture

That's interesting. It makes sense as my other 4.7 site has blog module and blog API enabled and it works fine with Ecto.

The only problem is I don't want to use the blog module on my 5.1 site, as I've created a path under "domain/blog" using Views and Pathauto that I'm certain the blog module would break if enabled.

Looks like I may be hanging up Ecto. I'm kinda sad about it as I really liked using the program.

Thanks much for your help.

--
Farrell Kramer
Farrell Kramer Communications

Anonymous’s picture

Right I think I have found what the problem is!

I've added:

SecFilterEngine Off

to my .htaccess file (this I did to get iPhoto2gallery to work). And it now seems to work fine!

So I think what it must be is during the upgrade Drupal 5.x is overwriting the settings in the .htaccess file and/or my host has got SecFilterEngine set to ON by default and had changed this behaviour.

So, try this and see if it sorts other problems out?

Kelly

godlike’s picture

Ive been searching google as to how can I post images with a blog api and drupal but havent found much help. Anyone here know?

Gran Maestro’s picture

I will give this one a shot however, this is still a pending issue.

Admin rights give you easy access to Drupal with Ecto but otherwise it's a no go.

It would be nice to ear some official comment from a developer as to what the reasons are and, more than all, a fix.

/P

GonzoTBA’s picture

Same problem with latest Ecto version and an upgraded 5.1 Drupal. Never used Ecto before.

When I try to retrieve the entries I get the following message:

Method "mt.getRecentPostTitles" produced a server error: "(null)".

This is what the console spits:

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>mt.getRecentPostTitles</methodName>
<params>
</params>
</methodCall>

Response:
<?xml version="1.0"?>
<methodResponse>
  <fault>
  <value>
    <struct>
    <member>
      <name>faultCode</name>
      <value><int>-32602</int></value>
    </member>
    <member>
      <name>faultString</name>
      <value><string>Error del servidor. Número incorrecto de parámetros del método.</string></value>
    </member>
    </struct>
  </value>
  </fault>
</methodResponse>

The translated error message is: Server error. Incorrect parameters number for the method.

Help anyone?

XiMac’s picture

Admin account runs flawlessy, but if I try another account I receive this error:

<?xml version="1.0"?>
<methodResponse>
  <fault>
  <value>
    <struct>
    <member>
      <name>faultCode</name>
      <value><int>1</int></value>
    </member>
    <member>
      <name>faultString</name>
      <value><string>Ha intentado editar el blog de otro usuario o no tiene permiso para editar su propio blog.</string></value>
    </member>
    </struct>
  </value>
  </fault>
</methodResponse>

You try to edit the blog from another user or you dont have permissions to edit your own blog

Using Marsedit 1.2.1 (Mac) with all parameters fully correct (path to xmlrpc, login, pass and "story" for access the kind of content). This type of configuration runs fine on other Drupal site I own.

Looks like another X file

XiMac’s picture

Its a little tricky but:

  • Active the blog module
  • Create a "redactor" account
  • On roles, give permission to the account to edit own blog
  • On API Blog, deactivate the Blog entry
  • Now you could deactivate the blog module
  • On Marsedit you only need to give the paths and use Blog ID: "story" ...

    and ready.