Laravel中的协议错误
我正在使用Laravel 5.6.23 这是我的错误消息: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
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