We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37247 ☆ A M B ☆
    • 11 Posts
    Description of Problem: The resource tree reloads in its default state when loading a resource.

    Steps to Reproduce: Navigate to a resource in the tree on the second or deeper level in the tree structure and load it

    Expected Outcome: Resource tree to show the loaded resource (and "highlight" it bolded) even if its not in the first level


    • MODX Version: 2.2.5-pl
    • PHP Version: 5.2.17
    • Database (MySQL, SQL Server, etc) Version: mysql 5.1.60-log
    • Additional Server Info: several other sites running on the same server without this problem, problem turned up weeks after initial install, probably site related, not server related
    • Installed MODX Add-ons: Google Analytics Dashboard Widget, BreadCrumb, CodeMirror, EasyCopyright, getResourceField, getResources, If, MIGX, phpThumbOf, selfLink, TinyMCE, UltimateParent, Wayfinder, xFPC
    • Error Log Contents: (attach as file if it’s too large)

    This question has been answered by multiple community members. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That sounds like a cookie/session issue. Try running the Security -> Flush All Sessions (it will log you out, since it clears all SESSION and cookies). Also try clearing your browser cache and cookies for the domain.
        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
        • 37247 ☆ A M B ☆
        • 11 Posts
        Quote from: sottwell at Dec 14, 2012, 02:33 PM
        That sounds like a cookie/session issue. Try running the Security -> Flush All Sessions (it will log you out, since it clears all SESSION and cookies). Also try clearing your browser cache and cookies for the domain.

        I did all that plus a reinstall but the tree still doesn't reload as supposed. I've used other (cleared) browsers and clients as well without success. Plus I noticed that resources aren't reliably saved -- I'm missing the "Save successfull." message from time to time. This is one of a dozen of technically very similar sites I did with MODX in the last few months and the first with this kind of problems. Any clues?
        • discuss.answer
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          What plugins do you have installed? Try disabling all plugins and see what happens.
            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
            • 37247 ☆ A M B ☆
            • 11 Posts
            Quote from: sottwell at Dec 17, 2012, 03:10 AM
            What plugins do you have installed? Try disabling all plugins and see what happens.

            Since it is a production site I choose to duplicate the site, upgrade to 2.2.6 and see what happens -- problem gone on the new instance ... yet I don't know why. I reinstalled the old instance with 2.2.5 now mapped on a different subdomain, problem gone (previous reinstalls had NOT been successful).
            • discuss.answer
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Gremlins.
                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
                • 37247 ☆ A M B ☆
                • 11 Posts
                Quote from: gernot_ebenlechner at Dec 14, 2012, 11:17 AM
                Description of Problem: The resource tree reloads in its default state when loading a resource.

                Steps to Reproduce: Navigate to a resource in the tree on the second or deeper level in the tree structure and load it

                Expected Outcome: Resource tree to show the loaded resource (and "highlight" it bolded) even if its not in the first level

                ...

                Updated info:

                • MODX Version: 2.2.6-pl
                • PHP Version: 5.2.17
                • Database (MySQL, SQL Server, etc) Version: mysql 5.5.28-log
                • Additional Server Info: several other sites running on the same server without this problem, problem turned up weeks after initial install, probably site related, not server related
                • Installed MODX Add-ons: BreadCrumb, CodeMirror, easycopyright, getrelated, getResourceField, getResources, If, MIGX, phpThumbOf, selfLink, TinyMCE, UltimateParent, Wayfinder
                • Error Log Contents: Error Log is EMPTY

                The problem is suddenly back on the original site and now another site got the same problem. Reinstall didn't work - seeking again for a solution. Got a copy of the problematic live site up as well to explore more deeply. Any new clues?
                • discuss.answer
                  • 37247 ☆ A M B ☆
                  • 11 Posts
                  Quote from: gernot_ebenlechner at Mar 28, 2013, 09:02 AM
                  Quote from: gernot_ebenlechner at Dec 14, 2012, 11:17 AM
                  Description of Problem: The resource tree reloads in its default state when loading a resource.

                  Steps to Reproduce: Navigate to a resource in the tree on the second or deeper level in the tree structure and load it

                  Expected Outcome: Resource tree to show the loaded resource (and "highlight" it bolded) even if its not in the first level

                  ...

                  Updated info:

                  • MODX Version: 2.2.6-pl
                  • PHP Version: 5.2.17
                  • Database (MySQL, SQL Server, etc) Version: mysql 5.5.28-log
                  • Additional Server Info: several other sites running on the same server without this problem, problem turned up weeks after initial install, probably site related, not server related
                  • Installed MODX Add-ons: BreadCrumb, CodeMirror, easycopyright, getrelated, getResourceField, getResources, If, MIGX, phpThumbOf, selfLink, TinyMCE, UltimateParent, Wayfinder
                  • Error Log Contents: Error Log is EMPTY

                  The problem is suddenly back on the original site and now another site got the same problem. Reinstall didn't work - seeking again for a solution. Got a copy of the problematic live site up as well to explore more deeply. Any new clues?

                  This time I found at least a strategy to get rid of the behaviour: recursively resetting permissions of core/cache/ and core/packages/ folders to 755 helped!