We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Andraz, what happens if something goes wrong and manager access appears to be permanently blocked? How do you "undo" that?
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 1511
      • 144 Posts
      It is set up this way:

      • the manager will stay disabled until the end of update process or not more than 5 minutes (can be changed)
      • if updating goes wrogn, next update will "refresh" the manager lock and will enable manager access as soon as it finishes updating
      • your question was the reason why I’ve set a file as a "site is updating" indicator, so the user can access it and delete it via ftp, thus restore the manager access instantly
      The other option is, as I’ve listed before, to wait not more than 5 minutes and the lock is deleted.

      The installation sets a file in ’assets/cache/’ folder, which contains the timestamp of the install procedure. If the installation goes ok, this file is removed at the end of the process.

      When trying to login to manager, I check for that file and inform the user (and prevent the login) if the install process is still going on.
      If the timestamp in the file is older than 5 minutes, I ignore this file and delete it.

      It’s the same if the session already exists: for every action I check for that file and if it has "valid" timestamp, I exit the manager and kill the session.
        • 1511
        • 144 Posts
        AjaxSearch include_once issue fixed. Strike that out.
        The same goes for Buttons fail in TinyMCE in FF 2.0.2. (last issue)
          • 33372
          • 1,611 Posts
          Another uneventful upgrade with no issues to report!

          One thing that threw me for a second is that the new version of TinyMCE isn’t enabled by default on upgrade. You need to disable the old one, enable the new one, and set it to trigger on the right System Events. If this was mentioned in the installer dialogs somewhere, I missed it (and if it wasn’t, perhaps it should be).

          The new Content Editor theme for TinyMCE is the porridge that Goldilocks ate, btw.
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn't very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options