We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32391
    • 37 Posts
    Hi there,

    I have a site that's been running fine, all of a sudden I can't login to the manager, there's no error message, it just redirects to the login screen.
    I've tried deleting the files in core/cache but that didn't seem to help.
    I seem to remember this happening in the dim and distant past on a different install, and there was something in the database that had to be changed to 0, but I can't remember what it was.

    Any help would be much appreciated.

    PS: When you delete the core/cache files, should you delete the files inside the cache directory, or delete the cache directory altogether?

    Many thanks.
      • 38783
      • 571 Posts
      You could try logging in using Chrome in Incognito mode.
        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
        Hey Wilbo,

        It doesn't matter if you delete the files inside cache or just the entire folder of cache as it'll get recreated automatically. Do what Andy suggests though but it sounds like a permissions issue on the user to me. Is it possible that someone may have changed any of the user policies and groups?

          ■ 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.
          • 32391
          • 37 Posts
          HI Guys,

          Yes I've tried logging in on Incognito mode and it gives the same problem.

          I think this is a fairly common problem and I'm sure I've seen it before, but I can't for the life of me remember how I fixed it!
            • 38783
            • 571 Posts
            I think this may be the solution you were remembering. Presumable you could do this via phpMyAdmin:

            https://forums.modx.com/thread/?thread=57099&i=1&page=2
              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
              • 32391
              • 37 Posts
              Thanks Andy,

              I don't think that's it though, session_cookie_secure currently has no value, which I guess is the same as 0 (it's not set to 1 anyway).



              Quote from: andytough at Mar 21, 2018, 05:22 AM
              I think this may be the solution you were remembering. Presumable you could do this via phpMyAdmin:

              https://forums.modx.com/thread/?thread=57099&i=1&page=2