Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-08T23:50:45.937Z
Answers.LastActivityDate: 2021-10-08T23:50:45.937Z
Answers.UserDisplayName: Brad Bell
Body: <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>
  
Tags: <error-message><craft2><install><installation><files>
Title: Class 'Craft\File' not found during installation
ThreadText: # 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.
  
  
  ---
  
  