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, biapar, Willr, Ingo, swaiba, simon_w

Action not allowed on controller


Reply

2 Posts   368 Views

Avatar
exAbyssus

20 February 2013 at 8:13am Community Member, 2 Posts

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

20 February 2013 at 10:39pm Community Member, 2 Posts

Upgraded to 3.0.5 and everything is working. Thanks SilverStripe!