Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Action 'post' isn't allowed on class BlogHolder_Controller

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 804 Views
  • susgeek
    Avatar
    Community Member
    7 Posts

    Action 'post' isn't allowed on class BlogHolder_Controller Link to this post

    I am using Silverstripe 3.0.5 and I installed the most recent version of the blog module from https://github.com/silverstripe/silverstripe-blog

    I can add posts using the [mysite/CurrentBlogHolder]/post link, and unpublish posts just fine while logged into the CMS as an administrator.

    According to the Readme file,

    "[site/CurrentBlogHolder]/post (this is a good url to bookmark if you will be using it to blog regularly). This shows a blog entry form, which requires a subject and some content at the least. Clicking "Post blog entry" takes the user back to the blog. A login form will show if the user is not logged in."

    So to test it, after logging out, I went to [mysite/CurrentBlogHolder]/post expecting to be redirected to the login screen, but I received this error:
    Action 'post' isn't allowed on class BlogHolder_Controller

    I have to explicitly go to the login page, and log in as an administrator, then return to the post link. Logging in as a content editor does not remove the error.

    I would prefer to give my users only content editor priviledges, and also I would prefer they only use the post to blog link - I don't want them monkeying around in the admin panel. I want it to work as indicated in the Readme file - they just use the post link, and are redirected to log in, then redirected back to the post page.

    What am I missing?

  • susgeek
    Avatar
    Community Member
    7 Posts

    Re: Action 'post' isn't allowed on class BlogHolder_Controller Link to this post

    Update - I received a response to this question on GITHUB:

    I've fixed this issue, not logged in users are prompted to login now.
    use branch 0.6 if you are using SS3.0.x or master if you are using SS3.1.x

    Thanks,
    Carlos

    The link to branch 0.6 is:
    https://github.com/silverstripe/silverstripe-blog/branches

    804 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.