WordPress.org

Ready to get started?Download WordPress

Forums

setting up ecto profile for WP blog (19 posts)

  1. richards1052
    Member
    Posted 8 years ago #

    I'm trying to set up ecto so I can post to my wp blog. But I'm having a helluva hard time creating a profile that works. Could someone look over the data below & tell me if they see anything I'm doing wrong.

    In Profile Mgr., I fill in my blog url:
    http://www.richardsilverstein.com/tikun_olam

    Then I choose WP as my blog type w. the movable type api. For some reason, it generates a generic API url looking like this:

    http://SITE/PATH/xmlrpc.php

    which I've changed to:

    http://www.richardsilverstein.com/tikun_olam/wordpress/xmlrpc.php

    I fill in my WP username & password & then save the profile. But nothing works. I don't know what's wrong. Any help would be much appreciated.

    I've asked the ecto folks for help & also read the codex on mt api, etc. Nothing's really helped me so far fr. any of those sources.

  2. Please define "But nothing works."

  3. ecto
    Member
    Posted 8 years ago #

    The file "http://www.richardsilverstein.com/tikun_olam/wordpress/xmlrpc.php" does not exist on your server.

  4. ecto
    Member
    Posted 8 years ago #

    The correct access point for your WP is:
    "http://www.richardsilverstein.com/tikun_olam/xmlrpc.php"

  5. richards1052
    Member
    Posted 8 years ago #

    Eureka! That worked. I received an ecto e mail saying that the API end point should look like:

    http://example.com/wordpress/xmlrpc.php

    That's why I added "wordpress" to the url. After removing it, ecto worked!

    Thanks again.

  6. richards1052
    Member
    Posted 8 years ago #

    When I try to publish a post using ecto in either Draft or Publish mode I'm getting a server error:

    "response from server does not contain valid xml"

    What does this mean & is there a way to fix it?

  7. ecto
    Member
    Posted 8 years ago #

    yeah, surely is a way to fix it. First make sure you got the latest WP (http://ecto.kung-foo.tv/archives/001427.php) and if that doesn't work email me directly or post to the ecto support forum (latter one recommended).

  8. richards1052
    Member
    Posted 8 years ago #

    First, I'm not using 1.5.1.3. I'm using 1.5.1.1. But I did install those two files as suggested & just tried to publish a test post & got the same error.

  9. Mark (podz)
    Support Maven
    Posted 8 years ago #

    1.5.1.1 has problems, as does 1.5.1.2
    Your blog IS at risk unless you update.

  10. Richards1052, your blog is at risk due to the number of publicly known security exploits that have been fixed since v1.5.1.1.

  11. richards1052
    Member
    Posted 8 years ago #

    I would love to upgrade but I'm petrified to do so. For my reasons, read here: http://wordpress.org/support/topic/37846 .

  12. richards1052
    Member
    Posted 8 years ago #

    Despite the server error I referred to above, the post I create in Ecto IS publishing to my blog. But it won't show in ecto as published. It only displays as Draft. Also, I tried uploading an image into a post using ecto & the code displayed in the post box--until I saved the post...when it just disappeared. Don't know what's going on.

    Just in case this may help someone get to the bottom of this server error, I thought I'd provide the exception log for the error:
    Application version: 1.7.5.12033
    OS version: 5.1.0.2600
    7/20/2005 2:15:12 PM
    API Type: MovableType
    EndPoint: http://www.richardsilverstein.com/tikun_olam/xmlrpc.php
    *********
    CookComputing.XmlRpc.XmlRpcIllFormedXmlException: Response from server does not contain valid XML. ---> System.Xml.XmlException: The data at the root level is invalid. Line 1, position 1.
    at System.Xml.XmlTextReader.ParseRoot()
    at System.Xml.XmlTextReader.Read()
    at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
    at System.Xml.XmlValidatingReader.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(Stream inStream)
    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    --- End of inner exception stack trace ---
    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, String methodName, Object[] parameters)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(String MethodName, Object[] Parameters)
    at XmlRpcProxyabb0b730-1288-4e48-8336-11e7851401ef.newPost(String , String , String , Post , Boolean )
    at Ecto.Services.MovableTypeXmlRpcService.NewPost(String blogId, Post newPost)
    at Ecto.Services.Blog.AddPost(Post p, Boolean addToServer)
    at Ecto.Services.Blog.AddPost(Post p)
    at Ecto.frmEcto._SendPostHelper(Post p, PostAction postAction, Profile selectedProfile, Blog selectedBlog)
    ----

    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, String methodName, Object[] parameters)
    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(String MethodName, Object[] Parameters)
    at XmlRpcProxyabb0b730-1288-4e48-8336-11e7851401ef.newPost(String , String , String , Post , Boolean )
    at Ecto.Services.MovableTypeXmlRpcService.NewPost(String blogId, Post newPost)
    at Ecto.Services.Blog.AddPost(Post p, Boolean addToServer)
    at Ecto.Services.Blog.AddPost(Post p)
    at Ecto.frmEcto._SendPostHelper(Post p, PostAction postAction, Profile selectedProfile, Blog selectedBlog)

  13. I would love to upgrade but I'm petrified to do so. For my reasons, read here:

    I saw your reasons a long time ago and posted a response here: http://wordpress.org/support/topic/37846#post-223628

  14. richards1052
    Member
    Posted 8 years ago #

    Thanks for pointing that out. I missed your reply & I've upgraded using Shaky's patch.

    I was hoping against hope the upgrade might correct some buggy WP behavior I've been having w. plugins & other features which've stopped working over the past wk. or so, but that hasn't happened. But at least I'm upgraded...that's something.

  15. richards1052
    Member
    Posted 8 years ago #

    Alex Hung asked me to look at the ecto logging console msg. I get after trying to post to wp. I notice this in the last line:

    Response:
    <br />
    <b>Fatal error</b>: Call to undefined function: get_home_path() in <b>/home/richard2/public_html/tikun_olam/wp-content/plugins/sitemap.php</b> on line <b>355</b><br />

    And this is the portion of the sitemap.php file which contains line 355:

    #region sm_getXmlPath
    if(!function_exists("sm_getXmlPath")) {
    /**
    * Returns the file system path to the sitemap file
    *
    * @return The file system path;
    */
    function sm_getXmlPath() {
    //ABSPATH has a slash
    return get_home_path() . sm_go("sm_b_filename");
    }
    }
    #endregion

    I'd be grateful if someone can tell me what might be wrong with that line (if there IS anything wrong w. it). I installed the sitemap file just as is in the plugin installation.

  16. arnee
    Member
    Posted 8 years ago #

    Hi Richard,

    this Problem has been fixed in v2.6. Just download the current version to get it work.

    arne

  17. richards1052
    Member
    Posted 8 years ago #

    Thanks, Arnee. I just upgraded my google sitemap plugin as you suggested & now I no longer get the server error I got before. But I get a new server error: "expectation failed." Have no idea what this means.

    I checked both the ecto exception log & the console log & neither indicated any sort of obvious failure. But if you'd like to see either or both let me know.

  18. Did you upgrade WordPress to v1.5.1.3?

  19. richards1052
    Member
    Posted 8 years ago #

    Yes, you may've missed this post that was meant for you above:
    http://wordpress.org/support/topic/39648#post-223889 , where I indicated that I'd upgraded using Shaky's patch & it went fine as far as I can tell (I haven't created a new post since then but I did doodle around in the WP admin interface & things looked fine).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags