We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17473
    • 3 Posts
    I get this message...

    Setup has carried out a number of checks to see if everything’s ready to start the setup.

    Checking PHP version: OK!

    Checking if sessions are properly configured: OK!

    Checking if assets/cache directory exists: OK!

    Checking if assets/cache directory is writable: Failed!

    Checking if assets/cache/siteCache.idx.php file is writable: Failed!

    Checking if assets/cache/sitePublishing.idx.php file is writable: Failed!


    Checking if assets/images directory exists: OK!

    Checking if assets/images directory is writable: Failed!

    Checking if assets/export directory exists: OK!

    Checking if assets/export directory is writable: Failed!

    Checking if manager/includes/config.inc.php is writable: Failed!


    For new Linux/Unix installs, please create a blank file named config.inc.php in the manager/includes/ directory with file permissions set to 777.

    Creating connection to the database: OK!

    Checking table prefix `modx_`: OK!

    Unfortunately, Setup cannot continue at the moment, due to the above 6 errors. Please correct the errors, and try again. If you need help figuring out how to fix the problems, visit the Operation MODx Forums.




    I have permissions to all those folders.
      • 18397
      • 3,250 Posts
      Did you give them all 777 permissions?
      • This depends completely on your environment. In most shared hosting situations, mod_php is used, which requires you to set 777 permissions on folders in order to write new files, and 666 on files, to write to them. This is because the apache service typically runs as user nobody, while your files are owned by you/your account.

        More and more shared hosts are moving to FastCGI execution of PHP using phpSuExec, which means PHP scripts execute as your user/account within apache, and since this is the same as the file owner, you do not require the open permissions for group and world writability (the last two digits in 777/666); 755, 644 typically suffice for writing, and files that don’t need write access from the scripts can even be set at 444 (though it makes it difficult for you to manage files via FTP typically, since you can’t overwite files with 444).

        But again, this is totally dependent on your server configuration.
          • 17473
          • 3 Posts
          Hey thanks guys, worked fine wink
            • 10622
            • 6 Posts
            How do you give them all 777 permissions?
            • Use your FTP client. Some you can right-click on the file and select a "chmod" option, others you can right-click or select the file and select a "properties" function.
                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