We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15320
    • 22 Posts
    Hi there,
    I am trying to install MODX at a new host server but are getting this prevalidation notice:

    Pre-install validation

    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 exists and 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 0666.

    Creating connection to the database: OK!

    Checking table prefix `modx_`: OK!


    Can some help me with instruction about what to do to solve the issue? I guess I have to write some code in the config.ic.php file, but what precissly.
    Thanks a lot.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you are on a Linux/*NIX server you need to change permissions on the folders assets/cache and assets/images and their contents. You also need to do as it said and create an empty config.inc.php file that is writable in the manager/includes folder.

      If you are on a Windows/IIS server, please post to the Windows/IIS forum.
        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