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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

Action not allowed on controller


Go to End


2 Posts   1162 Views

Avatar
exAbyssus

Community Member, 2 Posts

20 February 2013 at 8:13am

Hello,
I've encountered a problem with 3.0.4 version.
Whenever I try to unpublish or delete any page I got an error:

Action "unpublish" not allowed on controller (Class: CMSPageEditController)

or
Action "delete" not allowed on controller (Class: CMSPageEditController)

and after that a javascript error

TypeError: $ is not a function
text = $('<div/>').text(text).html(); // Escape HTML entities in text

everything else works fine. I've never had problems like this before and couldn't find help.

What can cause this? Allowed actions in mysite controllers are empty arrays.

Avatar
exAbyssus

Community Member, 2 Posts

20 February 2013 at 10:39pm

Upgraded to 3.0.5 and everything is working. Thanks SilverStripe!