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.

Moblog Error: unathorized_for_this_channel

April 09, 2010 3:35pm

Subscribe [9]
  • #1 / Apr 09, 2010 3:35pm

    code72

    104 posts

    Hi there,

    I’m trying to get a moblog set up on my site.  Here is the page template I’m using:

    {exp:moblog:check which="photo_blog"}
    {embed=embeds/header pagetitle="Photo Blog"}
                
    <div class="content grid_12">
        {exp:channel:entries channel="photo_blog" disable="categories|member_data|trackbacks"}
            <div class="thumbs {switch="one|two|three|four|five|six"}">
                {exp:imgsizer:size src="{photo_blog_photo}" width="168" height="168" alt="iPhone pic" class="thumbnail" }
            </div>
        {/exp:channel:entries}
    </div>
    
    {embed=embeds/footer}

    Everything seems to work fine except that I’m getting this error occasionally:
    http://skitch.com/johnny72k/n6d7a/error

    I think it’s related to the {exp:moblog:check} tag.  When I refresh it goes away, but the new moblog entry doesn’t show.  However if I go into the control panel and manually check the moblog, it grabs the new entry and publishes it without problems.  Any idea what’s going on?

  • #2 / Apr 09, 2010 4:13pm

    Sue Crocker

    26054 posts

    Which build/version of EE2.x are you using?

  • #3 / Apr 09, 2010 4:36pm

    code72

    104 posts

    I’m on v2.0.1pb01 build 20100121.

    I thought that error was showing anytime there was something new to post, but I just successfully posted to my moblog without issue, so I’m not sure what triggers that error.

  • #4 / Apr 09, 2010 5:17pm

    Sue Crocker

    26054 posts

    Let’s have you upgrade to the most recent version. There were a number of fixes in that release.

  • #5 / Apr 13, 2010 1:49am

    code72

    104 posts

    OK, I’ve got it updated to the latest build.  I’ll post again if I see the error again.

  • #6 / Apr 13, 2010 2:41am

    John Henry Donovan

    12339 posts

    Great! thanks for keeping us in the loop

  • #7 / Apr 22, 2010 11:04pm

    code72

    104 posts

    Yep, it’s still giving me that error.  But just occasionally.  When I refresh the error goes away, but the new entries don’t show… however I suppose now you’ll want me to be on version 2.0.2, eh?

  • #8 / Apr 23, 2010 2:41am

    John Henry Donovan

    12339 posts

    code72,

    Just confirming that your moblog shortname is the same as one of your channel shortnames?

    Can you try the following please. You should see EE output messages for errors and successes with this silent tag added..

    {exp:moblog:check silent="false" which="photo_blog"}
  • #9 / Apr 23, 2010 11:20am

    code72

    104 posts

    That’s correct, my moblog shortname is the same as the channel shortname.  Should I change that?

    I added that tag and the following was output:
    Photo Blog
    No valid emails were found
    Moblog was successfully checked
    Emails Retrieved: 0
    Entries Added: 0
    Attachments Uploaded: 0
    Pings Sent: 0

    But the page loaded just fine—no errors this time.

  • #10 / Apr 23, 2010 3:34pm

    Sue Crocker

    26054 posts

    I have to re-set this up for EE2.02, thanks in advance for your patience.

  • #11 / Apr 23, 2010 3:38pm

    code72

    104 posts

    No worries, it’s just on my personal site, so I’m not really sweating it.  Obviously I’d like to work without errors, but thankfully it’s not a client site or anything.

  • #12 / Apr 23, 2010 7:12pm

    Brandon Jones

    5500 posts

    code72,

    When you do encounter the next error, let us know the output with silent mode turned off.

  • #13 / Apr 28, 2010 9:08pm

    code72

    104 posts

    OK, I got the error again, but there’s no error code or anything.  Check the screenshot here:
    http://skitch.com/johnny72k/dbn9k/error

  • #14 / Apr 29, 2010 1:42am

    John Henry Donovan

    12339 posts

    code72,

    That’s correct, my moblog shortname is the same as the channel shortname.  Should I change that?

    Can you try a test? Can you rename either your moblog to something different just to rule out any conflict bug.

    Also can you take a look in \system\expressionengine\language\english\lang.content.php for the key ‘unauthorized_for_this_channel’. Does it exist there?

  • #15 / May 05, 2010 12:30pm

    code72

    104 posts

    I renamed the channel so that it has a different name than the moblog, but I still saw the error the last time I tried to post to the moblog.

    I do have that key in my lang.content.php file.  It says:

    "unauthorized_for_this_channel" => 
    "You are not authorized to post in this channel",

    I still need to upgrade to 2.0.2 (it’s on my list!), but somehow I’m guessing that’s not the issue here.

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

ExpressionEngine News!

#eecms, #events, #releases