<p>Try running
    composer update
Via the command line while in ssh</p>

<p>Or download the latest Craft files and replace your files. Mainly vendor/craftcms it looks like.</p>

<p>Edit:</p>

<p>Update composer.json to this and try running composer update again.</p>

<pre><code>{
  "require": {
    "craftcms/cms": "^3.0.35",
    "vlucas/phpdotenv": "^2.4.0",
    "craftcms/redactor": "^2.1",
    "craftcms/mailgun": "^1.3",
    "craftcms/contact-form": "^2.2",
    "indigoviking/liquid-letters": "^1.2",
    "lukeyouell/craft-contactformtemplates": "1.0.1",
    "doublesecretagency/craft-bootstrap": "4.1.1.2",
    "fatfish/navigation": "1.0.7",
    "superbig/craft3-templateselect": "^2.0",
    "craftcms/ckeditor": "1.0.0-beta.2",
    "verbb/navigation": "^1.0",
    "enupal/slider": "1.2.2",
    "studioespresso/craft-dumper": "^1.3",
    "topshelfcraft/wordsmith": "^3.0"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "optimize-autoloader": true,
    "platform": {
      "php": "7.0"
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ]
  }
}
</code></pre>

CC BY-SA 4.0
2018-12-12T23:41:16.980Z
Replacing vendor/craftcms I then get
yii\base\ErrorException: include(C:\...\Craft\Projects\Untye\vendor\composer/../craftcms/redactor/src/Field.php): failed to open stream: No such file or directory in C:\...\Craft\Projects\Untye\vendor\composer\ClassLoader.phpyii
Rick
CC BY-SA 4.0
2018-12-13T01:04:28.237Z
Can you add your composer file to your question?
Chattervast
CC BY-SA 4.0
2018-12-13T02:27:56.693Z
Added in the composer.json code
Rick
CC BY-SA 4.0
2018-12-13T02:32:31.280Z
Updated the json. give that a shot.
Chattervast
CC BY-SA 4.0
2018-12-13T02:36:32.297Z
Thanks, get

C:\Users\rickn\Documents\Craft\Projects\Untye> composer require craftcms/craft
Using version ^1.0 for craftcms/craft
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
Warning: Ambiguous class resolution, "modules\Module" was found in both "$baseDir . '/modules/Module.php" and "C:/Users/rickn/Documents/Craft/Projects/Untye/vendor/craftcms/craft/modules\Module.php", the first will be used.


