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.

General Questions

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

Login Problem


Go to End
Reply

12 Posts   3394 Views

Avatar
Bapfi

15 August 2009 at 8:45am Community Member, 4 Posts

Hi,

today I installed Silverstripe. The first login was successful, then I added an other theme and tried to login again. But now there only comes the message:

Log in

Welcome Back,

You're logged in as .

And the button "Login as someone else"

I don't know what's wrong. Does anybody has an idea what I could do?

Thanks a lot. ;)

Avatar
StuM

15 August 2009 at 10:55am (Last edited: 15 August 2009 1:37pm), Community Member, 56 Posts

.

Avatar
Hamish

15 August 2009 at 12:16pm Community Member, 712 Posts

This looks like normal operation.

You are logged in with an account that doesn't have a name. If you click 'login as someone else' you should get the login form again. If you log out or the session expires, you should get the same thing.

What is the problem, exactly?

Avatar
Bapfi

16 August 2009 at 6:20am (Last edited: 16 August 2009 6:28am), Community Member, 4 Posts

The problem is that I don't come in the Admin Area. And my Username has got a name.

It looks like this:

Attached Files
Avatar
Martijn

16 August 2009 at 9:03am Community Member, 271 Posts

Can you login when adding a default admin to your mysite/_config.php?

Security::setDefaultAdmin("username", "password");

I had some problems with logging in as well. Sometimes (during development) clearing browsercache and removing cookies helped me...

Avatar
Bapfi

16 August 2009 at 11:51am Community Member, 4 Posts

Ähm I can't add an admin account in the _config.php? There's an error message then.

Clearing browserchache and removing cookies doesn't help. The same message comes again. :(

Avatar
Martijn

16 August 2009 at 1:05pm Community Member, 271 Posts

What message do you get when you add a default admin in mysite/_config.php ?

Avatar
Willr

16 August 2009 at 6:24pm Forum Moderator, 5511 Posts

This is a bug. The log in as someone else feature was adding in 2.3.2 and it does not always redirect successfully. All you need to do is edit the url to site.com/admin again and you should be in the admin panel.

Go to Top