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
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.