Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\xampp\htdocs\ses>php artisan key:generate
- ErrorException : file_get_contents(C:\xampp\htdocs\ses/.env): failed to open stream: No such file or directory
- at C:\xampp\htdocs\ses\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php: 96
- 92| {
- 93| file_put_contents($this->laravel->environmentFilePath(), preg_replace(
- 94| $this->keyReplacementPattern(),
- 95| 'APP_KEY='.$key,
- > 96| file_get_contents($this->laravel->environmentFilePath())
- 97| ));
- 98| }
- 99|
- 100| /**
- Exception trace:
- 1 file_get_contents("C:\xampp\htdocs\ses/.env")
- C:\xampp\htdocs\ses\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php : 96
- 2 Illuminate\Foundation\Console\KeyGenerateCommand::writeNewEnvironmentFileWith("base64:AMSPPVR5VpfVFXEya4461zUmJMhvWGu3Brh/i4WRnnI=")
- C:\xampp\htdocs\ses\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php : 80
- Please use the argument -v to see more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement