We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12043
    • 10 Posts
    I have just installed 2.1 for the first time on a new project and I can’t seem to login. I know I have used the proper username and login but it simply won’t work. It just brings me back to the login screen. Any ideas?
      • 24068
      • 4 Posts
      No ideas, but also strange login-behavior:

      Im running two modx 2.1-pl ultra-fresh-installs side by side on the same server.

      Log into one install, logs me out of the other and vice versa.
      After changing session_path from "/" to "/modx/dev/" and "/modx/test/" i could
      simultanously use thoose installs... at least for a while.

      Suddenly and out of nowhere i where logged out of both installs.
      Now i can login but i get loged out on the next click of any manager-page - on both installs.

      Strange.

      Uh, an idea: Purge data in session table... one moment.
        • 24068
        • 4 Posts
        Ähm, OK, i dont get it. Its working again. And i did not clear the session-table...

        (Maybe my server not sending all files to the browser?)

        Is the change of session_path necessary to run two installs of modx simultaniously? No, is it?
          • 24068
          • 4 Posts
          It did work for a while, then again not.

          hephaestoskin, now i did clear (hopefully) everything:

          delete all data in table modx_session
          delete all inside the directory core/cache of the modx-install
          delete all browser cookies
          clear browser cache

          and its working again, at least for me.

          Give it a try.
            • 32699 ☆ A M B ☆
            • 427 Posts
            I have seen this type of weirdness, when a user is still logged into the Manager during an update.
              Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

              Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Evo will do the same thing. It especially causes problems if any javascript files have been updated, since those are cached by the browser and it’s often reluctant to let go of them. I find I usually need to manually clear my browser cache, and sometimes even all cookies for the domain.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 12043
                • 10 Posts
                Fantastic it worked, thanks!