[PDF] Chứng Nhân

Stack frames (11) 10 Grav\Framework\Session\Exceptions\SessionException /system/src/Grav/Framework/Session/Session.php:252 9 Grav\Framework\Session\Session start /system/src/Grav/Common/Session.php:49 8 Grav\Common\Session init /system/src/Grav/Common/Processors/InitializeProcessor.php:458 7 Grav\Common\Processors\InitializeProcessor initializeSession /system/src/Grav/Common/Processors/InitializeProcessor.php:112 6 Grav\Common\Processors\InitializeProcessor process /system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:50 5 Grav\Framework\RequestHandler\RequestHandler handle /system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:62 4 Grav\Framework\RequestHandler\RequestHandler handle /system/src/Grav/Framework/RequestHandler/Middlewares/MultipartRequestSupport.php:40 3 Grav\Framework\RequestHandler\Middlewares\MultipartRequestSupport process /system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:50 2 Grav\Framework\RequestHandler\RequestHandler handle /system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:62 1 Grav\Framework\RequestHandler\RequestHandler handle /system/src/Grav/Common/Grav.php:314 0 Grav\Common\Grav process /index.php:95 /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/Session/Session.php // Start session with new session id. $useStrictMode = $options['use_strict_mode'] ?? 0; if ($useStrictMode) { ini_set('session.use_strict_mode', '0'); } session_id($newId); if ($useStrictMode) { ini_set('session.use_strict_mode', '1'); } $success = @session_start($options); if (!$success) { $last = error_get_last(); $error = $last ? $last['message'] : 'Unknown error'; throw new RuntimeException($error); } } } catch (Exception $e) { throw new SessionException('Failed to start session: ' . $e->getMessage(), 500); } $this->started = true; $this->onSessionStart(); try { $user = $this->__get('user'); if ($user && (!$user instanceof UserInterface || (method_exists($user, 'isValid') && !$user->isValid()))) { throw new RuntimeException('Bad user'); } } catch (Throwable $e) { $this->invalidate(); throw new SessionException('Invalid User object, session destroyed.', 500); } // Extend the lifetime of the session. if ($sessionExists) { $this->setCookie(); } Arguments
  1. "Failed to start session: session_start(): Failed to read session data: files (path: /opt/alt/php84/var/lib/php/session)"
