I cannot log in because I get redirected to
manager/index.php?installGoingOn=2
with this
"Install/update on this site was executed, please login again!"
this just started all of a sudden, I haven’t seen this issue before and have done nothing unusual lately to it.
any ideas on how to fix this ?
-
MODX Staff
- 730 Posts
Looking at the code (
http://svn.modxcms.com/svn/tattoo/tattoo/trunk/manager/includes/accesscontrol.inc.php)
your php session value "modx.session.created.time" must be set to an earlier date than the variable $lastInstallTime located in manager/includes/config.inc.php
Does it still happen if you clear your cookies for that domain, restart the browser, and log in again?
Thanks netProphET
I didn’t think it was a session issue, because access the manager only from FF, but got the same result in IE, which shouldn’t have any of the session data. So I didn’t think it was the session data.
I tried clearing the page cache on the server, but that didn’t work.
I saw somewhere that changing $lastInstallTime to 0 might work, but that didn’t for me.
so after looking at the file config file, I tried changing the session name, so I added an extra digit to $site_sessionname and presto.
Seems weird that this would solve it, but thought I’d share my solution if this happens to anyone else.
-
MODX Staff
- 730 Posts
Or instead of setting $lastInstallTime to 0, set it really high. By the way, what is $lastInstallTime set to now?
I changed the $site_sessionname again, and reset lastInstallTime to 0;
it looks like it’s working again, but I’m skeptical about the duration of this solution.
I tried logging out properly when I was able to log in, and log back in, and haven’t had any issues yet.
lastinstall time was 1264280433