Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

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

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

Problems with silverstripe-cache when installing SS 3.0 - shared environment


12 Posts   3786 Views


16 September 2012 at 6:16pm Community Member, 202 Posts

This one comes and goes since 2008.

Why oh why didn't anyone kill that one with fire?


18 September 2012 at 4:44pm (Last edited: 18 September 2012 4:44pm), Community Member, 107 Posts

I am getting this problem too !! on the same server I have SS2.4 installed with no problems but SS3.0.1 giving me this same error. Its not detecting the silverstripe-cache folder at all !!! .. so I edited that getTempFolder() in install.php5to just:
$ssTmp = dirname($_SERVER['SCRIPT_FILENAME']) . '/silverstripe-cache';
return $ssTmp;

after this it all works fine :D


19 September 2012 at 4:35pm Forum Moderator, 921 Posts

Hi guys,

I've fixed an issue where tiny_mce_gzip.php used the sys temp path instead of the local silverstripe-cache.

It's awaiting merge on Github as a pull request here:

Hopefully this should help in more restrictive hosting situations!



7 June 2013 at 10:01pm Community Member, 9 Posts

You can use the _ss_environment.php file to declare a new folder.
This way you don't have to compromise any of the code in the framework and you don't get into trouble after upgrading.
Just add

define('TEMP_FOLDER',__DIR__ . '/www/silverstripe-cache');

if you have your website running from the /www folder and you created a folder /silverstripe-cache in the /www dir.