Jump to:

1169 Posts in 2694 Topics by 411 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » redirecting to /Security/login...

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1
Go to End
Author Topic: 3352 Views
  • plagil
    Community Member
    5 Posts

    redirecting to /Security/login... Link to this post


    After i changed my existing gallery folder to a svn Version of gallery i ran /dev/build and got redirected to the login. So i copied back my old gallery folder and again ran /dev/build and got redirected again. Any ideas how this can be fixed ?

  • lancer
    57 Posts

    Re: redirecting to /Security/login... Link to this post

    What happens if you login?

    Also, what hostname were you using? If you were using localhost, SStripe should be in dev mode an allow you to run /dev/build. If not SStripe asks for your credentials.

    You can also force SStripe to go into dev mode by adding


    Type mysite/_config.php

  • marblegravy
    Community Member
    19 Posts

    Re: redirecting to /Security/login... Link to this post

    Thanks Lancer - that was all that was needed.

    I'm guessing with dev mode on it automatically allows dev/build to go ahead even if you aren't logged in?

    What myself and plagil were getting is an error that couldn;t be rendered because there was something that needed the dev/build to fix. But we couldn't do it because we weren't logged on. right?

  • tricomix
    Community Member
    1 Post

    Re: redirecting to /Security/login... Link to this post


    I've had the very same problem. Couldn't login because that wouldn't work until dev/build had been run, but couln't run dev/build because I wasn't logged in. Then I found the "force dev mode" option somewhere. That's okay for development and testing, but what shall I do in a production environment? I don't want to go into development mode there, but I can't login to run dev/build. There must be a plan or at least a best practice for this.

    Is there any way to let silverstripe just generate but not execute the database update script and run it in phpMyAdmin manually? So I wouldn't need to run dev/build.

    Alternatively, is there any way to get a working login screen even if the database has not been updated yet? So I could run dev/build without using dev mode.

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.