We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42802
    • 96 Posts
    Sebastian Zahn | ingroove.uy Reply #1, 12 years, 2 months ago
    Hi there. I´ve this problem, i migrate a website to a GoDaddy server , everything works great, but i can´t see files in folders, Media sources and Filesystem.

    Attach screenshot.

    Any help is welcome, thanks.

    Sebastián.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Hm. First time I've heard of anybody migrating TO a GoDaddy server. How did you do the migration? Using a single .zip file and unzipping it on the server is recommended, as uploading all of MODX's files via FTP will often end up with one or more of its files corrupted or missing altogether.

      In any case, did you run the same version's setup in upgrade mode?

      Find out what group your user belongs to, then look at that group to see what Policy it is using. Then check that Policy to make sure that the permissions for working with files are all checked.
        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
        • 42802
        • 96 Posts
        Sebastian Zahn | ingroove.uy Reply #3, 12 years, 2 months ago
        Thanks for your reply Susan!

        In fact it wasn´t my decision, i made this job for a designer, and when i came back from holidays they ask for change the server because of mail problems...

        When i move the site, i follow all the steps: disabled friendly urls, clear cache ( from manager and from folder ), backup database, backup site files, change config files, then create the new db and imported the data, upload the site in a .zip file and uncompress in the server, i uploaded a setup folder same version as the used, run setup as upgrade, everything works fine untill i see this issue.

        Never happend this before, can´t see the files from media sources or FileSystem.


        Quote from: sottwell at Jul 21, 2014, 07:33 PM
        Hm. First time I've heard of anybody migrating TO a GoDaddy server. How did you do the migration? Using a single .zip file and unzipping it on the server is recommended, as uploading all of MODX's files via FTP will often end up with one or more of its files corrupted or missing altogether.

        In any case, did you run the same version's setup in upgrade mode?

        Find out what group your user belongs to, then look at that group to see what Policy it is using. Then check that Policy to make sure that the permissions for working with files are all checked.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Check the config.inc.php file to make sure that it's all pointing to the correct file path and URL.

          Check the file and directory permissions to make sure they are readable by the web server/PHP user.
            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
            • 42802
            • 96 Posts
            Sebastian Zahn | ingroove.uy Reply #5, 12 years, 2 months ago
            All config files looks good, folders and files have 755 permissions. Error log empty. Media sources are ok.

            Ah, the migration was from GoDaddy to another server, i made a mistake. In godaddy worked fine.

            Maybe this helps: Media Browser shows all the folders tree, not the files. Attach screenshot.

            Quote from: sottwell at Jul 22, 2014, 12:17 PM
            Check the config.inc.php file to make sure that it's all pointing to the correct file path and URL.

            Check the file and directory permissions to make sure they are readable by the web server/PHP user.
            [ed. note: zzseba last edited this post 12 years, 2 months ago.]
              • 42802
              • 96 Posts
              Sebastian Zahn | ingroove.uy Reply #6, 12 years, 2 months ago
              The designer when he try to migrate the site, upload to the new server the php.ini file from the old server to the new one ( he doesn´t even know what this file is sad ) and maybe this file messed up the server. It´s the only thing that could happen, i check all the posibilities and everything is fine, and the site in the previous server works great, and this issue don´t seems to happen to another modx user and never happen to me before ...
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                It could mess up the server, but once you remove it or rename it everything should go back to normal.

                Did you check the Policy for the user group involved, and make sure that it has all the file handling permissions checked?
                  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
                  • 42802
                  • 96 Posts
                  Sebastian Zahn | ingroove.uy Reply #8, 12 years, 2 months ago
                  Yes, it happens too in the administrator usergroup ( 172 of 172 ).

                  Quote from: sottwell at Jul 22, 2014, 02:28 PM
                  It could mess up the server, but once you remove it or rename it everything should go back to normal.

                  Did you check the Policy for the user group involved, and make sure that it has all the file handling permissions checked?
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Use FTP or a server control panel (or ls -l with a shell) and make sure the files are all readable by the web server user, or the owner of the rest of the files and directories if you're using some kind of su_exec. The files should at least be something like 644

                    The 4 means readable, +2 = 6 means writable and readable, add 1 to it and it means executable, in the case of folders that they can be opened. The first number is for the file's owner, the second is for everybody in the owner's group, and the third number is for everybody, or "world", as in "world-readable" or "world-writable".
                      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