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.]
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.
Thanks. That worked a treat.