Jump to:

4875 Posts in 6997 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Action 'admin' isn't allowed on class CMSMain - IMPORTANT PLEASE HELP!

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

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

Page: 1
Go to End
Author Topic: 1463 Views
  • lazerscience
    Avatar
    Community Member
    16 Posts

    Action 'admin' isn't allowed on class CMSMain - IMPORTANT PLEASE HELP! Link to this post

    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!

  • lazerscience
    Avatar
    Community Member
    16 Posts

    Re: Action 'admin' isn't allowed on class CMSMain - IMPORTANT PLEASE HELP! Link to this post

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

  • jezikk
    Avatar
    Community Member
    10 Posts

    Re: Action 'admin' isn't allowed on class CMSMain - IMPORTANT PLEASE HELP! Link to this post

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

    1463 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.