/home/jxwkrxkqyr95/public_html/system/src/Grav/Common/Session.php * @deprecated 1.5 Use ->getInstance() method instead. */ public static function instance() { user_error(__CLASS__ . '::' . __FUNCTION__ . '() is deprecated since Grav 1.5, use ->getInstance() method instead', E_USER_DEPRECATED); return static::getInstance(); } /** * Initialize session. * * Code in this function has been moved into SessionServiceProvider class. * * @return void */ public function init() { if ($this->autoStart && !$this->isStarted()) { $this->start(); $this->autoStart = false; } } /** * @param bool $auto * @return $this */ public function setAutoStart($auto) { $this->autoStart = (bool)$auto; return $this; } /** * Returns attributes. * * @return array Attributes /home/jxwkrxkqyr95/public_html/system/src/Grav/Common/Processors/InitializeProcessor.php return null; } /** * @param Config $config */ protected function initializeSession(Config $config): void { // FIXME: Initialize session should happen later after plugins have been loaded. This is a workaround to fix session issues in AWS. if (isset($this->container['session']) && $config->get('system.session.initialize', true)) { $this->startTimer('_init_session', 'Start Session'); /** @var Session $session */ $session = $this->container['session']; try { $session->init(); } catch (SessionException $e) { $session->init(); $message = 'Session corruption detected, restarting session...'; $this->addMessage($message); $this->container['messages']->add($message, 'error'); } $this->stopTimer('_init_session'); } } } /home/jxwkrxkqyr95/public_html/system/src/Grav/Common/Processors/InitializeProcessor.php } // Initialize output buffering. $this->initializeOutputBuffering($config); // Set timezone, locale. $this->initializeLocale($config); // Load plugins. $this->initializePlugins(); // Load pages. $this->initializePages($config); // Load accounts (decides class to be used). // TODO: remove in 2.0. $this->container['accounts']; // Initialize session (used by URI, see issue #3269). $this->initializeSession($config); // Initialize URI (uses session, see issue #3269). $this->initializeUri($config); // Grav may return redirect response right away. $redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1); if ($redirectCode) { $response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null); if ($response) { $this->stopTimer('_init'); return $response; } } $this->stopTimer('_init'); // Wrap call to next handler so that debugger can profile it. /** @var Response $response */ $response = $debugger->profile(static function () use ($handler, $request) { /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php protected $handler; /** @var ContainerInterface|null */ protected $container; /** * {@inheritdoc} * @throws InvalidArgumentException */ public function handle(ServerRequestInterface $request): ResponseInterface { $middleware = array_shift($this->middleware); // Use default callable if there is no middleware. if ($middleware === null) { return call_user_func($this->handler, $request); } if ($middleware instanceof MiddlewareInterface) { return $middleware->process($request, clone $this); } if (null === $this->container || !$this->container->has($middleware)) { throw new InvalidArgumentException( sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class), $middleware ); } array_unshift($this->middleware, $this->container->get($middleware)); return $this->handle($request); } } /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php // Use default callable if there is no middleware. if ($middleware === null) { return call_user_func($this->handler, $request); } if ($middleware instanceof MiddlewareInterface) { return $middleware->process($request, clone $this); } if (null === $this->container || !$this->container->has($middleware)) { throw new InvalidArgumentException( sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class), $middleware ); } array_unshift($this->middleware, $this->container->get($middleware)); return $this->handle($request); } } /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/RequestHandler/Middlewares/MultipartRequestSupport.php use function in_array; use function is_array; use function strlen; /** * Multipart request support for PUT and PATCH. */ class MultipartRequestSupport implements MiddlewareInterface { /** * @param ServerRequestInterface $request * @param RequestHandlerInterface $handler * @return ResponseInterface */ public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { $contentType = $request->getHeaderLine('content-type'); $method = $request->getMethod(); if (!str_starts_with($contentType, 'multipart/form-data') || !in_array($method, ['PUT', 'PATH'], true)) { return $handler->handle($request); } $boundary = explode('; boundary=', $contentType, 2)[1] ?? ''; $parts = explode("--{$boundary}", $request->getBody()->getContents()); $parts = array_slice($parts, 1, count($parts) - 2); $params = []; $files = []; foreach ($parts as $part) { $this->processPart($params, $files, $part); } return $handler->handle($request->withParsedBody($params)->withUploadedFiles($files)); } /** * @param array $params * @param array $files * @param string $part * @return void /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php protected $handler; /** @var ContainerInterface|null */ protected $container; /** * {@inheritdoc} * @throws InvalidArgumentException */ public function handle(ServerRequestInterface $request): ResponseInterface { $middleware = array_shift($this->middleware); // Use default callable if there is no middleware. if ($middleware === null) { return call_user_func($this->handler, $request); } if ($middleware instanceof MiddlewareInterface) { return $middleware->process($request, clone $this); } if (null === $this->container || !$this->container->has($middleware)) { throw new InvalidArgumentException( sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class), $middleware ); } array_unshift($this->middleware, $this->container->get($middleware)); return $this->handle($request); } } /home/jxwkrxkqyr95/public_html/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php // Use default callable if there is no middleware. if ($middleware === null) { return call_user_func($this->handler, $request); } if ($middleware instanceof MiddlewareInterface) { return $middleware->process($request, clone $this); } if (null === $this->container || !$this->container->has($middleware)) { throw new InvalidArgumentException( sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class), $middleware ); } array_unshift($this->middleware, $this->container->get($middleware)); return $this->handle($request); } } /home/jxwkrxkqyr95/public_html/system/src/Grav/Common/Grav.php }, 'pagesProcessor' => function () { return new PagesProcessor($this); }, 'debuggerAssetsProcessor' => function () { return new DebuggerAssetsProcessor($this); }, 'renderProcessor' => function () { return new RenderProcessor($this); }, ] ); $default = static function () { return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-store, max-age=0'], 'Not Found'); }; $collection = new RequestHandler($this->middleware, $default, $container); $response = $collection->handle($this['request']); $body = $response->getBody(); /** @var Messages $messages */ $messages = $this['messages']; // Prevent caching if session messages were displayed in the page. $noCache = $messages->isCleared(); if ($noCache) { $response = $response->withHeader('Cache-Control', 'no-store, max-age=0'); } // Handle ETag and If-None-Match headers. if ($response->getHeaderLine('ETag') === '1') { $etag = md5($body); $response = $response->withHeader('ETag', '"' . $etag . '"'); $search = trim($this['request']->getHeaderLine('If-None-Match'), '"'); if ($noCache === false && $search === $etag) { $response = $response->withStatus(304); $body = ''; /home/jxwkrxkqyr95/public_html/index.php // Set internal encoding. @ini_set('default_charset', 'UTF-8'); mb_internal_encoding('UTF-8'); $recoveryFlag = __DIR__ . '/user/data/recovery.flag'; if (PHP_SAPI !== 'cli' && is_file($recoveryFlag)) { require __DIR__ . '/system/recovery.php'; return 0; } use Grav\Common\Grav; use RocketTheme\Toolbox\Event\Event; // Get the Grav instance $grav = Grav::instance(array('loader' => $loader)); // Process the page try { $grav->process(); } catch (\Error|\Exception $e) { $grav->fireEvent('onFatalException', new Event(['exception' => $e])); if (PHP_SAPI !== 'cli' && is_file($recoveryFlag)) { require __DIR__ . '/system/recovery.php'; return 0; } throw $e; }

Environment & details:

GET Data empty POST Data empty Files empty Cookies empty Session empty Server/Request Data
Key Value
LSPHP_ENABLE_USER_INI "on"
PATH "/usr/local/bin:/usr/bin:/bin"
TEMP "/tmp"
TMP "/tmp"
TMPDIR "/tmp"
PWD "/"
HTTP_ACCEPT "*/*"
HTTP_ACCEPT_ENCODING "gzip, br"
CONTENT_LENGTH "0"
HTTP_HOST "chungnhan.org"
HTTP_USER_AGENT "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5"
HTTP_CF_RAY "9b64681478379c5c-SIN"
HTTP_CDN_LOOP "cloudflare; loops=1"
HTTP_CF_CONNECTING_IP "103.110.85.167"
HTTP_CF_IPCOUNTRY "VN"
HTTP_CF_VISITOR "{"scheme":"https"}"
HTTP_X_FORWARDED_PROTO "https"
HTTP_X_HTTPS "1"
REDIRECT_UNIQUE_ID "aVQ69JVodcY6hOaggRARFQACCAE"
REDIRECT_SCRIPT_URL "/hangtuan/585.pdf"
REDIRECT_SCRIPT_URI "https://chungnhan.org/hangtuan/585.pdf"
REDIRECT_USER_ID "7283206"
REDIRECT_HTTPS "on"
REDIRECT_SSL_TLS_SNI "chungnhan.org"
REDIRECT_HTTP2 "on"
REDIRECT_H2PUSH "off"
REDIRECT_H2_PUSH "off"
REDIRECT_H2_PUSHED ""
REDIRECT_H2_PUSHED_ON ""
REDIRECT_H2_STREAM_ID "1"
REDIRECT_H2_STREAM_TAG "922135-1867-1"
REDIRECT_STATUS "200"
UNIQUE_ID "aVQ69JVodcY6hOaggRARFQACCAE"
SCRIPT_URL "/hangtuan/585.pdf"
SCRIPT_URI "https://chungnhan.org/hangtuan/585.pdf"
USER_ID "7283206"
HTTPS "on"
SSL_TLS_SNI "chungnhan.org"
HTTP2 "on"
H2PUSH "off"
H2_PUSH "off"
H2_PUSHED ""
H2_PUSHED_ON ""
H2_STREAM_ID "1"
H2_STREAM_TAG "922135-1867-1"
SERVER_SIGNATURE ""
SERVER_SOFTWARE "Apache"
SERVER_NAME "chungnhan.org"
SERVER_ADDR "107.180.47.11"
SERVER_PORT "443"
REMOTE_ADDR "103.110.85.167"
DOCUMENT_ROOT "/home/jxwkrxkqyr95/public_html"
REQUEST_SCHEME "https"
CONTEXT_PREFIX ""
CONTEXT_DOCUMENT_ROOT "/home/jxwkrxkqyr95/public_html"
SERVER_ADMIN "[email protected]"
SCRIPT_FILENAME "/home/jxwkrxkqyr95/public_html/index.php"
REMOTE_PORT "11389"
REDIRECT_URL "/hangtuan/585.pdf"
SERVER_PROTOCOL "HTTP/2.0"
REQUEST_METHOD "GET"
QUERY_STRING ""
REQUEST_URI "/hangtuan/585.pdf"
SCRIPT_NAME "/index.php"
PHP_SELF "/index.php"
REQUEST_TIME_FLOAT 1767127796.8197
REQUEST_TIME 1767127796
Environment Variables empty Registered Handlers 0. Whoops\Handler\PrettyPageHandler 1. Whoops\Handler\CallbackHandler

Từ khóa » Chúa Thương Chúng Ta Pdf