We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48751
    • 5 Posts
    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 5 years, 8 months ago.]
      • 38783
      • 571 Posts
      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?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 48751
        • 5 Posts
        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.
          • 17301
          • 932 Posts
          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 5 years, 8 months ago.]
            ■ email: [email protected] | ■ website: https://alienbuild.uk

            The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
            • 48751
            • 5 Posts
            Thanks.

            Just tried that, no difference I'm afraid. The login page just reloads on submit straightaway
              • 17301
              • 932 Posts
              It was a drastic measure/long shot smiley

              Have you tried reinstalling MODX over the top?
                ■ email: [email protected] | ■ website: https://alienbuild.uk

                The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
                • 48751
                • 5 Posts
                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)
                  • 48751
                  • 5 Posts
                  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!
                    • 38783
                    • 571 Posts
                    Quote from: lkfranklin at Aug 10, 2018, 12:36 PM
                    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/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!
                      If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

                      email: [email protected] | website: https://andytough.com
                      • 17301
                      • 932 Posts
                      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 smiley
                        ■ email: [email protected] | ■ website: https://alienbuild.uk

                        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.