WordPress.org

Ready to get started?Download WordPress

Forums

changes in xmlrpc.php?? (22 posts)

  1. marcof
    Member
    Posted 11 years ago #

    Has anything changed in the XMLRPC API calls?
    Since I upgraded to 0.71, BlogApp returns an error when it tries to connect to the xmlrpc.php

  2. marcof
    Member
    Posted 11 years ago #

    (can't edit the post, so it seems)..
    and Kung Log has the same problem..

  3. marcof
    Member
    Posted 11 years ago #

    I've checked the kunglog debug output:
    XMLRPC parameters for blogger.getUsersBlogs:
    {
    appkey = CBA1A614CEFC5337A795A465752597A7BEEB0287;
    password = ******;
    username = admin;
    }
    Invoking XMLRPC call...
    WebServicesCore Response:
    {
    "/FaultCode" = -65794;
    "/FaultExtra" = {domain = -1; error = -65795; msg = "No valid XML data in response"; };
    "/FaultString" = "/CFStreamFault";
    "/WSDebugInBody" = "
    <b>Fatal error</b>: Call to undefined function: dbconnect() in <b>/usr/local/psa/home/vhosts/marcof.net/httpdocs/xmlrpc.php</b> on line <b>543</b>
    ";
    uuuhh.. undefined function dbconnect() ??
    did I screw up somewhere?

  4. marcof
    Member
    Posted 11 years ago #

    so, I found that dbconnect() is not in b2functions.php anymore... (why is it in xmlrpc.php then?)
    I just bluntly copied the function from the old 0.7 b2functions.php, but now it complains about invalid user/password...
    sigh..
    helllllllp!

  5. Anonymous
    Unregistered
    Posted 11 years ago #

    Hi Marcof,
    I'm working on porting the xmlrpc.php over to use ezsql which the rest of the site now uses.
    Mike

  6. Mike Little
    Member
    Posted 11 years ago #

    Oops, that was me! Anyway...
    I've now committed a FIXED and WORKING xmlrpc.php to CVS
    It works as far as I can test with w.bloggar as a client (in b2 mode)
    Note that it automatically creates your posts in the 'published' state, no 'draft' or 'private' I may look at that later.
    Mike

  7. marcof
    Member
    Posted 11 years ago #

    thanks, I'll check it once I'm back home :-) damn firewalls here...

  8. rayne
    Member
    Posted 11 years ago #

    Ok. I've uploaded the new version of xmlrpc.php (1.5) from the CVS. I'm getting error that my username/password combination is incorrect. I tested it with w.bloggar.

  9. Dougal Campbell
    Member
    Posted 11 years ago #

    You'll probably need some other files from CVS, as well. Try updating your copy of b2-include/b2functions.php and see if that fixes it.

  10. marcof
    Member
    Posted 11 years ago #

    I've tried the new xmlrpc.php and the b2functions.php (good thing I scanned this one first), and voila.. no problem anymore. BlogApp works like a charm.
    thanks

  11. rayne
    Member
    Posted 11 years ago #

    Great. I grabbed the b2functions.php file and it now works in w.bloggar for me. Yeah! Now I just need the MT import feature and I may be switching soon!

  12. jonanhold
    Member
    Posted 11 years ago #

    I just downloaded from CVS the xmlrpc.php and b2-include/b2functions.php.. w.bloggar complains with the following error:
    "Unable to parse the XML response. Parser Reason: Only one top level element is allowed in an XML document."

  13. Mike Little
    Member
    Posted 11 years ago #

    Hi Jon,
    I have just tried w.bloggar on my local copy of WordPress which is up to date with CVS , and it works fine.
    I can post new, and I can edit old posts.
    It may be there are some other files in CVS which you need to update, however, trying to do that my be opening up a can of worms, there are some significant change in CVS at the moment, and whilst there is an update script these changes have not yet been documented.
    Mike

  14. jonanhold
    Member
    Posted 11 years ago #

    The files I grabbed I had to grab via the web CVS browser on sf.net.. cvs.sf.net was refusing my connections earlier. I'll try a whole checkout later on and see if it works.
    Also, for reasons that I cannot determine, posting from the bookmarklet (the link one, not the .reg one) doesn't publish the post.. You have to go into Post / Edit and then edit it to get it to show up on the main page..
    Thanks,
    -j

  15. Mike Little
    Member
    Posted 11 years ago #

    Yeah, CVS on Sourceforge has been running a little strangely recently. Web CVS is at least 24 hours behind too.
    The bookmarklet problem has been solved in CVS too. It is not setting your new posts to publish state.
    Mike

  16. stevecooley
    Member
    Posted 11 years ago #

    Hi again.. I'm using NetNewsWire to try to use the Blogger API to edit my blog... I'm getting this error message back when I try to post:
    Can’t post this item because The XML parser could not parse the data.: XML-RPC Response Parsing Failed.

  17. Matt Mullenweg
    Troublemaker
    Posted 11 years ago #

    Steve, there is an almost completely new XML-RPC engine for the next version which supports blogger API, MetaWeblog API, and pieces of the Movable Type API. (So you will be able to post with Zempt.) The excellent work by Dougal has made this possible, and it will be a key feature in the next release.

  18. stevecooley
    Member
    Posted 11 years ago #

    excellent! I look forward to it!

  19. Anonymous
    Unregistered
    Posted 10 years ago #

    I downloaded the wordpress-071-gold.zip (June 8, 2003) and had the same XML-RPC failure when trying to set up w.bloggar and NewzCrawler. I see from the reports above that I have to download from the CVS store at least two files b2functions.php and xmlrpc.php. Hope this works and nothing else breaks. So far, I'm extremely impressed with WordPress and want to congratulate the team on a job well done.

  20. Anonymous
    Unregistered
    Posted 10 years ago #

    Anonymous from Aug 8 again: I downloaded the PHP files, along with a couple of others, and still get the same w.bloggar error reported by jon anhold on June 23: “Unable to parse the XML response. Parser Reason: Only one top level element is allowed in an XML document.? NewzCrawler does not recognize the blog feed at all (red x).

  21. Anonymous
    Unregistered
    Posted 10 years ago #

    Anonymous from August 8 once more: Any idea how long it will be till the next release of WordPress? I'd really like to be able to post to my blog from my w.bloggar and NewzCrawler clients. I'm also a bit puzzled about the references to ezSQL that I'm seeing the CVS store. Does this mean MySQL is out the window or what. When I tried getting just the two latest xmlrpc.php and b2-include/b2functions.php from the WordPress 0.71 Branch, these produced a MySQL syntax error, but the site was still visible. Thanks again for the most excellent work!

  22. stevecooley
    Member
    Posted 10 years ago #

    hey, whoa.. deja vu.. NetNewsWire can't seem to connect to xmlrpc.php in WP .72... same problem as from july?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.