We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15550
    • 12 Posts
    I need to move a web site to a new server. (modx version 2.0pl2).

    I've got a back up of the database and the files from the old server but these were made before logging out / flushing sessions and I no longer have access to the site to flush sessions / logout from the manager area.

    This means that when I move the site to the new server (uploading setup dir and running an upgrade setup) I can't access the admin area as when trying to login.

    I get the following message "That account could not be located. Check the username and re-type the password to try again.".

    I've tried clearing the cache manually, and deleting everything from modx_sessions table in the db but still can't get in.

    Is there something I'm missing, or a different way to flush all sessions?

    Cheers [ed. note: keeps21 last edited this post 12 years, 10 months ago.]
      • 3749
      • 24,544 Posts
      Try clearing your browser cache and cookies and deleting all files in the core/cache directory. A leftover cookie can mess up the session information.


      You can also empty the modx_sessions table in PhpMyAdmin if necessary.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 15550
        • 12 Posts
        Thanks. That worked a treat.