Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

[SOLVED] Action 'rss' isn't allowed on class ArticleHolder_Controller

Go to End

3 Posts   2758 Views


Community Member, 3 Posts

29 November 2013 at 3:31am

Edited: 29/11/2013 3:33am


I just started to learn Silvesrstripe. I follow the tutorials and unfortunately I encounter a problem by doing the steps in the second tutorial (extending-a-basic-site).
When I try to add a RSS feed to my news section I get this error when I try to open the rss in my browser:

Action 'rss' isn't allowed on class ArticleHolder_Controller.

I cannot see what I've done wrong. This is the code of the ArticleHolder_Controller:

class ArticleHolder extends Page {
    private static $allowed_children = array('ArticlePage');

class ArticleHolder_Controller extends Page_Controller {

    public function rss() {
        $rss = new RSSFeed($this->Children(), $this->Link(), "The coolest news around");
        return $rss->outputToBrowser();


Any help is very much appreciated!



Community Member, 3 Posts

29 November 2013 at 4:16am

This is solved now. For everyone with the same problem:

Add this to the controller:

private static $allowed_actions = array (

And don't forget to do this:


Forum Moderator, 240 Posts

30 November 2013 at 10:31am

I'm submitting a pull request to update the tutorial docs with this, thanks for the find. [url}

If you find other things documentation wise you might like to update please checkout the guide for contributing to the documentation to help improve it for everyone :)