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

I can't login to admin interface


Reply


6 Posts   1366 Views

Avatar
krzepa

Community Member, 5 Posts

5 June 2013 at 12:00am

SS 3.0.5 with translatable module, generally worked fine until I've deleted all content from silverstripe-cache directory.
In particular I can log in but I'm always redirected from /admin, /dev/build, etc. to login page /Security/login?BackURL=%2Fadmin%2Fpages with information that I'm logged and I can login as some else. Any idea how to fix it?

Avatar
Bambii7

Community Member, 254 Posts

5 June 2013 at 6:44pm

Have you tried hitting /?flush=all to rebuild the cache?

Avatar
krzepa

Community Member, 5 Posts

5 June 2013 at 8:07pm

Sure... it didn't help. I've also checked other clues from this forum related to similar problem but with no progress.
I wondered what happens with older SS so I deleted manually all cache files from site build on SS 2.4.
It works fine I still can access admin area in SS 2.4.
Generally site on 3.0.5 works fine but it seems that back-end lost his cms module...

Avatar
martimiz

Forum Moderator, 1132 Posts

6 June 2013 at 11:09pm

Could it be that you changed or added something earlier, without flushing, so the old cache was still disregarding the changes, and now it doesn't anymore, resulting in some error?

Did you try a /dev/build/?flush=1

Did you put your site in dev mode - that might give you a hint...

Martine

Avatar
krzepa

Community Member, 5 Posts

7 June 2013 at 7:53pm

I cannot see any errors, dev mode on.
I use build and flush rather regularly after changes.
I deployed SS 3.0.5 site on some server without any problems after some time I deployed it on the other one
and there was no access to admin area. I wondered what happened after comparing server configuration, etc.
I deleted cache files from the first server. Now on both I can't access admin area :-/

Avatar
beren

Community Member, 9 Posts

18 June 2013 at 11:05pm

have you been able to fix your problem?
Got similar problem.

I can access the admin site but when I am doing mysite/?flush=all , SS wants me to log in as Administrator even tho I am logged as one.
My Admin have checked Full administrative rights on Permissions tab (all others are red but Admin rights should be enough?)