Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Laravel中的协议错误_Laravel_Laravel 5_Protocols_Chmod_Laravel Artisan - Fatal编程技术网

Laravel中的协议错误

Laravel中的协议错误,laravel,laravel-5,protocols,chmod,laravel-artisan,Laravel,Laravel 5,Protocols,Chmod,Laravel Artisan,我正在使用Laravel 5.6.23 这是我的错误消息: UnexpectedValueException There is no existing directory at "C:\timereg-project\Laravel\storage\logs" and its not buildable: Protocol error 目录日志实际上存在于我的Laravel项目中。 我尝试过这个方法,但不起作用: php artisan cache:clear php artisan

我正在使用Laravel 5.6.23

这是我的错误消息:

UnexpectedValueException    
There is no existing directory at "C:\timereg-project\Laravel\storage\logs" and its not buildable: Protocol error
目录日志实际上存在于我的Laravel项目中。 我尝试过这个方法,但不起作用:

php artisan cache:clear
php artisan clear-compiled
composer dump-autoload
composer update
我尝试过这个方法,但也不起作用:

php artisan cache:clear
php artisan clear-compiled
composer dump-autoload
composer update
如果我尝试这样做:

sudo chmod -R 777 storage
sudo chmod -R 777 storage
我犯了一个错误

chmod: cannot access 'Laravel/storage/logs': no such file or directory
不起作用的命令:

php artisan cache:clear
php artisan clear-compiled
composer dump-autoload
composer update
我能做些什么?感觉好像我完全被封锁在日志文件夹之外


如果所有设置都正确且权限正确,它应该可以工作。请尝试您错过的此命令:

php artisan config:clear

如果所有设置都正确,并且权限正确,那么它应该可以工作。请尝试您错过的此命令:

php artisan config:clear

你是上帝!谢谢,它工作起来很有魅力!将此评论设置为答案:)很高兴它有帮助:你是上帝!谢谢,它工作起来很有魅力!将此评论设置为答案:)很高兴它有帮助:DD