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.

Can't edit entries, edit = post a new entry

January 01, 2011 12:11pm

Subscribe [12]
  • #1 / Jan 01, 2011 12:11pm

    manimac

    8 posts

    Hi all, when i try to edit channel entries from the cp and i click on the entry name it result:

    often: new entry form! so all fields are empty like a new entry!
    sometimes: error, you are not authorized to access this page

    also i can’t delete any entry..
    ..but i can see the entries on my site

    it’s strange :(

    this is my configuration:

    ExpressionEngine   2.1.3 Build 20101220
    MSM   installed
    Matrix 2.1.1.2
    Bbr Multilanguagesupport 2.0.4
    Pt Field Pack 1.0.3
    Draggable 1.2

  • #2 / Jan 01, 2011 5:13pm

    Carl W Crawley

    136 posts

    Hi WeLive,

    I get the same problem on the same build - the way I’ve found resolves it is to load the ‘edit’ screen and then wait for a moment before you click on anything (I’m working on a dev site atm)... have noticed sometimes the URL changes when you have your mouseover them.

    I suspect there’ll be a bug request there somewhere.

    Rgds,

    C.

  • #3 / Jan 01, 2011 5:20pm

    manimac

    8 posts

    amazing! good to know, thanks

  • #4 / Jan 02, 2011 9:59am

    Greg Salt

    3988 posts

    Hi WeLive,

    Are you still experiencing a problem with this or is it working for you now?

    @Carl, can you clarify what is happening for you? Is this a local install or a live one?

    Cheers

    Greg

  • #5 / Jan 02, 2011 10:06am

    manimac

    8 posts

    Hi Greg,
    I still have the problem, my web environment is a live server

  • #6 / Jan 02, 2011 2:29pm

    PhilBrienesse

    187 posts

    I get this too.  It seems to happen when the page is part loaded. You see the link you want so you click it and get a new entry. 

    If instead you are very patient and wait for the edit page to fully load it will go to the edit entry page.

  • #7 / Jan 02, 2011 2:45pm

    Rob Sanchez

    335 posts

    Found the bug. It only occurs on the initial page load, not on the ajax entry filter load, which occurs once the document loads. That explains the “wait a moment” comments above.

    /system/expressionengine/controllers/cp/content_edit.php line 603

    $output = anchor(BASE.AMP.'C=content_publish'.AMP.'M=entry_form'.AMP.'channel_id='.$row['channel_id'].AMP.'entry_id='.$id_column.$filter, $row['title']);

    Should be

    $output = anchor(BASE.AMP.'C=content_publish'.AMP.'M=entry_form'.AMP.'channel_id='.$row['channel_id'].AMP.'entry_id='.$row['entry_id'].$filter, $row['title']);
  • #8 / Jan 02, 2011 3:46pm

    narration

    773 posts

    Very nice catch, Rob.

    C.

  • #9 / Jan 02, 2011 4:32pm

    manimac

    8 posts

    yep, it works very well now!
    thanks Rob

  • #10 / Jan 04, 2011 3:09am

    John Henry Donovan

    12339 posts

    Thanks Rob,

    I am just running this thread past the devs for review before committing to a bug report here in case there is any underlying problem here

  • #11 / Jan 04, 2011 5:30pm

    Brandon Jones

    5500 posts

    Thanks Rob. This will be fixed in the next release but I will leave this thread open for now.

  • #12 / Jan 21, 2011 8:26am

    Wilko

    8 posts

    We’ve been messing around with Proxy settings on our firewall, as it was giving the ‘You are not authorized to access this page’ messages to our users, who are in our proxy, editing any content. Worked fine for anyone outside of said proxy.

    We applied Rob’s fix which immediately fixed the issue.

    Many thanks, Rob.

  • #13 / Jan 21, 2011 9:13am

    Ingmar

    29245 posts

    Glad to see you’re up and running. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases