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

Avatar
Bapfi

Community Member, 4 Posts

15 August 2009 at 8:45am

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

Community Member, 56 Posts

15 August 2009 at 10:55am

Edited: 15/08/2009 1:37pm

.

Avatar
Hamish

Community Member, 712 Posts

15 August 2009 at 12:16pm

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

Community Member, 4 Posts

16 August 2009 at 6:20am

Edited: 16/08/2009 6:28am

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

Community Member, 271 Posts

16 August 2009 at 9:03am

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

Community Member, 4 Posts

16 August 2009 at 11:51am

Ä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

Community Member, 271 Posts

16 August 2009 at 1:05pm

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

Avatar
Willr

Forum Moderator, 5513 Posts

16 August 2009 at 6:24pm

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