We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30347
    • 3 Posts
    hi all, i just uploaded MODx to a directory on my server call ’content’, i then went to:

    http://www.mydomain.com/manage/install/index.php

    once i ran this page i received the below error, any ideas?

    Fatal error: session_start() [<a href=’function.session-start’>function.session-start</a>]: Failed to initialize storage module: user (path: /tmp) in /clientdata/clients/p/a/mydomain.com/www/manage/install/index.php on line 10
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You’ve got a problem with session handling on your server. PHP expects to store session files in the /tmp directory, but it needs to exist and be writable so PHP can write the session files there.
        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
        • 30347
        • 3 Posts
        so is it to do with permissions not being correct on 1 of my folders?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Possibly. It is also possible that your server doesn’t have a /tmp folder; many times it’s actually /something/tmp, with a symlink to make it act like it’s in /tmp. This is a server issue causing PHP to not be able to save its session files, however, and has nothing to do with MODx.

          You mentioned that you have MODx installed in a directory "content". Wouldn’t you need to access it with http://www.mydomain.com/content/install/index.php? Or was that mydomain.com/manage url just a typo?
            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