Ошибка Laravel: Illuminate \ Contracts \ Filesystem \ FileNotFoundException - PullRequest
0 голосов
/ 12 февраля 2019

У меня есть эта ошибка после запуска "php artisan config: cache".

Illuminate\Contracts\Filesystem\FileNotFoundException  :vat 
vendor\laravel\framework\src\Illuminate\Filesystem\FilesystemAdapter.php:1
24
    120|     {
    121|         try {
    122|             return $this->driver->read($path);
    123|         } catch (FileNotFoundException $e) {
  > 124|             throw new ContractFileNotFoundException($path, $e->getCode(), $e);
    125|         }
    126|     }
    127|
    128|     /**

  Exception trace:

  1   League\Flysystem\FileNotFoundException::("File not found at path: ")
      \vendor\league\flysystem\src\Filesystem.php:388

Когда я удаляю "config.php" в "bootstrap / cache", я получаю ошибку:

 ErrorException  : file_put_contents(storage\app\Products_02_12_2019_09:40:40_am.csv): failed to open stream: No such file or directory

  at vendor\league\flysystem\src\Adapter\Local.php:135
    131|     {
    132|         $location = $this->applyPathPrefix($path);
    133|         $this->ensureDirectory(dirname($location));
    134|
  > 135|         if (($size = file_put_contents($location, $contents, $this->writeFlags)) === false) {
    136|             return false;
    137|         }
    138|
    139|         $type = 'file';

Пожалуйста, вы можете помочь?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...