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?
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.
Ä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?
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.
-
☆ A M B ☆
- 427 Posts
I have seen this type of weirdness, when a user is still logged into the Manager during an update.
-
☆ 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.
Fantastic it worked, thanks!