會員登入

登入會員

帳號:
密碼:

Whoops, looks like something went wrong.

(1/1) UnexpectedValueException

The stream or file "D:\xampp\htdocs\travel\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

in StreamHandler.php line 107
at StreamHandler->write(array('message' => 'exception \'ErrorException\' with message \'file_put_contents(D:\\xampp\\htdocs\\travel\\storage\\framework/sessions/N0iYp5tt460EruIR8FhnKB1YUbefWgJ1xLoJZgqP): failed to open stream: Permission denied\' in D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122Stack trace:#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'file_put_conten...\', \'D:\\\\xampp\\\\htdocs...\', 122, Array)#1 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', 2)#2 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', true)#3 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write(\'N0iYp5tt460EruI...\', \'a:3:{s:6:"_toke...\')#4 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(88): Illuminate\\Session\\Store->save()#5 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#6 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#7 D:\\xampp\\htdocs\\travel\\public\\index.php(58): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#8 D:\\xampp\\htdocs\\travel\\server.php(21): require_once(\'D:\\\\xampp\\\\htdocs...\')#9 {main}', 'context' => array(), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'local', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2024-11-17 08:33:43] local.ERROR: exception \'ErrorException\' with message \'file_put_contents(D:\\xampp\\htdocs\\travel\\storage\\framework/sessions/N0iYp5tt460EruIR8FhnKB1YUbefWgJ1xLoJZgqP): failed to open stream: Permission denied\' in D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122Stack trace:#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'file_put_conten...\', \'D:\\\\xampp\\\\htdocs...\', 122, Array)#1 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', 2)#2 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', true)#3 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write(\'N0iYp5tt460EruI...\', \'a:3:{s:6:"_toke...\')#4 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(88): Illuminate\\Session\\Store->save()#5 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#6 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#7 D:\\xampp\\htdocs\\travel\\public\\index.php(58): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#8 D:\\xampp\\htdocs\\travel\\server.php(21): require_once(\'D:\\\\xampp\\\\htdocs...\')#9 {main} '))in AbstractProcessingHandler.php line 39
at AbstractProcessingHandler->handle(array('message' => 'exception \'ErrorException\' with message \'file_put_contents(D:\\xampp\\htdocs\\travel\\storage\\framework/sessions/N0iYp5tt460EruIR8FhnKB1YUbefWgJ1xLoJZgqP): failed to open stream: Permission denied\' in D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122Stack trace:#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'file_put_conten...\', \'D:\\\\xampp\\\\htdocs...\', 122, Array)#1 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', 2)#2 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put(\'D:\\\\xampp\\\\htdocs...\', \'a:3:{s:6:"_toke...\', true)#3 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write(\'N0iYp5tt460EruI...\', \'a:3:{s:6:"_toke...\')#4 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(88): Illuminate\\Session\\Store->save()#5 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#6 D:\\xampp\\htdocs\\travel\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#7 D:\\xampp\\htdocs\\travel\\public\\index.php(58): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))#8 D:\\xampp\\htdocs\\travel\\server.php(21): require_once(\'D:\\\\xampp\\\\htdocs...\')#9 {main}', 'context' => array(), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'local', 'datetime' => object(DateTime), 'extra' => array()))in Logger.php line 344
at Logger->addRecord(400, object(ErrorException), array())in Logger.php line 707
at Logger->error(object(ErrorException), array())in Writer.php line 203
at Writer->writeLog('error', object(ErrorException), array())in Writer.php line 114
at Writer->error(object(ErrorException))in Handler.php line 71
at Handler->report(object(ErrorException))in Handler.php line 35
at Handler->report(object(ErrorException))in HandleExceptions.php line 81
at HandleExceptions->handleException(object(ErrorException))