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

    please help me to solve the trouble which took me last two days to GOOGLE for it with no success.

    One resource's sub pages have disappeared from resources tree. The 'heading' resource's link looks like being clickable to show sub pages, but nothing happens when clicked and the arrow-icon disappears too. But in fact, those sub pages DO exist (they are accessible form the world via aliases or their native ID's).
    Please note that the trouble touches one concrete resource, others are OK.

    What's already done trying to fix:
    1. Cache cleaning via manager
    2. Manual cache cleaning
    3. Permissions reset
    4. JS-compression options disabled.

    Please help to fix it, because it occured while having final project's content-management stage already started.

      • 30585
      • 833 Posts
      Can you check which Resource Type the parent resource is set to? Right click the resource > Quick update > Settings. It should be set to Document.
        A MODx Fanatic
        • 51320
        • 8 Posts
        Quote from: treigh at Nov 07, 2015, 12:44 PM
        Can you check which Resource Type the parent resource is set to? Right click the resource > Quick update > Settings. It should be set to Document.
        Thank you for advice, but I've just checked so everything is OK with that resource being 'document', so that isn't a true reason.
        • Is the parent resource checked as being a container in its settings tab?
            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
            • 38878
            • 255 Posts
            Quote from: sottwell at Nov 07, 2015, 03:19 PM
            Is the parent resource checked as being a container in its settings tab?

            What is the Resource Type of the resource (under settings)? Do you have any addons installed like Collections?
              • 51320
              • 8 Posts
              Quote from: sottwell at Nov 07, 2015, 03:19 PM
              Is the parent resource checked as being a container in its settings tab?

              Quote from: harveyev at Nov 07, 2015, 03:41 PM
              Quote from: sottwell at Nov 07, 2015, 03:19 PM
              Is the parent resource checked as being a container in its settings tab?

              What is the Resource Type of the resource (under settings)? Do you have any addons installed like Collections?

              Everything is OK with settings and types, the only addons used are WayFinder and getResources. This Revo is newly installed and I can't even imagine what could cause such kind of problem.
                • 30585
                • 833 Posts
                Can you check your error log and report any messages you see?
                  A MODx Fanatic
                  • 3749
                  • 24,544 Posts
                  Check the modx_site_content table in the DB in PhpMyAdmin and see if the 'parent' field of all those resources contains the ID of the parent resource (if not, set it to that ID). Sometimes the parent field can get munged up when you drag resources around in the tree.
                    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
                    • 51320
                    • 8 Posts
                    Quote from: treigh at Nov 07, 2015, 05:10 PM
                    Can you check your error log and report any messages you see?
                    Really, there're some messages but they all aren't in touch with resources or JS.
                    All of them have the same text: 'CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set'.



                    Quote from: BobRay at Nov 07, 2015, 10:42 PM
                    Check the modx_site_content table in the DB in PhpMyAdmin and see if the 'parent' field of all those resources contains the ID of the parent resource (if not, set it to that ID). Sometimes the parent field can get munged up when you drag resources around in the tree.
                    I've looked at those fields as you adviced, but all parent IDs are on their places.


                    Oh, there is a one more detail noticed: the website is cyrillic, all of content is shown correctly in manager and on all webpages, but in PHPMyAdmin it looks like being unreadable/damaged due to the incorrect encoding. Could it somehow cause the problem?
                      • 3749
                      • 24,544 Posts
                      If the encoding is incorrect, it can cause problems, but it seems unlikely that it would cause that particular problem unless just those pagetitles have problem characters in them.

                      Repairing all tables in PhpMyAdmin is something to try in case the database itself is corrupted.

                      You can look at the core/config/config.inc.php file to see what encoding MODX expects, then you can look in the DB to see if the tables and the text fields inside the tables use that encoding.

                      There is more information on the character-set issue here along with a free script to correct things, but I haven't had a chance to check if the script works with the current version of MODX, so it may not.

                      http://bobsguides.com/convert-db-utf8.html

                      SiteCheck will check the character set of the DV, every table, and every text field for you and will check the validity of the resources to see if it can find any other problems with them, but it's not free.

                      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