We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36906
    • 34 Posts
    TheNewManifesto Reply #11, 15 years ago

    Hi jaeger83,

    I think that happened to me and it was the ownership and permissions on core/assets.

    If you have Plesk or Cpanel you should be able to fix both of those aspects via their 'built in file manager'.

    Also, once you're happy its all running OK, (and if you haven't already), you could refine the permissions back from 777.

      • 35103
      • 54 Posts
      I've changed the permissions of the folders assets and core to 777. But even after refreshing the tree no directories are showing in the files tab. Should there be a folder called in core called assets? I don't have one of those.

      If the MODX Browser is opened it shows the sub-directories under files but no files inside any of these directories.

      See attached images...
        • 36906
        • 34 Posts
        TheNewManifesto Reply #13, 15 years ago

        K, thats the chmod, what about the chown?
          • 35103
          • 54 Posts
          didn't modify chown, as the support guy said it was the same as chmod. i modified it in php.ini file, but couldn't find any reference to chown.
            • 36906
            • 34 Posts
            TheNewManifesto Reply #15, 15 years ago

            Hi,

            They aren't strictly the same thing, but they are related as 'user - permissions'.
            http://www.freeos.com/articles/4440/

            I'm not sure what to suggest in that case (sorry!)… Can you view the files directly in your browser via the /assets/ path?


              • 35103
              • 54 Posts
              is there a way to modify chown from the modx manager or by ftp? i have no command line access.
                • 1343 ☆ A M B ☆
                • 2,213 Posts
                Hello,

                The question of how PHP is configured still applies, for example if php is configured as phpsuexec, your permissions need to be 644/755 (file/folder), anything more will give a 500 error (or other issues). It also means everything is run as your user.

                If it's configured with DSO for example, you will need 666/777 permissions, and then php is run as the server instead of your user, so things work differently.

                If you switched from DSO to phpsuexec then you will run into ownership issues, in which case your host will need to modify the file/folder owners. If you have access to shell, then you could do ls -l to check the owner.

                There isn't a way to fix ownership with cPanel, this must be done by shell. If you host is unwilling to make the change you may want to look at other providers.
                  Patrick | Server Wrangler
                  About Me: Website | Tweets |  MODX Hosting
                  • 36906
                  • 34 Posts
                  TheNewManifesto Reply #18, 15 years ago

                  The suexec explanation sounds good to me...

                    • 35103
                    • 54 Posts
                    OK thanks guys, I'll have a chat to the hosting company.