We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43509
    • 24 Posts
    Hi, in modx revo 2.2.6 I've got this problem: when I go on "Files" tab in manager I can see only "Filesystem" folder, but not the tree of files it contains.

    I have read all the posts on the forum I found searching... but no one seems to solve my problem!
    Still I cannot access the tree.

    Thanx for your help!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There could be a lot of possible reasons for this. More information would be helpful. Is this a new installation? Has the site been moved to a different server? Have you checked your server and PHP error logs?

      Bad file permissions on the server (nothing to do with MODx).

      A mis-configured ACL setting for the group your user is assigned to.

      Errors in the config.inc.php file.

      Corrupted cache files - manually delete all the folders in the /core/cache/ folder.



        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
        • 43509
        • 24 Posts
        Hi,
        the site has been recently moved to another server (in the old location everything is still working fine).

        I checked what you suggest:

        - Bad file permission on the server: which level of permission is supposed to work? I checked it, and it seems equivalent in the old site.

        - A mis-configured ACL setting for the group your user is assigned to: i kept the same as in the old site. By the way, I have an administrator account (assigned to administrators, which should have all permissions): it does not work.

        - Errors in the config.inc.php file: which ones for example? It seems correct.

        - Corrupted cache files: I manually deleted it many times...


        mmm... further investigation required!

          • 28042 ☆ A M B ☆
          • 24,524 Posts
          File permissions needed depend on the server configuration. Some require 755/644 for folders/files, others need 777/666 for folders/files that MODx can write to.

          Did you upload the setup directory and re-run setup in upgrade mode after moving the site?

          Do the paths in the config.inc.php file, as well as the three core.config.php files, have the new server's correct paths?
            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
            • 43509
            • 24 Posts
            I checked the "connectors" folder permissions: it has 755 for folders and contained files.

            Yes, I re-run the setup in upgrade mode.
            Yes, the config files seems to be correct.

              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Have you tried clearing your browser cache and cookies for the domain? That's about the only other thing that I can think of.
                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
                • 43509
                • 24 Posts
                Unluckily... yes.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Double-check all paths and URLs in the config.inc.php file. It's easy to miss one of these being set to the old path or URL.
                    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
                    • 43509
                    • 24 Posts
                    They seem to be correct...

                    Could it be something related to .htaccess file?

                    I have a multilingual site with the following lines related to "assets":

                    # redirect all requests to /en/assets* and /it/assets* to /assets*
                    RewriteCond %{REQUEST_FILENAME} !-d
                    RewriteCond %{REQUEST_FILENAME} !-f
                    RewriteRule ^(en|it)/assets(.*)$ assets$2 [L,QSA]
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Hm. Yes, that does look like it could be your problem. I've never used such a setting, so I can't say what might be wrong with it. Perhaps you could use the ht.access file in the /manager/ directory to turn off rewrites for the manager?
                        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