We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42681
    • 64 Posts
    After changing the 'Parent Resource' of a Resource wayfinder is ending up in an infinite loop. Clearing the cache of modx doesn´t help.

    Does anybody know where I can clear the wayfinder-cache manually by e. g. deleting files by ftp? Or is there another cache for the site-structure which has to be deleted manually to make wayfinder work again?
      • 22427
      • 793 Posts
      There is no wayfinder-cache. Please show your Resources tree and the ids of the old and the new parent of the resource you changed. And give your Wayfinder call.
        • 42681
        • 64 Posts
        Ottogal,
        it is a site of more than thousand webpages. As far as this problem only appears when moving a resource to another folder (or change the id of a resource) I think there must be a place where the site structure is saved except the folders which are deleted when using the clear cache function of modx.
          • 3749
          • 24,544 Posts
          You most likely have a resource that is a parent of itself or two resources that are parents of each other. It can happen when you drag resources around in the tree.

          If you delete all files in the core/cache directory, it will delete anything Wayfinder has cached, but it won't solve your problem if the 'parent' fields of any resources are invalid.

          If you know the resource you changed, you can edit its 'parent' field in the modx_site_content table in PhpMyAdmin (you can just make it a 0 -- that will put it at the root and you can try again). Be sure to delete the files in the core/cache directory after making the change.

          If you don't know which resource it is, SiteCheck might help, it will check the validity of the parent field of all resources: http://bobsguides.com/sitecheck-promo.html
            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
            • 36573
            • 173 Posts
            Quote from: BobRay at Jun 27, 2014, 12:27 AM
            If you don't know which resource it is, SiteCheck might help, it will check the validity of the parent field of all resources: http://bobsguides.com/sitecheck-promo.html

            I trust that your new extra is worth the money. I purchased, downloaded and now what? I thought it was a package but no dice. Any instuctions for this?
              Everything I know I learned on the internet. Saved me thousands in College tuition,
              • 3749
              • 24,544 Posts
              Thanks for buying SiteCheck.

              The docs are here: http://bobsguides.com/sitecheck-tutorial.html
                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