We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26401
    • 247 Posts
    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 ?
      • 21257 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?
        Mike Schell
        Lead Developer, MODX Cloud
        Email: [email protected]
        GitHub: https://github.com/netProphET/
        Twitter: @mkschell
        • 26401
        • 247 Posts
        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.
          • 26401
          • 247 Posts
          ha, looks like that didn’t work for long - I’m back to no go. Might have to try hacking the core sad
            • 21257 MODX Staff
            • 730 Posts
            Or instead of setting $lastInstallTime to 0, set it really high. By the way, what is $lastInstallTime set to now?
              Mike Schell
              Lead Developer, MODX Cloud
              Email: [email protected]
              GitHub: https://github.com/netProphET/
              Twitter: @mkschell
              • 26401
              • 247 Posts
              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