Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/297.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
Php 拒绝许可。LaravelLinux服务器_Php_Linux_Laravel_Permissions_Server - Fatal编程技术网

Php 拒绝许可。LaravelLinux服务器

Php 拒绝许可。LaravelLinux服务器,php,linux,laravel,permissions,server,Php,Linux,Laravel,Permissions,Server,当我尝试注册并向用户发送电子邮件时,我遇到了此错误。它一直工作到昨天。从今天起,它给了我这个,我不知道为什么。 顺便说一下,在本地测试这项工作的。我卡住了。请帮忙 ErrorException in compiled.php line 7512: file_put_contents(/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php): failed to open stream:

当我尝试注册并向用户发送电子邮件时,我遇到了此错误。它一直工作到昨天。从今天起,它给了我这个,我不知道为什么。 顺便说一下,在本地测试这项工作的。我卡住了。请帮忙

ErrorException in compiled.php line 7512:
file_put_contents(/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php): failed to open stream: Permission denied
in compiled.php line 7512
at HandleExceptions->handleError('2', 'file_put_contents(/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php): failed to open stream: Permission denied', '/var/www/html/bootstrap/cache/compiled.php', '7512', array('path' => '/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php', 'contents' => 'Please activate your account by clicking on the following link. <a href="<?php echo e(route('auth.activate', $token)); ?>"><?php echo e(route('auth.activate', $token)); ?></a> ', 'lock' => false))
at file_put_contents('/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php', 'Please activate your account by clicking on the following link. <a href="<?php echo e(route('auth.activate', $token)); ?>"><?php echo e(route('auth.activate', $token)); ?></a> ', '0') in compiled.php line 7512
at Filesystem->put('/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php', 'Please activate your account by clicking on the following link. <a href="<?php echo e(route('auth.activate', $token)); ?>"><?php echo e(route('auth.activate', $token)); ?></a> ') in compiled.php line 15769
at BladeCompiler->compile('/var/www/html/resources/views/email/auth/activation.blade.php') in compiled.php line 15682
at CompilerEngine->get('/var/www/html/resources/views/email/auth/activation.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'token' => object(ActivationToken), 'activeToken' => null, 'connection' => null, 'queue' => null, 'delay' => null, 'message' => object(Message))) in compiled.php line 15517
at View->getContents() in compiled.php line 15505
at View->renderContents() in compiled.php line 15489
at View->render() in Mailer.php line 458
at Mailer->getView('email.auth.activation', array('token' => object(ActivationToken), 'activeToken' => null, 'connection' => null, 'queue' => null, 'delay' => null, 'message' => object(Message))) in Mailer.php line 331
at Mailer->addContent(object(Message), 'email.auth.activation', null, null, array('token' => object(ActivationToken), 'activeToken' => null, 'connection' => null, 'queue' => null, 'delay' => null, 'message' => object(Message))) in Mailer.php line 205
at Mailer->send('email.auth.activation', array('token' => object(ActivationToken), 'activeToken' => null, 'connection' => null, 'queue' => null, 'delay' => null, 'message' => object(Message)), object(Closure)) in Mailable.php line 117
at Mailable->send(object(Mailer)) in Mailer.php line 192
at Mailer->send(object(SendActivationToken)) in MailableMailer.php line 99
at MailableMailer->send(object(SendActivationToken)) in SendActivationEmail.php line 30
at SendActivationEmail->handle(object(UserRegistered))
at call_user_func_array(array(object(SendActivationEmail), 'handle'), array(object(UserRegistered))) in compiled.php line 10332
at Dispatcher->Illuminate\Events\{closure}(object(UserRegistered))
at call_user_func_array(object(Closure), array(object(UserRegistered))) in compiled.php line 10266
at Dispatcher->fire('App\Events\UserRegistered') in helpers.php line 480
at event(object(UserRegistered)) in AppServiceProvider.php line 25
at AppServiceProvider->App\Providers\{closure}(object(User))
at call_user_func_array(object(Closure), array(object(User))) in compiled.php line 10266
at Dispatcher->fire('eloquent.created: App\User', array(object(User))) in compiled.php line 11029
at Model->fireModelEvent('eloquent.created: App\User', false) in compiled.php line 10996
at Model->performInsert(object(Builder)) in compiled.php line 10941
at Model->save() in compiled.php line 10599
at Model::create(array('name' => 'Alessandro Mazari', 'surname' => 'Mazari', 'email' => 'alessandro.mazzari.v.l@gmail.com', 'password' => '$2y$10$R/lwIQ5.dgNgArYE3AuyGeDSyUWoILtnT2LvrDGNjV9aDevj9/Xnq', 'hidden_profile' => 'off', 'faction' => 'soon', 'mac_address_handlebar' => '', 'active' => false)) in RegisterController.php line 76
at RegisterController->create(array('_token' => 'Jeh3Amk6XGHDiFz5fqYyBIGYGblbNlZxwzM9r4lJ', 'name' => 'Alessandro Mazari', 'surname' => 'Mazari', 'email' => 'alessandro.mazzari.v.l@gmail.com', 'password' => 'alessa', 'password_confirmation' => 'alessa', 'faction' => 'soon', 'mac_address_handlebar' => '', 'hidden_profile' => 'off')) in compiled.php line 2695
at RegisterController->register(object(Request))
at call_user_func_array(array(object(RegisterController), 'register'), array(object(Request))) in compiled.php line 9584
at Controller->callAction('register', array(object(Request))) in compiled.php line 9611
at ControllerDispatcher->dispatch(object(Route), object(RegisterController), 'register') in compiled.php line 8665
at Route->runController() in compiled.php line 8646
at Route->run(object(Request)) in compiled.php line 8355
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RedirectIfAuthenticated.php line 24
at RedirectIfAuthenticated->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 10177
at SubstituteBindings->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3312
at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13749
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 12155
at StartSession->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13495
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13432
at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 10054
at Pipeline->then(object(Closure)) in compiled.php line 8356
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8347
at Router->dispatchToRoute(object(Request)) in compiled.php line 8338
at Router->dispatch(object(Request)) in compiled.php line 2575
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3374
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 10069
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 10054
at Pipeline->then(object(Closure)) in compiled.php line 2519
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2503
at Kernel->handle(object(Request)) in index.php line 53
compiled.php第7512行中的错误异常: 文件内容(/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php):打开流失败:权限被拒绝 在compiled.php第7512行中 在HandleExceptions->handleError('2','file\u put\u contents(/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php):未能打开流:权限被拒绝','/var/www/html/bootstrap/cache/compiled.php','7512',数组('path'=>'/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php','contents'=>'请通过单击以下链接激活您的帐户','lock'=>false)) 在compiled.php第7512行的文件“put”contents(“/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php”中,“请单击以下链接激活您的帐户。”,“0”) 在compiled.php行15769中的Filesystem->put(“/var/www/html/storage/framework/views/53de219dee4f11a2db4f64a2c574ad02db5613f4.php”,“请单击以下链接激活您的帐户”) 在compiled.php行15682中的BladeCompiler->compile('/var/www/html/resources/views/email/auth/activation.blade.php') 在CompilerEngine->get('/var/www/html/resources/views/email/auth/activation.blade.php',array(''uu env'=>object(Factory),'app'=>object(Application),'errors'=>object(viewerrbag),'token'=>object(ActivationToken),'activeToken'=>null,'connection'=>null,'queue'=>null,'delay'=>null,'message'=>object(message)))在compiled.php第15517行中 在compiled.php第15505行的View->getContents()中 在compiled.php第15489行的View->renderContents()中 在Mailer.php第458行的View->render()中 在Mailer.php第331行的Mailer->getView('email.auth.activation',array('token'=>object(ActivationToken),'activeToken'=>null,'connection'=>null,'queue'=>null,'delay'=>null,'message'=>object(message)) 在Mailer.php第205行的Mailer->addContent(对象(消息),'email.auth.activation',null,null,array('token'=>object(ActivationToken),'activeToken'=>null,'connection'=>null,'queue'=>null,'delay'=>null,'Message'=>object(消息)) 在Mailable.php第117行的Mailer->send('email.auth.activation',array('token'=>object(ActivationToken),'activeToken'=>null,'connection'=>null,'queue'=>null,'delay'=>null,'message'=>object(message)),object(Closure)) 在Mailer.php第192行的Mailable->send(object(Mailer))处 在MailableMailer.php第99行的Mailer->send(对象(SendActivationToken))处 在SendActivationEmail.php第30行的MailableMailer->send(对象(SendActivationToken)) 在SendActivationEmail->handle(对象(用户注册)) 在compiled.php第10332行中调用_user_func_数组(数组(object(SendActivationEmail),'handle')、数组(object(userregisted)) 在Dispatcher->Lightning\Events\{Close}(对象(用户注册)) 在compiled.php第10266行中调用_user_func_数组(对象(闭包)、数组(对象(用户注册))) 在helpers.php第480行中的Dispatcher->fire('App\Events\UserRegistered') 在AppServiceProvider.php第25行中的事件(对象(UserRegistered))处 在AppServiceProvider->App\Providers\{closure}(对象(用户)) 在compiled.php第10266行中调用_user_func_数组(对象(闭包)、数组(对象(用户)) 在Dispatcher->fire('elount.created:App\User',compiled.php第11029行中的数组(object(User))) 在compiled.php第10996行的Model->fireModelEvent('elount.created:App\User',false)处 在compiled.php第10941行的Model->performInsert(对象(构建器))处 在compiled.php第10599行的Model->save()处 在Model::create(数组('name'=>'Alessandro Mazari','姓氏'=>'Mazari','email'=>'Alessandro.mazzari.v。l@gmail.comRegisterController.php第76行中的“,”密码“=>”$2y$10$R/lwIQ5.dgngaryedauygedsyuwoiltnt2lvrdgnjv9adevj9/Xnq“,”隐藏配置文件“=>”关闭“,”派系“=>”很快“,”mac地址“=>”,”把手“,”活动“=>错误”) 在注册表控制器->创建(数组)(“U令牌”=>“jeh3amk6xghdifz5fqyybigygblbbnlzwzm9r4lj”,“名称”=>“Alessandro Mazari”,“姓氏”=>“Mazari”,“电子邮件”=>“Alessandro.mazzari.v。l@gmail.com“,”密码“=>”alessa“,”密码确认“=>”alessa“,”派系“=>”很快“,”mac地址“=>”,”把手“=>”,”隐藏配置文件“=>”关闭”)在compiled.php第2695行中 在寄存器控制器->寄存器(对象(请求)) 在compiled.php第9584行中调用_user_func_数组(数组(对象(RegisterController),'register')、数组(对象(请求))) 在compiled.php第9611行的Controller->callAction('register',array(object(Request)))中 在compiled.php第8665行的ControllerDispatcher->dispatch(对象(路由)、对象(RegisterController)、“register”) 在compiled.php第8646行的Route->runController()处 在compiled.php第8355行的Route->run(对象(请求))处 在Pipeline.php第53行的Router->illumb\Routing\{closure}(对象(请求))处 在RedirectIfAuthenticated.php第24行中的管道->照亮\路由\{closure}(对象(请求)) 在compiled.php第10069行的RedirectIfAuthenticated->handle(对象(请求)、对象(闭包)) 在Pipeline.php第33行的Pipeline->illumb\Pipeline\{closure}(对象(请求))处 在compiled.php第10177行的Pipeline->illumb\Routing\{closure}(对象(请求))中 在compiled.php第10069行的SubstituteBindings->handle(对象(请求)、对象(闭包))处 在Pipeline.php第33行的Pipeline->illumb\Pipeline\{closure}(对象(请求))处 在compiled.php第3312行的Pipeline->illumb\Routing\{closure}(对象(请求))中 在compiled.php第10069行中的VerifyCsrfToken->handle(对象(请求)、对象(闭包)) 在Pipeline.php第33行的Pipeline->illumb\Pipeline\{closure}(对象(请求))处 在compiled.php第13749行的Pipeline->illumb\Routing\{closure}(对象(请求))中 在ShareErrorsFromSession->handle(对象
sudo chmod -R 7777 storage