21278 Posts in 5728 Topics by 2599 members
General Questions
SilverStripe Forums » General Questions » Fatal error: Class 'SS_Cache' not found in /sapphire/core/SSViewer.php on line 368
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 367 Views |
-
Fatal error: Class 'SS_Cache' not found in /sapphire/core/SSViewer.php on line 368

31 May 2012 at 2:47pm
Hi,
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 serverNot sure from memory which SS version but I wpuld expect to be 2.3.4 or 2.4
Any ideas appreciated.
Thanks
-
Re: Fatal error: Class 'SS_Cache' not found in /sapphire/core/SSViewer.php on line 368

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.
-
Re: Fatal error: Class 'SS_Cache' not found in /sapphire/core/SSViewer.php on line 368

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?
-
Re: Fatal error: Class 'SS_Cache' not found in /sapphire/core/SSViewer.php on line 368

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.
| 367 Views | ||
|
Page:
1
|
Go to Top |

