We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34068
    • 17 Posts
    Hello

    after two upgrade on different website, my access to some menu are down :

    Manage > Remove locks
    Manage > Flush your permissions
    ...

    2.6.0 wrong

    <li id="remove_locks">
        <a onclick="{literal} MODx.removeLocks();return false;{/literal} ">Remove Locks<span class="description">Remove all locks on Manager pages</span>
    </a>
    </li>
    


    2.5.8 good

    <li id="remove_locks">
    <a onclick="
    MODx.msg.confirm({
        title: _('remove_locks')
        ,text: _('confirm_remove_locks')
        ,url: MODx.config.connectors_url
        ,params: {
            action: 'system/remove_locks'
        }
        ,listeners: {
            'success': {fn:function() {
                var tree = Ext.getCmp('modx-resource-tree');
                if (tree && tree.rendered) {
                    tree.refresh();
                }
             },scope:this}
        }
    });">Remove Locks<span class="description">Remove all locks on Manager pages</span>
    </a>
    </li>
    



    so {literal} is no processing

    thanks for your help

    This question has been answered by Bruno17. See the first response.

      • 3749
      • 24,544 Posts
      Have you tried manually deleting all files in the core/cache directory and visiting with your browser in private or incognito mode?
        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
        • 34068
        • 17 Posts
        Quote from: BobRay at Nov 09, 2017, 08:17 PM
        Have you tried manually deleting all files in the core/cache directory and visiting with your browser in private or incognito mode?

        yes it's the same... even if I'm a sudo user on the manager
        • discuss.answer
          • 4172
          • 5,888 Posts
          Can't reproduce this. this literals are Smarty-tags, they are usually removed by Smarty. Can't say, why not on your installation.

          Seems related to this one:
          https://github.com/modxcms/revolution/issues/13681

          Which plugins have you running?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 4172
            • 5,888 Posts
            blackmeridian, could you solve this issue somehow?
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 34068
              • 17 Posts
              No, i do not fix the problem. I have got a lot :

              AutoTemplate
              1.0.0-rc

              Breadcrumbs
              1.1.0-pl

              CacheClear
              1.0.3-pl

              Canonical
              2.0.0-pl

              CodeMirror
              2.2.1-pl

              CustomUrls
              1.0.0-rc3

              fastField
              1.4.0-pl

              FirstChildRedirect
              2.3.1-pl

              getDate
              1.0.0-pl

              getPage
              1.2.4-pl

              getResourceField
              1.0.3-pl

              getResources
              1.6.1-pl

              getUrlParam
              1.0-beta1

              GoogleCloudStorage
              1.0.0-rc1

              If
              1.1.1-pl

              Image+
              2.6.3-pl

              Login
              1.9.4-pl2

              LoremIpsum
              0.6.1-alpha1

              MandrillX
              1.0.3-pl

              Markdown Parser
              1.0.0-beta1

              MIGX
              2.11.0-pl

              pThumb
              2.3.3-pl

              Resizer
              1.0.1-pl

              SimpleSearch
              1.9.2-pl

              ToggleTVSet
              1.2.3-pl

              translit
              1.0.0-beta

              UltimateParent
              2.0-pl

              UpgradeMODX
              1.5.4-pl

              Wayfinder
              2.3.3-pl

              XRouting
              1.4.1-pl
                • 34068
                • 17 Posts
                and thanks bruno, i'm a big fan of MIGx, I use it a lot !
                  • 4172
                  • 5,888 Posts
                  can you tell something about your environment?
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 34068
                    • 17 Posts
                    Quote from: Bruno17 at Nov 17, 2017, 05:21 AM
                    can you tell something about your environment?

                    it's on a "OVH mutualisé" very basic :

                      • 34068
                      • 17 Posts
                      I've set different folder for manager / core / and connector folder
                      I don't know if other with this problem did the same ?