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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

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


Go to End


12 Posts   7006 Views

Avatar
yurigoul

Community Member, 203 Posts

16 September 2012 at 6:16pm

This one comes and goes since 2008.

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

Avatar
DesignerX.com.au

Community Member, 107 Posts

18 September 2012 at 4:44pm

Edited: 18/09/2012 4:44pm

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

Avatar
Sean

Forum Moderator, 922 Posts

19 September 2012 at 4:35pm

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: https://github.com/silverstripe/sapphire/pull/803

Hopefully this should help in more restrictive hosting situations!

Thanks,
Sean

Avatar
gaethofs

Community Member, 9 Posts

7 June 2013 at 10:01pm

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.

Go to Top