<p>After checking out the craft/app/etc folder, I noticed the cache folder was missing. It turns out that the problem was with my FTP client ignoring folders named "cache". So really a dumb mistake on my part.</p>

<p>Thanks for your help @BradBell!</p>

CC BY-SA 3.0
2015-01-05T18:16:17.733Z
Hah... glad that's all it was. Have also seen that happen when people deploy via Git and they have `cache` in their `.gitignore` file.
Brad Bell
CC BY-SA 3.0
2015-01-05T17:00:22.660Z
2015-01-05T17:00:22.660Z
anguiac7
<p>I'd like to add that I got bitten by the same bug only I add to also retrieve the cache folder inside /craft/app/vendor/twig/twig/lib/Twig/Cache from my local install in order for things to start working.
Pretty weird this :)</p>

CC BY-SA 3.0
2016-02-05T01:14:40.793Z
2016-02-05T01:14:40.793Z
erwinheiser
<p>I've been trying to install Craft on a DigitalOcean server. I used DO's LAMP stack application on Ubuntu 14.04 and downloaded the latest version of Craft. After uploading everything to my web root (the default is /var/www/html so the craft folder is at /var/www and the contents of public are at /var/www/html), whenever I try and go to the website, I get an error saying: <code>"Fatal error: Class 'Craft\FileCache' not found in /var/www/craft/app/services/CacheService.php on line 59"</code>. If I go to example.com/admin, I get an Apache 404 error. If I try example.com/index.php/admin, I get the same fatal error as I described above.</p>

<p>I know this means I need to enable mod_rewrite (I've already renamed htaccess to .htaccess), but I should still be seeing something. I'm not sure what to do about the fatal error. I've redownloaded the Craft files to be sure nothing got corrupted in the original download, but I still have the same problem. I've also tried it on a server I have from A Small Orange and got the same thing. I also changed the required folders' permissions to 777 just to rule out any permissions problems.</p>

<p>Any ideas? Thanks!</p>

CC BY-SA 3.0
2015-01-05T16:28:43.933Z
It definitely sounds like a missing file from the error message.  Does `craft/app/etc/cache/FileCache.php` exist?
Brad Bell
<error-message><install><apache>
Fatal error: Class 'Craft\FileCache' not found when trying to install
# Fatal error: Class 'Craft\FileCache' not found when trying to install

(Asked by: username_0 on 2015-01-05)

I've been trying to install Craft on a DigitalOcean server. I used DO's LAMP stack application on Ubuntu 14.04 and downloaded the latest version of Craft. After uploading everything to my web root (the default is /var/www/html so the craft folder is at /var/www and the contents of public are at /var/www/html), whenever I try and go to the website, I get an error saying: `"Fatal error: Class 'Craft\FileCache' not found in /var/www/craft/app/services/CacheService.php on line 59"`. If I go to example.com/admin, I get an Apache 404 error. If I try example.com/index.php/admin, I get the same fatal error as I described above.

I know this means I need to enable mod\_rewrite (I've already renamed htaccess to .htaccess), but I should still be seeing something. I'm not sure what to do about the fatal error. I've redownloaded the Craft files to be sure nothing got corrupted in the original download, but I still have the same problem. I've also tried it on a server I have from A Small Orange and got the same thing. I also changed the required folders' permissions to 777 just to rule out any permissions problems.

Any ideas? Thanks!

**Tags:** error-message, install, apache

> **Comments:**
> **username_1**: It definitely sounds like a missing file from the error message.  Does `craft/app/etc/cache/FileCache.php` exist?  

---

## 2 answers

### Answer by username_0 on 2015-01-05. Score: 4

After checking out the craft/app/etc folder, I noticed the cache folder was missing. It turns out that the problem was with my FTP client ignoring folders named "cache". So really a dumb mistake on my part.

Thanks for your help @BradBell!

> **Comments:**
> **username_1**: Hah... glad that's all it was. Have also seen that happen when people deploy via Git and they have `cache` in their `.gitignore` file.  

---

### Answer by username_2 on 2016-02-05. Score: 0

I'd like to add that I got bitten by the same bug only I add to also retrieve the cache folder inside /craft/app/vendor/twig/twig/lib/Twig/Cache from my local install in order for things to start working.
Pretty weird this :)


---

