<p>Sounds like you're missing some required Craft 2 files.</p>
<p>Try <a href="http://craftcms.com/latest-v2.zip" rel="nofollow noreferrer">downloading a fresh copy</a> of the latest Craft 2 and replace your existing <code>app</code> folder with a fresh <code>app</code> folder from the download.</p>

CC BY-SA 4.0
2021-10-08T23:50:45.937Z
2021-10-08T23:50:45.937Z
Brad Bell
<p>I'm installing Craft 2 locally and am getting this error message when I expect the installation screen.  I've checked the write permissions, and the directory has them (inheritable permissions).  Thanks</p>
<pre><code>Fatal error: Class 'Craft\File' not found in craft\app\helpers\IOHelper.php on line 727
</code></pre>

<error-message><craft2><install><installation><files>
Class 'Craft\File' not found during installation
# Class 'Craft\File' not found during installation

(Asked by: username_0 on 2021-10-07)

I'm installing Craft 2 locally and am getting this error message when I expect the installation screen.  I've checked the write permissions, and the directory has them (inheritable permissions).  Thanks
Fatal error: Class 'Craft\File' not found in craft\app\helpers\IOHelper.php on line 727

**Tags:** error-message, craft2, install, installation, files

---

## 1 answers

### Answer by username_1 on 2021-10-08. Score: 1 | Accepted answer

Sounds like you're missing some required Craft 2 files.

Try [downloading a fresh copy](http://craftcms.com/latest-v2.zip) of the latest Craft 2 and replace your existing `app` folder with a fresh `app` folder from the download.


---

