Jump to:

23369 Posts in 18145 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Security tab messed up

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

Page: 1
Go to End
Author Topic: 874 Views
  • naquadah
    Avatar
    Community Member
    3 Posts

    Security tab messed up Link to this post

    Hi,

    I'm an absolute newbie to Silverstripe, please pardon my ignorance. I'm fairly adept in basic site management, CMS systems, some HTML but I don't know Silverstripe, just a little background on me. Thanks in advance for your help.

    My web developer installed Silverstripe on my company's website which I am managing. Long story cut short, I tried to import 10000 users, but I must've made a mistake somewhere and added 10,000 user groups instead. That was the last thing I glimpsed on my screen before everything went blank.

    Now whenever I try to access /cms/admin/security, all I get is:

    ===================================
    Server error.

    The website encountered an error while retrieving http://www.thundermatch.com.my/cms/admin/security/. It may be down for maintenance or configured incorrectly
    ===================================

    Everything else works fine, just that I can't access the Security page anymore. As far as I know, I have Silverstripe v2.4.0 installed. Please help!!

    Thank you so very much!

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Security tab messed up Link to this post

    First thing to do is to put the site into dev mode and get a proper error message. Quite a few ways to do that - http://doc.silverstripe.org/sapphire/en/topics/debugging

  • naquadah
    Avatar
    Community Member
    3 Posts

    Re: Security tab messed up Link to this post

    FINALLY! A reply!

    Thanks for replying, really appreciate it. Before I go into dev mode though, just to clarify, my _config.php file does not have

    Director::set_environment_type("live");

    It starts off this way:

    Director::addRules(50, array(
       'processes/$Action/$ID/$Batch' => 'BatchProcess_Controller',
       'silverstripe' => '->admin',
    ...
    ...
    ...

    How do I modify it? My guess is as below, please let me know if it is correct -

    Director::set_environment_type("dev");
       'addRules(50, array(
       'processes/$Action/$ID/$Batch' => 'BatchProcess_Controller',
       'silverstripe' => '->admin',
    ...
    ...
    ...

    Thanks a lot!

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Security tab messed up Link to this post

    Just include the line at the end of the file. Don't touch the existing lines (as they do different things).

    Director::set_environment_type("dev");

    At the bottom should now give you a more useful error once you reload the page.

  • naquadah
    Avatar
    Community Member
    3 Posts

    Re: Security tab messed up Link to this post

    I don't see any difference, looks the same to me...

    Server error.

    The website encountered an error while retrieving http://www.thundermatch.com.my/cms/admin/security/. It may be down for maintenance or configured incorrectly.

    Here are some suggestions:
    Reload this web page later.
    More information on this error
    Below is the original error message

    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

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