And no change to  original error
Rick
CC BY-SA 4.0
2018-12-13T02:40:54.993Z
This is a local server setup, correct? I'm not as familiar with possible issues they could have. Could you possibly start over on this install? Just a suggestion. Otherwise, I would send in a support request to Craft and have Brad look at it. I'm just basing my suggestions off of typical update/install errors I have on non-local setups. (btw, thanks for using my plugin!)
Chattervast
CC BY-SA 4.0
2018-12-13T02:43:06.550Z
Have a lot of work that I'd hate to lose. I'll send a request to Craft, thanks for trying to help and for the plugin!
Rick
CC BY-SA 4.0
2018-12-13T03:07:40.787Z
Following your lead, updated composer.lock file to 3.0.35 and it worked! Thanks!
Rick
CC BY-SA 4.0
2018-12-13T03:29:48.920Z
Awesome! Usually some combination of the right version numbers will fix the issue.
Chattervast
CC BY-SA 4.0
2018-12-12T23:33:40.987Z
2018-12-13T02:32:00.860Z
2018-12-13T02:32:00.860Z
Chattervast
<p>The previous install (3.0.34) was working fine until I ran the updater from the CP. The update failed with error (couldn't access web.config (IIS))</p>

<p>Now loading CP or front end displays the following error:
Warning: require(C:...Craft\Projects\Untye/vendor/craftcms/cms/bootstrap/web.php): failed to open stream: No such file or directory in C:\Users\rickn\Documents\Craft\Projects\Untye\web\index.php on line 20</p>

<p>Fatal error: require(): Failed opening required 'C:...\Craft\Projects\Untye/vendor/craftcms/cms/bootstrap/web.php' (include_path='.;C:\php\pear') in C:...Craft\Projects\Untye\web\index.php on line 20</p>

<p>Is there a way to finish the install manually and keep the previous work and data?</p>

<p><code>{
</code>"require": {
   <code>"craftcms/cms": "3.0.35",
</code> "vlucas/phpdotenv": "^2.4.0",
    <code>"craftcms/redactor": "^2.1",
</code>"craftcms/mailgun": "^1.3",
   <code>"craftcms/contact-form": "^2.2",
</code>"indigoviking/liquid-letters": "^1.2",
    <code>"lukeyouell/craft-contactformtemplates": "1.0.1",
</code>"doublesecretagency/craft-bootstrap": "4.1.1.2",
   <code>"fatfish/navigation": "1.0.7",
</code> "superbig/craft3-templateselect": "^2.0",
   <code>"craftcms/ckeditor": "1.0.0-beta.2",
</code> "verbb/navigation": "^1.0",
   <code>"enupal/slider": "1.2.2",
</code> "studioespresso/craft-dumper": "^1.3",
   <code>"topshelfcraft/wordsmith": "^3.0",
</code> "craftcms/craft": "^1.0"
 <code>},
</code> "autoload": {
 <code>"psr-4": {
</code>    "modules\": "modules/"
  <code>}
</code> },
 <code>"config": {
</code>   "optimize-autoloader": true,
 <code>"platform": {
</code>     "php": "7.0"
  <code>}
</code> },
 <code>"scripts": {
</code>  "post-root-package-install": [
 <code>"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
</code>   ]
 <code>}
</code>}</p>

CC BY-SA 4.0
2018-12-12T23:22:20.673Z
If you have ssh access, try running composer update.
Chattervast
CC BY-SA 4.0
2018-12-12T23:32:38.990Z
Thanks. Then I get - The requested package craftcms/cms (locked at 3.0.34, required as 3.0.35) is satisfiable by craftcms/cms[3.0.34] but these conflict with your requirements or minimum-stability.
Rick
CC BY-SA 4.0
2018-12-12T23:34:39.000Z
Update your composer.json line that says 3.0.34 to 3.0.45
Chattervast
CC BY-SA 4.0
2018-12-12T23:52:47.857Z
Still getting the original error in the question

However this time composer returned Warning: Ambiguous class resolution, "modules\Module" was found in both "$baseDir . '/modules/Module.php" and "C:/...vendor/craftcms/craft/modules\Module.php", the first will be used.
Rick
<install><manual-updates>
Ran the Craft Updater from Control Panel the current install is no longer working
# Ran the Craft Updater from Control Panel the current install is no longer working

(Asked by: username_0 on 2018-12-12)

The previous install (3.0.34) was working fine until I ran the updater from the CP. The update failed with error (couldn't access web.config (IIS))

Now loading CP or front end displays the following error:
Warning: require(C:...Craft\Projects\Untye/vendor/craftcms/cms/bootstrap/web.php): failed to open stream: No such file or directory in C:\Users\rickn\Documents\Craft\Projects\Untye\web\index.php on line 20

Fatal error: require(): Failed opening required 'C:...\Craft\Projects\Untye/vendor/craftcms/cms/bootstrap/web.php' (include\_path='.;C:\php\pear') in C:...Craft\Projects\Untye\web\index.php on line 20

Is there a way to finish the install manually and keep the previous work and data?

`{`"require": {
`"craftcms/cms": "3.0.35",` "vlucas/phpdotenv": "^2.4.0",
`"craftcms/redactor": "^2.1",`"craftcms/mailgun": "^1.3",
`"craftcms/contact-form": "^2.2",`"indigoviking/liquid-letters": "^1.2",
`"lukeyouell/craft-contactformtemplates": "1.0.1",`"doublesecretagency/craft-bootstrap": "4.1.1.2",
`"fatfish/navigation": "1.0.7",` "superbig/craft3-templateselect": "^2.0",
`"craftcms/ckeditor": "1.0.0-beta.2",` "verbb/navigation": "^1.0",
`"enupal/slider": "1.2.2",` "studioespresso/craft-dumper": "^1.3",
`"topshelfcraft/wordsmith": "^3.0",` "craftcms/craft": "^1.0"
`},` "autoload": {
`"psr-4": {` "modules\": "modules/"
`}` },
`"config": {` "optimize-autoloader": true,
`"platform": {` "php": "7.0"
`}` },
`"scripts": {` "post-root-package-install": [
`"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""` ]
`}`}

**Tags:** install, manual-updates
> **Comments:**
> **username_1**: If you have ssh access, try running composer update.  
> **username_0**: Thanks. Then I get - The requested package craftcms/cms (locked at 3.0.34, required as 3.0.35) is satisfiable by craftcms/cms[3.0.34] but these conflict with your requirements or minimum-stability.  
> **username_1**: Update your composer.json line that says 3.0.34 to 3.0.45  
> **username_0**: Still getting the original error in the question  However this time composer returned Warning: Ambiguous class resolution, "modules\Module" was found in both "$baseDir . '/modules/Module.php" and "C:/...vendor/craftcms/craft/modules\Module.php", the first will be used.  

---

## 1 answers

### Answer by username_1 on 2018-12-12. Score: 1 | Accepted answer

Try running
    composer update
Via the command line while in ssh
Or download the latest Craft files and replace your files. Mainly vendor/craftcms it looks like.
Edit:
Update composer.json to this and try running composer update again.
{
  "require": {
    "craftcms/cms": "^3.0.35",
    "vlucas/phpdotenv": "^2.4.0",
    "craftcms/redactor": "^2.1",
    "craftcms/mailgun": "^1.3",
    "craftcms/contact-form": "^2.2",
    "indigoviking/liquid-letters": "^1.2",
    "lukeyouell/craft-contactformtemplates": "1.0.1",
    "doublesecretagency/craft-bootstrap": "4.1.1.2",
    "fatfish/navigation": "1.0.7",
    "superbig/craft3-templateselect": "^2.0",
    "craftcms/ckeditor": "1.0.0-beta.2",
    "verbb/navigation": "^1.0",
    "enupal/slider": "1.2.2",
    "studioespresso/craft-dumper": "^1.3",
    "topshelfcraft/wordsmith": "^3.0"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "optimize-autoloader": true,
    "platform": {
      "php": "7.0"
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ]
  }
}

> **Comments:**
> **username_0**: Replacing vendor/craftcms I then get yii\base\ErrorException: include(C:\...\Craft\Projects\Untye\vendor\composer/../craftcms/redactor/src/Field.php): failed to open stream: No such file or directory in C:\...\Craft\Projects\Untye\vendor\composer\ClassLoader.phpyii  
> **username_1**: Can you add your composer file to your question?  
> **username_0**: Added in the composer.json code  
> **username_1**: Updated the json. give that a shot.  
> **username_0**: Thanks, get  C:\Users\rickn\Documents\Craft\Projects\Untye> composer require craftcms/craft Using version ^1.0 for craftcms/craft ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating optimized autoload files Warning: Ambiguous class resolution, "modules\Module" was found in both "$baseDir . '/modules/Module.php" and "C:/Users/rickn/Documents/Craft/Projects/Untye/vendor/craftcms/craft/modules\Module.php", the first will be used.   And no change to  original error  
> **username_1**: This is a local server setup, correct? I'm not as familiar with possible issues they could have. Could you possibly start over on this install? Just a suggestion. Otherwise, I would send in a support request to Craft and have Brad look at it. I'm just basing my suggestions off of typical update/install errors I have on non-local setups. (btw, thanks for using my plugin!)  
> **username_0**: Have a lot of work that I'd hate to lose. I'll send a request to Craft, thanks for trying to help and for the plugin!  
> **username_0**: Following your lead, updated composer.lock file to 3.0.35 and it worked! Thanks!  
> **username_1**: Awesome! Usually some combination of the right version numbers will fix the issue.  

---

