22975 Posts in 11620 Topics by 2826 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
31 May 2012 at 2:47pm
My (Dreamhost) server recently updated there Virtual Private Server (VPS) services, the majority of my sites came back online as expected however when several returned they displayed the following error:
Fatal error: Class 'SS_Cache' not found in /home/*server-user-account*/*website-url*/sapphire/core/SSViewer.php on line 341
*server-user-account* and *website-url* are site specific variables
This is the case for at least six client sites.
I have tried:
- clearing 'silverstripe-cache'
- restarting the server & MySQL server
Not sure from memory which SS version but I wpuld expect to be 2.3.4 or 2.4
Any ideas appreciated.
31 May 2012 at 5:32pm
Have you got a sapphire/cache folder? Quite a common issue is people exclude 'cache' from their deployment scripts so it doesn't copy it across.
31 May 2012 at 6:15pm
@willr: Thanks Will. As in in the root dir having: 'silverstripe-cache' or does sapphire have a: 'cache' one too?
31 May 2012 at 9:46pm
Sapphire does have a cache folder but it's not used for a cache, it's just the name of the folder for the classes (https://github.com/silverstripe/sapphire/tree/2.4/cache) make sure that folder exists on your server and it has the files in it.
|Go to Top|