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.

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   2543 Views

Avatar
lazerscience

Community Member, 16 Posts

7 April 2009 at 11:26pm

Hi,

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: http://presse.artphalanx.at/phpinfo.php.

My htaccess:


### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>

<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]
</IfModule>
### SILVERSTRIPE END ###

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!

Avatar
lazerscience

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...

Avatar
jezikk

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).