As above. The login screen comes up but just reappears when I click on the login button. If I enter an incorrect password, it says so, so its connecting to the db ok I think.
It happens on my local machine as well as my live site - there is no way the local machine has been compromised. I did update some addons the other day. I'm running the latest version of modx
Nothing is showing in the php error log. I've tried reinstalling the latest version of modx over my local copy - no difference
Any ideas?
[ed. note: markgurney last edited this post 6 years, 7 months ago.]
What Addons did you update?
Is this on Revo 2.6.5?
Have you cleared the contents of the /core/cache/ folder?
Can you login using 'Incogneto' mode in Chrome?
Thanks for the reply
I updated Gallery in the past week or so but haven't logged out since doing that. I upgraded upgrademodx and ckeditor before that but I have logged in since doing those two.
Yes, Revo 2.6.5
Just tried clearing the cache folder on my local box - no difference.
Tried incognito mode - no difference.
Sounds like a permissions issue.. You could try creating a new admin user to be sure.
On your local create a .php file called createUser.php and paste in this code:
https://pastebin.com/AkUx2yJC
Then go to your localhost/createUser.php to execute the script and then try logging in with the username **deleted** and password **.
deleted**
[ed. note: lkfranklin last edited this post 6 years, 7 months ago.]
Thanks.
Just tried that, no difference I'm afraid. The login page just reloads on submit straightaway
It was a drastic measure/long shot
Have you tried reinstalling MODX over the top?
Ok. Something is very strange here.
I can login ok after doing an over the top reinstall. However, if I logout and then login again, the issue comes back.
Nothing strange is showing in the access log and the php error log is empty (aside from the usual startup information)
Ok. I did an 2nd over the top install to make sure it wasn't a one off - same issue after logout/login.
I then did another install but uninstalled the gallery add-on before logging out - that seems to have cured the issue. Very strange...
Anyway - thank you all for your help!
Quote from: lkfranklin at Aug 10, 2018, 12:36 PMSounds like a permissions issue.. You could try creating a new admin user to be sure.
On your local create a .php file called createUser.php and paste in this code:
https://pastebin.com/Y0DGrEME
Then go to your localhost/createUser.php to execute the script and then try logging in with the username tempadmin and password sc00byd00.
Hello LK, Did you write this? Have you ever used it successfully? It looks simultaneously extremely useful and rather terrifying!
I grabbed it from bobsguides and can confirm it is both! But it has come in handy a few times when clients have been locked out