We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3715
    • 5 Posts
    These two files fail the write check on the pre-install validation page:
    Checking if assets/cache/siteCache.idx.php file is writable: FAILED!
    Checking if assets/cache/sitePublishing.idx.php file is writable: FAILED!

    Here’s a list of the files showing their permissions:
    -rw-rw-rw- 1 root root 9 2008-12-05 01:43 siteCache.idx.php
    -rw-rw-rw- 1 root root 29 2008-12-05 01:43 sitePublishing.idx.php


    Any ideas on why they will not verify??
      • 36592
      • 970 Posts
      I’m not sure but does that have anything to do with PHP’s safe mode restriction ?
        • 7231
        • 4,205 Posts
        I think that depending on how php is set up those need to be 777 to pass the test.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 26903
          • 1,336 Posts
          Check the perms on the cache directory, this will need to o+rw if its owned by root.
            Use MODx, or the cat gets it!
            • 3715
            • 5 Posts
            No luck. I’ve tried setting everything to rw as well as 777. Also changing owner and group to the web user www-data. Still no luck. I turned on safe mode in the php.ini file, no luck. Any other ideas?
              • 23491 ☆ A M B ☆
              • 1,056 Posts
              I generally have to run this for any install/upgrade (ran from modx root directory):

              chmod 777 assets/cache assets/cache/siteCache.idx.php assets/cache/sitePublishing.idx.php assets/images assets/export
              chmod 666 manager/includes/config.inc.php
              

              And after the install:
              rm -fR install
              chmod 644 manager/includes/config.inc.php
              


              Seems odd that with full permissions you’re still seeing the error...
                Mike Reid - www.pixelchutes.com
                MODx Ambassador / Contributor
                [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                ________________________________
                Where every pixel matters.
                • 9207 ☆ A M B ☆
                • 2,475 Posts
                Since MODx is accessing the file via Apace, will it be accessing the file via user nobody? Would a chown command fix things?

                Permissions are one of those tricky things...