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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Action 'admin' isn't allowed on class CMSMain - IMPORTANT PLEASE HELP!

Go to End

3 Posts   1992 Views


Community Member, 16 Posts

7 April 2009 at 11:26pm


I have just finished my first SS site and now I wanted to install it the desired web space since everything was working perfectly for me locally!
I set up everything - but now I am experiencing heavy tourbles with the back end. Quite often I am getting The error message Action 'admin' isn't allowed on class CMSMain or simply Forbidden, eg uploading a picture through a HayMany...-Popup window, when closing the window the table doesnt show up, but the error message! Also the side panel doesnt work correctly, but shows 'Forbidden'.

I assume that is must have something to do with the ACL, but I dont have any clue about this, I'm logged in as the default admin, nothing changed, locally everything was working perfectly! So i assume it must have something to do with the server's configuration.

Here's my php info:

My htaccess:

<Files *.ss>
Order deny,allow
Deny from all
Allow from

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ 

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

I'm running the latest SS, 2.3.1! Any help would be appreciated a lot, because the site needs to be finished, so thanks in advance!


Community Member, 16 Posts

8 April 2009 at 12:36am

Somemore tries seem to have revealed that this problem doesnt seem to occur with safari but with ff3 it does.
Clearing cache and cookies in ff didnt solve the problem. Firebug shows that teh ajax calls return 403...


Community Member, 10 Posts

9 April 2009 at 10:13pm

I had the same problem with site migrated to 2.3 and 2.3.1.
I was trying to resolve the problem but with no luck. Finally i get back to verstion 2.2.3 where everything works fine.

Can anybody help us ?

I had default config of Apache and PHP (as module and FCGI).