Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » tmp directory not writable?

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1296 Views
  • arthurdent
    Avatar
    Community Member
    163 Posts

    tmp directory not writable? Link to this post

    Hi all. Just attempting my third SilverStripe install on a server (yes, I'm a newb). Have not had any problems before but now I'm getting the following:

    [1]User 't1trigirl' needs to be able to write to this file:/var/tmp//silverstripe-cache

    The file is currently owned by 'jcaseley'. There is no user-group that contains both the web-server user and the owner of this file. Change the ownership of the file, create a new group, or temporarily make the file writeable by everyone during the install process.[/1]

    Can anybody tell me where /var/tmp//silverstripe-cache would be? And who is this 'jcasely' anyway?

    Attached Files
  • JasonR
    Avatar
    Community Member
    2 Posts

    Re: tmp directory not writable? Link to this post

    Hi

    "jcasely" is just another user who probably has created a Silverstripe installation before you, and got rights to that folder.

    Heres a fix. Hope it works!

    Create a file called "_ss_environment.php" in your root Silverstripe folder.

    Put the following in there:

    <?php

    define('TEMP_FOLDER', '/home/<your cPanel username>/www/silverstripe-cache');

    ?>

    I have this setup on http://www.webslice.co.nz/ hosting (based in NZ), they seem to be using Linux + cPanel. It's working well for me.

    Jason

    1296 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.