Jump to content

Recommended Posts

Posted

Got home to some strange behaviour on one of my development sites - not able to login.

I have seen this: processwire.com/talk/topic/4011-cannot-login-to-admin-area/

But nothing there works. If I try changing the password, still can't sign in.

Using SessionHandlerDatabase, and have cleared those caches too. Could that module be an issue in 2.5.25? I am running another few local sites on that version, but am not experiencing the same issue.

Nothing in any error logs anywhere. Login form doesn't show any errors either.

Wondering if the installation in question has gone all bonkers on me...

Update: I also have the Forgot Password module enabled. Interestingly, when I click on it, it just shows the normal login form... Isn't it supposed to just show email? The URL does include ?forgot=1...

Posted

@Mike - have you tried disabling the UpgradeCheck module, if you have that installed?

I ran into an issue on Sunday night where i couldn't login to admin, and disabling that module let me back in;

i got a clue from this warning

[05-Apr-2015 22:36:22 America/New_York] PHP Warning:  json_decode() expects parameter 1 to be string, array given in /home/user/dev/site/modules/ProcessWireUpgrade/ProcessWireUpgradeCheck.module on line 57
Posted

@Mike - have you tried disabling the UpgradeCheck module, if you have that installed?

I ran into an issue on Sunday night where i couldn't login to admin, and disabling that module let me back in;

i got a clue from this warning

[05-Apr-2015 22:36:22 America/New_York] PHP Warning:  json_decode() expects parameter 1 to be string, array given in /home/user/dev/site/modules/ProcessWireUpgrade/ProcessWireUpgradeCheck.module on line 57

That doesn't seem to do it either... Not getting any errors/warnings anyway...

Posted

Okay, I've managed to login by creating a front end login form - this seems to have worked. Still, the backend login form doesn't want to work. I'm assuming this has something to do with CSRF...?

Posted

I have a PW 2.5.23 with SessionDBHandler and ForgottPassword running without problems. Everytime getting the right forms and all works as expected.

Posted

Ah, figured it out.

For some reason, I set the cache on the admin template instead of another template... No idea how I did that. Must have just clicked on the wrong template and not noticed which one I was editing.

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...