We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48697
    • 9 Posts
    Hi,

    I upgraded ModX last week to the newest version (2.3.1).
    Everything works fine, except clearing the cache in the manager.
    It just keeps hanging on 'Console running...'
    I searched the forums here but nothing worked; permissions are fine and there are no errors in the error log.
    I know I can just remove the cache folder or use some plugin, but I just want to fix it.

    Some firebug details:

    Post parameters to connectors/index.php;
    - HTTP_MODAUTH: authkey
    - action: system/console
    - clear: false
    - format: html_log
    - register: mgr
    - show_filename: 0
    - topic: /clearcache/

    The return is an empty array: []

    Anyone has a clue?

    Thanks,
    TB [ed. note: tb_modx last edited this post 9 years, 8 months ago.]
      • 3749
      • 24,544 Posts
      This happens to me fairly often, though not all the time. See if reloading the page before clearing the cache fixes it.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 48697
        • 9 Posts
        We have it all the time, unfortunately refreshing the page doesn't help.
          • 38237
          • 83 Posts
          If you are getting the OK button active, this is most probably because there is a completed msg in clearcache registry. Try to log out all users, login via SSH and delete the contents of ../core/cache then empty your browsers cache and try again.
            • 10795
            • 38 Posts
            Try selecting the "Manage" dropdown menu. You should see two options: "Clear Cache" and under it, "Remove Locks" (Remove locks on all manager pages).

            I would clear the cache first then select the "Remove Locks." I think this might free the console up.
              • 3749
              • 24,544 Posts
              The CacheClear extra will manually delete all files in the core/cache directory. It's a lot easier and quicker than doing it in cPanel or with an FTP client.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 10795
                • 38 Posts
                @BobRay - Your CacheClear extra is very handy and rather essential for my needs. Thanks!
                  • 3749
                  • 24,544 Posts
                  I'm glad you like it. smiley
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                  • Added it to my list of "Must-Have" extras. Now I have to update my library of Vaporized starter sites!
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 48697
                      • 9 Posts
                      Thanks for the replies.
                      Quote from: mina_gerges at Aug 29, 2014, 02:55 PM
                      If you are getting the OK button active, this is most probably because there is a completed msg in clearcache registry. Try to log out all users, login via SSH and delete the contents of ../core/cache then empty your browsers cache and try again.
                      The OK button is not getting active. Already tried the other steps, but this also doesn't work. Removing the locks and then removing neither.