ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Issue with Metaweblog API in EE 2.1.3

February 10, 2011 12:53pm

Subscribe [3]
  • #1 / Feb 10, 2011 12:53pm

    david mantripp

    59 posts

    I’ve just upgraded from 1.6.8 to 2.1.3, and although the process was reasonably smooth, and the new version is nicer to work with, I’m encountering quite a lot of glitches (which was very rare in 1.x).

    One in particular is posting channel entries using the Metaweblog API, via MarsEdit. This worked fine in 1.6.x, although RSD never did - I had to configure manually - but now it’s giving me an error on posting.  MarsEdit’s log is reporting this content returned from EE:

    ——-

    A PHP Error was encountered

    Severity: Notice
    Message:  Undefined index:  entry_id
    Filename: api/Api_channel_entries.php
    Line Number: 941

    </div><div [removed]>

    A PHP Error was encountered

    Severity: Notice
    Message:  Undefined index:  entry_id
    Filename: api/Api_channel_entries.php
    Line Number: 941

    </div><div [removed]>

    A PHP Error was encountered

    Severity: Notice
    Message:  Undefined index:  entry_id
    Filename: api/Api_channel_entries.php
    Line Number: 941

    </div><div [removed]>

    A PHP Error was encountered

    Severity: Warning
    Message:  Cannot modify header information - headers already sent by (output started at /home/snowhen/public_html/system/codeigniter/system/core/Exceptions.php:170)
    Filename: libraries/Xmlrpcs.php
    Line Number: 127

    </div><div [removed]>

    A PHP Error was encountered

    Severity: Warning
    Message:  Cannot modify header information - headers already sent by (output started at /home/snowhen/public_html/system/codeigniter/system/core/Exceptions.php:170)
    Filename: libraries/Xmlrpcs.php
    Line Number: 128

    ——-

    A closed entry is created in the channel, with the correct title but no content.

    Other functions work fine, for example refreshing the entry list in the client.

    As far as I can see MarsEdit is getting upset by these non-severe(?) error messages.  Is there any way to turn them off?

  • #2 / Feb 11, 2011 3:15am

    John Henry Donovan

    12339 posts

    david,

    Can you confirm that this channel has a status group assigned to it?
    What version of MarsEdit are you using?
    Is this a new config in the the Metaweblog Module or a brand new one since the 2.1.3 install
    Did this channel exist as a weblog in your previous site?

    Could you test with a brand new channel and another new config?

  • #3 / Feb 15, 2011 6:41am

    david mantripp

    59 posts

    Sorry, just getting back to this.

    I’m afraid I haven’t really worked out what a “Status Group” is yet 😊, so probably no.

    The configuration is untouched from 1.x -  I just discovered when I go to the Add-Ons configuration options for Metaweblog API, I get this in the CP page:

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: v
    Filename: metaweblog_api/mcp.metaweblog_api.php
    Line Number: 541
    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: v
    Filename: metaweblog_api/mcp.metaweblog_api.php
    Line Number: 542
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /home/snowhen/public_html/system/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 405

    _________

    I tried creating a new channel, but got the same error from MarsEdit (v 3.1.6) on posting.

    I can’t see where you assign a *channel status group” to a channel - and surely it would default to the default anyway ?

  • #4 / Feb 15, 2011 6:45am

    david mantripp

    59 posts

    ok, worked out how to set a channel status group (note, the state of the documentation for what is a new release is really, but really, not good. With such a labyrinthine system with such confusion-inducing nomenclature, you really need to make sure that you at least get menu options & paths right ... rant over)

    Anyway, it made no difference to my upload error.

  • #5 / Feb 15, 2011 3:47pm

    Ingmar

    29245 posts

    The upgrade to 2.1.3 went well, apart from that? Did you replace all theme files, too? Are you using any extensions? Can you post via the Control Panel without any issues?

  • #6 / Feb 16, 2011 3:17am

    david mantripp

    59 posts

    Yes, the upgrade went ok, I did a trial run first on a staging version, followed the instructions to the letter, and everything’s working fine.  Only 3rd party extension I am using is Channel Images,

    I do have some strange glitches with entry editing through the CP but I can post.  However, sometimes, clicking on a post to edit it gives me either a blank entry, or a “permission denied”, or an entry in the wrong channel.  This is random & usually unrepeatable.

  • #7 / Feb 16, 2011 10:01am

    Sue Crocker

    26054 posts

    Hi, David.

    EE 2.1.4 beta has a number of improvements for MetaWeblogAPI (bug fixes) - if you want to test it out on a local install, look here: EEBeginners:// HowTo Download EE2.1.4 Beta

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases