http://pms.cmet.ustc.edu.cn/applicant/items/teacher

Exceptions

Warning: SessionHandler::read(): open(/var/lib/php/mod_php/session/sess_s01kfl1p389umendb2u8ft620g, O_RDWR) failed: No space left on device (28)

Exception

ErrorException

  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     protected function doRead(string $sessionId)
  5.     {
  6.         return $this->handler->read($sessionId);
  7.     }
  8.     /**
  9.      * @return bool
  10.      */
  1.                 return $prefetchData;
  2.             }
  3.         }
  4.         $data $this->doRead($sessionId);
  5.         $this->newSessionId '' === $data $sessionId null;
  6.         return $data;
  7.     }
  1.      * @return string|false
  2.      */
  3.     #[\ReturnTypeWillChange]
  4.     public function read($sessionId)
  5.     {
  6.         return $this->handler->read($sessionId);
  7.     }
  8.     /**
  9.      * @return bool
  10.      */
SessionHandlerProxy->read()
  1.             // the session ID in the header is invalid, create a new one
  2.             session_id(session_create_id());
  3.         }
  4.         // ok to try and start the session
  5.         if (!session_start()) {
  6.             throw new \RuntimeException('Failed to start the session.');
  7.         }
  8.         if (null !== $this->emulateSameSite) {
  9.             $originalCookie SessionUtils::popSessionCookie(session_name(), session_id());
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getBag(string $name)
  5.     {
  6.         $bag $this->storage->getBag($name);
  7.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  8.     }
  9.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function set(string $name$value)
  5.     {
  6.         $this->getAttributeBag()->set($name$value);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.      *
  2.      * Usually, you do not need to set this directly.
  3.      */
  4.     private function saveTargetPath(SessionInterface $sessionstring $firewallNamestring $uri)
  5.     {
  6.         $session->set('_security.'.$firewallName.'.target_path'$uri);
  7.     }
  8.     /**
  9.      * Returns the URL (if any) the user visited that forced them to login.
  10.      */
  1.     protected function setTargetPath(Request $request)
  2.     {
  3.         // session isn't required when using HTTP basic authentication mechanism for example
  4.         if ($request->hasSession() && $request->isMethodSafe() && !$request->isXmlHttpRequest()) {
  5.             $this->saveTargetPath($request->getSession(), $this->firewallName$request->getUri());
  6.         }
  7.     }
  8.     private function throwUnauthorizedException(AuthenticationException $authException)
  9.     {
  1.         if (null !== $this->logger) {
  2.             $this->logger->debug('Calling Authentication entry point.');
  3.         }
  4.         if (!$this->stateless) {
  5.             $this->setTargetPath($request);
  6.         }
  7.         if ($authException instanceof AccountStatusException) {
  8.             // remove the security token to prevent infinite redirect loops
  9.             $this->tokenStorage->setToken(null);
  1.                 $insufficientAuthenticationException = new InsufficientAuthenticationException('Full authentication is required to access this resource.'0$exception);
  2.                 if (null !== $token) {
  3.                     $insufficientAuthenticationException->setToken($token);
  4.                 }
  5.                 $event->setResponse($this->startAuthentication($event->getRequest(), $insufficientAuthenticationException));
  6.             } catch (\Exception $e) {
  7.                 $event->setThrowable($e);
  8.             }
  9.             return;
in vendor/symfony/security-http/Firewall/ExceptionListener.php -> handleAccessDeniedException (line 103)
  1.                 return;
  2.             }
  3.             if ($exception instanceof AccessDeniedException) {
  4.                 $this->handleAccessDeniedException($event$exception);
  5.                 return;
  6.             }
  7.             if ($exception instanceof LazyResponseException) {
  1.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 86)
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         } finally {
  6.             $this->requestStack->pop();
  7.         }
  8.     }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/projects/pms/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Stack Trace

ErrorException
ErrorException:
Warning: SessionHandler::read(): open(/var/lib/php/mod_php/session/sess_s01kfl1p389umendb2u8ft620g, O_RDWR) failed: No space left on device (28)

  at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:59
  at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->doRead()
     (vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:99)
  at Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler->read()
     (vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64)
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->read()
  at session_start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:185)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:352)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:261)
  at Symfony\Component\HttpFoundation\Session\Session->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:283)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (vendor/symfony/http-foundation/Session/Session.php:85)
  at Symfony\Component\HttpFoundation\Session\Session->set()
     (vendor/symfony/security-http/Util/TargetPathTrait.php:28)
  at Symfony\Component\Security\Http\Firewall\ExceptionListener->saveTargetPath()
     (vendor/symfony/security-http/Firewall/ExceptionListener.php:238)
  at Symfony\Component\Security\Http\Firewall\ExceptionListener->setTargetPath()
     (vendor/symfony/security-http/Firewall/ExceptionListener.php:207)
  at Symfony\Component\Security\Http\Firewall\ExceptionListener->startAuthentication()
     (vendor/symfony/security-http/Firewall/ExceptionListener.php:152)
  at Symfony\Component\Security\Http\Firewall\ExceptionListener->handleAccessDeniedException()
     (vendor/symfony/security-http/Firewall/ExceptionListener.php:103)
  at Symfony\Component\Security\Http\Firewall\ExceptionListener->onKernelException()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:223)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (vendor/symfony/http-kernel/HttpKernel.php:86)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/home/projects/pms/vendor/autoload_runtime.php')
     (public/index.php:5)