Nette\Database\ConnectionException
File: .../nininsen/vendor/nette/database/src/Database/Connection.php:65
55: /** 56: * @throws ConnectionException 57: */ 58: public function connect(): void 59: { 60: if ($this->pdo) { 61: return; 62: } 63: 64: try { 65: $this->pdo = new PDO($this->dsn, $this->user, $this->password, $this->options); 66: } catch (PDOException $e) { 67: throw ConnectionException::from($e); 68: } 69:
57: */ 58: public function connect(): void 59: { 60: if ($this->pdo) { 61: return; 62: } 63: 64: try { 65: $this->pdo = new PDO($this->dsn, $this->user, $this->password, $this->options); 66: } catch (PDOException $e) { 67: throw ConnectionException::from($e); 68: } 69: 70: $class = empty($this->options['driverClass']) 71: ? 'Nette\Database\Drivers\\' . ucfirst(str_replace('sql', 'Sql', $this->pdo->getAttribute(PDO::ATTR_DRIVER_NAME))) . 'Driver'
$src |
---|
40: #[\SensitiveParameter] 41: private readonly ?string $user = null, 42: #[\SensitiveParameter] 43: private readonly ?string $password = null, 44: private readonly array $options = [], 45: ) { 46: if (!empty($options['newDateTime'])) { 47: $this->rowNormalizer = fn($row, $resultSet) => Helpers::normalizeRow($row, $resultSet, DateTime::class); 48: } 49: if (empty($options['lazy'])) { 50: $this->connect(); 51: } 52: } 53: 54:
215: 216: 217: public function createServiceContainer(): Nette\DI\Container 218: { 219: return $this; 220: } 221: 222: 223: public function createServiceDatabase__default__connection(): Nette\Database\Connection 224: { 225: $service = new Nette\Database\Connection( 226: 'mysql:host=localhost;dbname=nininsen', 227: *****, 228: *****, 229: [],
$dsn | 'mysql:host=localhost;dbname=nininsen'
|
---|---|
$user | |
$password | |
$options | array (0)
|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'database.default.connection'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'database.default.connection'
|
---|
242: 243: public function createServiceDatabase__default__conventions(): Nette\Database\Conventions\DiscoveredConventions 244: { 245: return new Nette\Database\Conventions\DiscoveredConventions($this->getService('database.default.structure')); 246: } 247: 248: 249: public function createServiceDatabase__default__explorer(): Nette\Database\Explorer 250: { 251: return new Nette\Database\Explorer( 252: $this->getService('database.default.connection'), 253: $this->getService('database.default.structure'), 254: $this->getService('database.default.conventions'), 255: $this->getService('cache.storage'), 256: );
$name | 'database.default.connection'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'database.default.explorer'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'database.default.explorer'
|
---|
393: public function create($newsId): App\Components\NewsEditComponent 394: { 395: return new App\Components\NewsEditComponent($this->container->getService('newsRepository'), $newsId); 396: } 397: }; 398: } 399: 400: 401: public function createServiceNewsRepository(): Models\NewsRepository 402: { 403: return new Models\NewsRepository($this->getService('database.default.explorer')); 404: } 405: 406: 407: public function createServiceRecaptcha__provider(): Contributte\ReCaptcha\ReCaptchaProvider
$name | 'database.default.explorer'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'newsRepository'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'newsRepository'
|
---|
146: $service = new App\Presenters\HomepagePresenter; 147: $service->injectPrimary( 148: $this->getService('http.request'), 149: $this->getService('http.response'), 150: $this->getService('application.presenterFactory'), 151: $this->getService('router'), 152: $this->getService('session.session'), 153: $this->getService('security.user'), 154: $this->getService('latte.templateFactory'), 155: ); 156: $service->newsRepository = $this->getService('newsRepository'); 157: $service->eventRegistrationMailComponentFactory = $this->getService('eventRegistrationMailComponentFactory'); 158: $service->invalidLinkMode = 1; 159: return $service; 160: }
$name | 'newsRepository'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'application.4'
|
---|---|
$callback |
30: { 31: $services = $this->container->findByType($class); 32: if (count($services) > 1) { 33: $services = array_values(array_filter($services, fn($service) => $this->container->getServiceType($service) === $class)); 34: if (count($services) > 1) { 35: throw new Nette\Application\InvalidPresenterException("Multiple services of type $class found: " . implode(', ', $services) . '.'); 36: } 37: } 38: 39: if (count($services) === 1) { 40: return $this->container->createService($services[0]); 41: } 42: 43: if ($this->touchToRefresh) { 44: touch($this->touchToRefresh);
$name | 'application.4'
|
---|
37: { 38: $this->factory = $factory ?: fn(string $class): IPresenter => new $class; 39: } 40: 41: 42: /** 43: * Creates new presenter instance. 44: */ 45: public function createPresenter(string $name): IPresenter 46: { 47: return ($this->factory)($this->getPresenterClass($name)); 48: } 49: 50: 51: /**
$class | 'App\Presenters\HomepagePresenter'
|
---|
132: 133: if ( 134: !$request->isMethod($request::FORWARD) 135: && (!strcasecmp($request->getPresenterName(), (string) $this->errorPresenter) 136: || !strcasecmp($request->getPresenterName(), (string) $this->error4xxPresenter)) 137: ) { 138: throw new BadRequestException('Invalid request. Presenter is not achievable.'); 139: } 140: 141: try { 142: $this->presenter = $this->presenterFactory->createPresenter($request->getPresenterName()); 143: } catch (InvalidPresenterException $e) { 144: throw count($this->requests) > 1 145: ? $e 146: : new BadRequestException($e->getMessage(), 0, $e);
$name | 'Homepage'
|
---|
66: } 67: 68: 69: /** 70: * Dispatch a HTTP request to a front controller. 71: */ 72: public function run(): void 73: { 74: try { 75: Arrays::invoke($this->onStartup, $this); 76: $this->processRequest($this->createInitialRequest()); 77: Arrays::invoke($this->onShutdown, $this); 78: 79: } catch (\Throwable $e) { 80: $this->sendHttpCode($e);
$request |
---|
1: <?php 2: 3: declare(strict_types=1); 4: 5: require __DIR__ . '/../vendor/autoload.php'; 6: 7: App\Bootstrap::boot() 8: ->createContainer() 9: ->getByType(Nette\Application\Application::class) 10: ->run();
PDOException
File: .../nininsen/vendor/nette/database/src/Database/Connection.php:65
55: /** 56: * @throws ConnectionException 57: */ 58: public function connect(): void 59: { 60: if ($this->pdo) { 61: return; 62: } 63: 64: try { 65: $this->pdo = new PDO($this->dsn, $this->user, $this->password, $this->options); 66: } catch (PDOException $e) { 67: throw ConnectionException::from($e); 68: } 69:
55: /** 56: * @throws ConnectionException 57: */ 58: public function connect(): void 59: { 60: if ($this->pdo) { 61: return; 62: } 63: 64: try { 65: $this->pdo = new PDO($this->dsn, $this->user, $this->password, $this->options); 66: } catch (PDOException $e) { 67: throw ConnectionException::from($e); 68: } 69:
$dsn | 'mysql:host=localhost;dbname=nininsen'
|
---|---|
$username | 'root'
|
$password | |
$options | array (0)
|
40: #[\SensitiveParameter] 41: private readonly ?string $user = null, 42: #[\SensitiveParameter] 43: private readonly ?string $password = null, 44: private readonly array $options = [], 45: ) { 46: if (!empty($options['newDateTime'])) { 47: $this->rowNormalizer = fn($row, $resultSet) => Helpers::normalizeRow($row, $resultSet, DateTime::class); 48: } 49: if (empty($options['lazy'])) { 50: $this->connect(); 51: } 52: } 53: 54:
215: 216: 217: public function createServiceContainer(): Nette\DI\Container 218: { 219: return $this; 220: } 221: 222: 223: public function createServiceDatabase__default__connection(): Nette\Database\Connection 224: { 225: $service = new Nette\Database\Connection( 226: 'mysql:host=localhost;dbname=nininsen', 227: *****, 228: *****, 229: [],
$dsn | 'mysql:host=localhost;dbname=nininsen'
|
---|---|
$user | |
$password | |
$options | array (0)
|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'database.default.connection'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'database.default.connection'
|
---|
242: 243: public function createServiceDatabase__default__conventions(): Nette\Database\Conventions\DiscoveredConventions 244: { 245: return new Nette\Database\Conventions\DiscoveredConventions($this->getService('database.default.structure')); 246: } 247: 248: 249: public function createServiceDatabase__default__explorer(): Nette\Database\Explorer 250: { 251: return new Nette\Database\Explorer( 252: $this->getService('database.default.connection'), 253: $this->getService('database.default.structure'), 254: $this->getService('database.default.conventions'), 255: $this->getService('cache.storage'), 256: );
$name | 'database.default.connection'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'database.default.explorer'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'database.default.explorer'
|
---|
393: public function create($newsId): App\Components\NewsEditComponent 394: { 395: return new App\Components\NewsEditComponent($this->container->getService('newsRepository'), $newsId); 396: } 397: }; 398: } 399: 400: 401: public function createServiceNewsRepository(): Models\NewsRepository 402: { 403: return new Models\NewsRepository($this->getService('database.default.explorer')); 404: } 405: 406: 407: public function createServiceRecaptcha__provider(): Contributte\ReCaptcha\ReCaptchaProvider
$name | 'database.default.explorer'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'newsRepository'
|
---|---|
$callback |
133: * Returns the service instance. If it has not been created yet, it creates it. 134: * @throws MissingServiceException 135: */ 136: public function getService(string $name): object 137: { 138: if (!isset($this->instances[$name])) { 139: if (isset($this->aliases[$name])) { 140: return $this->getService($this->aliases[$name]); 141: } 142: 143: $this->instances[$name] = $this->createService($name); 144: } 145: 146: return $this->instances[$name]; 147: }
$name | 'newsRepository'
|
---|
146: $service = new App\Presenters\HomepagePresenter; 147: $service->injectPrimary( 148: $this->getService('http.request'), 149: $this->getService('http.response'), 150: $this->getService('application.presenterFactory'), 151: $this->getService('router'), 152: $this->getService('session.session'), 153: $this->getService('security.user'), 154: $this->getService('latte.templateFactory'), 155: ); 156: $service->newsRepository = $this->getService('newsRepository'); 157: $service->eventRegistrationMailComponentFactory = $this->getService('eventRegistrationMailComponentFactory'); 158: $service->invalidLinkMode = 1; 159: return $service; 160: }
$name | 'newsRepository'
|
---|
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
301: /** 302: * Prevents circular references during service creation by checking if the service is already being created. 303: */ 304: private function preventDeadLock(string $key, \Closure $callback): mixed 305: { 306: if (isset($this->creating[$key])) { 307: throw new Nette\InvalidStateException(sprintf('Circular reference detected for: %s.', implode(', ', array_keys($this->creating)))); 308: } 309: try { 310: $this->creating[$key] = true; 311: return $callback(); 312: } finally { 313: unset($this->creating[$key]); 314: } 315: }
208: * Creates new instance of the service. 209: * @throws MissingServiceException 210: */ 211: public function createService(string $name): object 212: { 213: $name = $this->aliases[$name] ?? $name; 214: $method = self::getMethodName($name); 215: if ($callback = ($this->factories[$name] ?? null)) { 216: $service = $this->preventDeadLock($name, fn() => $callback()); 217: } elseif (isset($this->methods[$method])) { 218: $service = $this->preventDeadLock($name, fn() => $this->$method()); 219: } else { 220: throw new MissingServiceException(sprintf("Service '%s' not found.", $name)); 221: } 222:
$key | 'application.4'
|
---|---|
$callback |
30: { 31: $services = $this->container->findByType($class); 32: if (count($services) > 1) { 33: $services = array_values(array_filter($services, fn($service) => $this->container->getServiceType($service) === $class)); 34: if (count($services) > 1) { 35: throw new Nette\Application\InvalidPresenterException("Multiple services of type $class found: " . implode(', ', $services) . '.'); 36: } 37: } 38: 39: if (count($services) === 1) { 40: return $this->container->createService($services[0]); 41: } 42: 43: if ($this->touchToRefresh) { 44: touch($this->touchToRefresh);
$name | 'application.4'
|
---|
37: { 38: $this->factory = $factory ?: fn(string $class): IPresenter => new $class; 39: } 40: 41: 42: /** 43: * Creates new presenter instance. 44: */ 45: public function createPresenter(string $name): IPresenter 46: { 47: return ($this->factory)($this->getPresenterClass($name)); 48: } 49: 50: 51: /**
$class | 'App\Presenters\HomepagePresenter'
|
---|
132: 133: if ( 134: !$request->isMethod($request::FORWARD) 135: && (!strcasecmp($request->getPresenterName(), (string) $this->errorPresenter) 136: || !strcasecmp($request->getPresenterName(), (string) $this->error4xxPresenter)) 137: ) { 138: throw new BadRequestException('Invalid request. Presenter is not achievable.'); 139: } 140: 141: try { 142: $this->presenter = $this->presenterFactory->createPresenter($request->getPresenterName()); 143: } catch (InvalidPresenterException $e) { 144: throw count($this->requests) > 1 145: ? $e 146: : new BadRequestException($e->getMessage(), 0, $e);
$name | 'Homepage'
|
---|
66: } 67: 68: 69: /** 70: * Dispatch a HTTP request to a front controller. 71: */ 72: public function run(): void 73: { 74: try { 75: Arrays::invoke($this->onStartup, $this); 76: $this->processRequest($this->createInitialRequest()); 77: Arrays::invoke($this->onShutdown, $this); 78: 79: } catch (\Throwable $e) { 80: $this->sendHttpCode($e);
$request |
---|
1: <?php 2: 3: declare(strict_types=1); 4: 5: require __DIR__ . '/../vendor/autoload.php'; 6: 7: App\Bootstrap::boot() 8: ->createContainer() 9: ->getByType(Nette\Application\Application::class) 10: ->run();
Note: the last muted error may have nothing to do with the thrown exception.
.../nette/robot-loader/src/RobotLoader/RobotLoader.php:443
433: return; 434: } 435: 436: if ($lock) { 437: flock($lock, LOCK_UN); // release shared lock so we can get exclusive 438: } 439: 440: $lock = $this->acquireLock("$file.lock", LOCK_EX); 441: 442: // while waiting for exclusive lock, someone might have already created the cache 443: $data = @include $file; // @ file may not exist 444: if (is_array($data)) { 445: [$this->classes, $this->missingClasses, $this->emptyFiles] = $data; 446: return; 447: }
REDIRECT_HTTPS | 'on'
|
---|---|
REDIRECT_SSL_TLS_SNI | 'nininsen.cz'
|
REDIRECT_STATUS | '200'
|
HTTPS | 'on'
|
SSL_TLS_SNI | 'nininsen.cz'
|
HTTP_HOST | 'nininsen.cz'
|
HTTP_CONNECTION | 'keep-alive'
|
HTTP_PRAGMA | 'no-cache'
|
HTTP_CACHE_CONTROL | 'no-cache'
|
HTTP_SEC_CH_UA | '"Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134"'
|
HTTP_SEC_CH_UA_MOBILE | '?0'
|
HTTP_SEC_CH_UA_PLATFORM | '"Linux"'
|
HTTP_UPGRADE_INSECURE_REQUESTS | '1'
|
HTTP_USER_AGENT | 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36'
|
HTTP_ACCEPT | 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
|
HTTP_SEC_FETCH_SITE | 'none'
|
HTTP_SEC_FETCH_MODE | 'navigate'
|
HTTP_SEC_FETCH_USER | '?1'
|
HTTP_SEC_FETCH_DEST | 'document'
|
HTTP_ACCEPT_ENCODING | 'gzip, deflate, br, zstd'
|
HTTP_ACCEPT_LANGUAGE | 'cs-CZ,cs;q=0.9,en;q=0.8'
|
HTTP_COOKIE | '_nss=1'
|
PATH | '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
|
SERVER_SIGNATURE | |
SERVER_SOFTWARE | 'Apache/2.4.62 (Debian)'
|
SERVER_NAME | 'nininsen.cz'
|
SERVER_ADDR | '10.19.0.5'
|
SERVER_PORT | '443'
|
REMOTE_ADDR | '109.81.170.62'
|
DOCUMENT_ROOT | '/var/www/nininsen'
|
REQUEST_SCHEME | 'https'
|
CONTEXT_PREFIX | ''
|
CONTEXT_DOCUMENT_ROOT | '/var/www/nininsen'
|
SERVER_ADMIN | '[no address given]'
|
SCRIPT_FILENAME | '/var/www/nininsen/www/index.php'
|
REMOTE_PORT | '54968'
|
REDIRECT_URL | '/'
|
GATEWAY_INTERFACE | 'CGI/1.1'
|
SERVER_PROTOCOL | 'HTTP/1.1'
|
REQUEST_METHOD | 'GET'
|
QUERY_STRING | ''
|
REQUEST_URI | '/'
|
SCRIPT_NAME | '/www/index.php'
|
PHP_SELF | '/www/index.php'
|
REQUEST_TIME_FLOAT | 1741515132.059793
|
REQUEST_TIME | 1741515132
|
MB_CASE_UPPER | 0
|
---|---|
MB_CASE_LOWER | 1
|
MB_CASE_TITLE | 2
|
DS | '/'
|
GRAPHEME_EXTR_COUNT | 0
|
GRAPHEME_EXTR_MAXBYTES | 1
|
GRAPHEME_EXTR_MAXCHARS | 2
|
Apache Version | Apache/2.4.62 (Debian) |
Apache API Version | 20120211 |
Server Administrator | [no address given] |
Hostname:Port | nininsen.cz:0 |
User/Group | www-data(33)/33 |
Max Requests | Per Child: 0 - Keep Alive: on - Max Per Connection: 100 |
Timeouts | Connection: 300 - Keep-Alive: 5 |
Virtual Server | Yes |
Server Root | /etc/apache2 |
Loaded Modules | core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php mod_reqtimeout mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status |
Directive | Local Value | Master Value |
---|---|---|
engine | On | On |
last_modified | Off | Off |
xbithack | Off | Off |
Variable | Value |
---|---|
REDIRECT_HTTPS | on |
REDIRECT_SSL_TLS_SNI | nininsen.cz |
REDIRECT_STATUS | 200 |
HTTPS | on |
SSL_TLS_SNI | nininsen.cz |
HTTP_HOST | nininsen.cz |
HTTP_CONNECTION | keep-alive |
HTTP_PRAGMA | no-cache |
HTTP_CACHE_CONTROL | no-cache |
HTTP_SEC_CH_UA | "Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134" |
HTTP_SEC_CH_UA_MOBILE | ?0 |
HTTP_SEC_CH_UA_PLATFORM | "Linux" |
HTTP_UPGRADE_INSECURE_REQUESTS | 1 |
HTTP_USER_AGENT | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 |
HTTP_SEC_FETCH_SITE | none |
HTTP_SEC_FETCH_MODE | navigate |
HTTP_SEC_FETCH_USER | ?1 |
HTTP_SEC_FETCH_DEST | document |
HTTP_ACCEPT_ENCODING | gzip, deflate, br, zstd |
HTTP_ACCEPT_LANGUAGE | cs-CZ,cs;q=0.9,en;q=0.8 |
HTTP_COOKIE | _nss=1 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin |
SERVER_SIGNATURE | <address>Apache/2.4.62 (Debian) Server at nininsen.cz Port 443</address> |
SERVER_SOFTWARE | Apache/2.4.62 (Debian) |
SERVER_NAME | nininsen.cz |
SERVER_ADDR | 10.19.0.5 |
SERVER_PORT | 443 |
REMOTE_ADDR | 109.81.170.62 |
DOCUMENT_ROOT | /var/www/nininsen |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | no value |
CONTEXT_DOCUMENT_ROOT | /var/www/nininsen |
SERVER_ADMIN | [no address given] |
SCRIPT_FILENAME | /var/www/nininsen/www/index.php |
REMOTE_PORT | 54968 |
REDIRECT_URL | / |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | no value |
REQUEST_URI | / |
SCRIPT_NAME | /www/index.php |
HTTP Request Headers | |
---|---|
HTTP Request | GET / HTTP/1.1 |
Host | nininsen.cz |
Connection | keep-alive |
Pragma | no-cache |
Cache-Control | no-cache |
sec-ch-ua | "Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134" |
sec-ch-ua-mobile | ?0 |
sec-ch-ua-platform | "Linux" |
Upgrade-Insecure-Requests | 1 |
User-Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 |
Accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 |
Sec-Fetch-Site | none |
Sec-Fetch-Mode | navigate |
Sec-Fetch-User | ?1 |
Sec-Fetch-Dest | document |
Accept-Encoding | gzip, deflate, br, zstd |
Accept-Language | cs-CZ,cs;q=0.9,en;q=0.8 |
Cookie | _nss=1 |
HTTP Response Headers | |
X-Powered-By | Nette Framework 3 |
X-Frame-Options | SAMEORIGIN |
Set-Cookie | _nss=1; path=/; secure; HttpOnly; SameSite=Strict |
Calendar support | enabled |
PHP Version | 8.4.4 |
Directive | Local Value | Master Value |
---|---|---|
allow_url_fopen | On | On |
allow_url_include | Off | Off |
arg_separator.input | & | & |
arg_separator.output | & | & |
auto_append_file | no value | no value |
auto_globals_jit | On | On |
auto_prepend_file | no value | no value |
browscap | no value | no value |
default_charset | UTF-8 | UTF-8 |
default_mimetype | text/html | text/html |
disable_classes | no value | no value |
disable_functions | no value | no value |
display_errors | Off | Off |
display_startup_errors | Off | Off |
doc_root | no value | no value |
docref_ext | no value | no value |
docref_root | no value | no value |
enable_dl | Off | Off |
enable_post_data_reading | On | On |
error_append_string | no value | no value |
error_log | no value | no value |
error_log_mode | 0644 | 0644 |
error_prepend_string | no value | no value |
error_reporting | 30719 | 22527 |
expose_php | Off | Off |
extension_dir | /usr/lib/php/20240924 | /usr/lib/php/20240924 |
fiber.stack_size | no value | no value |
file_uploads | On | On |
hard_timeout | 2 | 2 |
highlight.comment | #FF8000 | #FF8000 |
highlight.default | #0000BB | #0000BB |
highlight.html | #000000 | #000000 |
highlight.keyword | #007700 | #007700 |
highlight.string | #DD0000 | #DD0000 |
html_errors | Off | On |
ignore_repeated_errors | Off | Off |
ignore_repeated_source | Off | Off |
ignore_user_abort | Off | Off |
implicit_flush | Off | Off |
include_path | .:/usr/share/php | .:/usr/share/php |
input_encoding | no value | no value |
internal_encoding | no value | no value |
log_errors | Off | On |
mail.add_x_header | Off | Off |
mail.force_extra_parameters | no value | no value |
mail.log | no value | no value |
mail.mixed_lf_and_crlf | Off | Off |
max_execution_time | 30 | 30 |
max_file_uploads | 20 | 20 |
max_input_nesting_level | 64 | 64 |
max_input_time | 60 | 60 |
max_input_vars | 1000 | 1000 |
max_multipart_body_parts | -1 | -1 |
memory_limit | 128M | 128M |
open_basedir | no value | no value |
output_buffering | 4096 | 4096 |
output_encoding | no value | no value |
output_handler | no value | no value |
post_max_size | 8M | 8M |
precision | 14 | 14 |
realpath_cache_size | 4096K | 4096K |
realpath_cache_ttl | 120 | 120 |
register_argc_argv | Off | Off |
report_memleaks | On | On |
report_zend_debug | Off | Off |
request_order | GP | GP |
sendmail_from | no value | no value |
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i |
serialize_precision | -1 | -1 |
short_open_tag | Off | Off |
SMTP | localhost | localhost |
smtp_port | 25 | 25 |
sys_temp_dir | no value | no value |
syslog.facility | LOG_USER | LOG_USER |
syslog.filter | no-ctrl | no-ctrl |
syslog.ident | php | php |
unserialize_callback_func | no value | no value |
upload_max_filesize | 2M | 2M |
upload_tmp_dir | no value | no value |
user_dir | no value | no value |
user_ini.cache_ttl | 300 | 300 |
user_ini.filename | .user.ini | .user.ini |
variables_order | GPCS | GPCS |
xmlrpc_error_number | 0 | 0 |
xmlrpc_errors | Off | Off |
zend.assertions | -1 | -1 |
zend.detect_unicode | On | On |
zend.enable_gc | On | On |
zend.exception_ignore_args | Off | On |
zend.exception_string_param_max_len | 0 | 0 |
zend.max_allowed_stack_size | 0 | 0 |
zend.multibyte | Off | Off |
zend.reserved_stack_size | 0 | 0 |
zend.script_encoding | no value | no value |
zend.signal_check | Off | Off |
ctype functions | enabled |
cURL support | enabled |
cURL Information | 7.74.0 |
Age | 7 |
Features | |
AsynchDNS | Yes |
CharConv | No |
Debug | No |
GSS-Negotiate | No |
IDN | Yes |
IPv6 | Yes |
krb4 | No |
Largefile | Yes |
libz | Yes |
NTLM | Yes |
NTLMWB | Yes |
SPNEGO | Yes |
SSL | Yes |
SSPI | No |
TLS-SRP | Yes |
HTTP2 | Yes |
GSSAPI | Yes |
KERBEROS5 | Yes |
UNIX_SOCKETS | Yes |
PSL | Yes |
HTTPS_PROXY | Yes |
MULTI_SSL | No |
BROTLI | Yes |
ALTSVC | Yes |
HTTP3 | No |
UNICODE | No |
ZSTD | No |
HSTS | No |
Protocols | dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp |
Host | x86_64-pc-linux-gnu |
SSL Version | OpenSSL/1.1.1w |
ZLib Version | 1.2.11 |
libSSH Version | libssh2/1.9.0 |
Directive | Local Value | Master Value |
---|---|---|
curl.cainfo | no value | no value |
date/time support | enabled |
timelib version | 2022.12 |
"Olson" Timezone Database Version | 0.system |
Timezone Database | internal |
Default timezone | Europe/Prague |
Directive | Local Value | Master Value |
---|---|---|
date.default_latitude | 31.7667 | 31.7667 |
date.default_longitude | 35.2333 | 35.2333 |
date.sunrise_zenith | 90.833333 | 90.833333 |
date.sunset_zenith | 90.833333 | 90.833333 |
date.timezone | Europe/Prague | UTC |
EXIF Support | enabled |
Supported EXIF Version | 0220 |
Supported filetypes | JPEG, TIFF |
Multibyte decoding support using mbstring | disabled |
Extended EXIF tag formats | Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson |
Directive | Local Value | Master Value |
---|---|---|
exif.decode_jis_intel | JIS | JIS |
exif.decode_jis_motorola | JIS | JIS |
exif.decode_unicode_intel | UCS-2LE | UCS-2LE |
exif.decode_unicode_motorola | UCS-2BE | UCS-2BE |
exif.encode_jis | no value | no value |
exif.encode_unicode | ISO-8859-15 | ISO-8859-15 |
FFI support | enabled |
Directive | Local Value | Master Value |
---|---|---|
ffi.enable | preload | preload |
ffi.preload | no value | no value |
fileinfo support | enabled |
libmagic | 545 |
Input Validation and Filtering | enabled |
Directive | Local Value | Master Value |
---|---|---|
filter.default | unsafe_raw | unsafe_raw |
filter.default_flags | no value | no value |
FTP support | enabled |
FTPS support | enabled |
GetText Support | enabled |
hash support | enabled |
Hashing Engines | md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat murmur3a murmur3c murmur3f xxh32 xxh64 xxh3 xxh128 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 |
MHASH support | Enabled |
MHASH API Version | Emulated Support |
iconv support | enabled |
iconv implementation | glibc |
iconv library version | 2.31 |
Directive | Local Value | Master Value |
---|---|---|
iconv.input_encoding | no value | no value |
iconv.internal_encoding | no value | no value |
iconv.output_encoding | no value | no value |
json support | enabled |
libXML support | active |
libXML Compiled Version | 2.9.14 |
libXML Loaded Version | 20914 |
libXML streams | enabled |
OpenSSL support | enabled |
OpenSSL Library Version | OpenSSL 1.1.1w 11 Sep 2023 |
OpenSSL Header Version | OpenSSL 1.1.1w 11 Sep 2023 |
Openssl default config | /usr/lib/ssl/openssl.cnf |
Directive | Local Value | Master Value |
---|---|---|
openssl.cafile | no value | no value |
openssl.capath | no value | no value |
PCRE (Perl Compatible Regular Expressions) Support | enabled |
PCRE Library Version | 10.40 2022-04-14 |
PCRE Unicode Version | 14.0.0 |
PCRE JIT Support | enabled |
PCRE JIT Target | x86 64bit (little endian + unaligned) |
Directive | Local Value | Master Value |
---|---|---|
pcre.backtrack_limit | 1000000 | 1000000 |
pcre.jit | On | On |
pcre.recursion_limit | 100000 | 100000 |
PDO support | enabled |
PDO drivers | no value |
Phar: PHP Archive support | enabled |
Phar API version | 1.1.1 |
Phar-based phar archives | enabled |
Tar-based phar archives | enabled |
ZIP-based phar archives | enabled |
gzip compression | enabled |
bzip2 compression | disabled (install ext/bz2) |
Native OpenSSL support | enabled |
Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle. |
Directive | Local Value | Master Value |
---|---|---|
phar.cache_list | no value | no value |
phar.readonly | On | On |
phar.require_hash | On | On |
POSIX support | enabled |
Version | 8.4.4 |
Readline Support | enabled |
Readline library | EditLine wrapper |
Directive | Local Value | Master Value |
---|---|---|
cli.pager | no value | no value |
cli.prompt | \b \> | \b \> |
Reflection | enabled |
Session Support | enabled |
Registered save handlers | files user |
Registered serializer handlers | php_serialize php php_binary |
Directive | Local Value | Master Value |
---|---|---|
session.auto_start | Off | Off |
session.cache_expire | 180 | 180 |
session.cache_limiter | nocache | nocache |
session.cookie_domain | no value | no value |
session.cookie_httponly | Off | Off |
session.cookie_lifetime | 0 | 0 |
session.cookie_path | / | / |
session.cookie_samesite | no value | no value |
session.cookie_secure | Off | Off |
session.gc_divisor | 1000 | 1000 |
session.gc_maxlifetime | 1440 | 1440 |
session.gc_probability | 0 | 0 |
session.lazy_write | On | On |
session.name | PHPSESSID | PHPSESSID |
session.referer_check | no value | no value |
session.save_handler | files | files |
session.save_path | /var/lib/php/sessions | /var/lib/php/sessions |
session.serialize_handler | php | php |
session.sid_bits_per_character | 4 | 4 |
session.sid_length | 32 | 32 |
session.upload_progress.cleanup | On | On |
session.upload_progress.enabled | On | On |
session.upload_progress.freq | 1% | 1% |
session.upload_progress.min_freq | 1 | 1 |
session.upload_progress.name | PHP_SESSION_UPLOAD_PROGRESS | PHP_SESSION_UPLOAD_PROGRESS |
session.upload_progress.prefix | upload_progress_ | upload_progress_ |
session.use_cookies | On | On |
session.use_only_cookies | On | On |
session.use_strict_mode | Off | Off |
session.use_trans_sid | Off | Off |
shmop support | enabled |
Sockets Support | enabled |
sodium support | enabled |
libsodium headers version | 1.0.18 |
libsodium library version | 1.0.18 |
SPL support | enabled |
Interfaces | OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject |
Classes | AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException |
Dynamic Library Support | enabled |
Path to sendmail | /usr/sbin/sendmail -t -i |
Directive | Local Value | Master Value |
---|---|---|
assert.active | On | On |
assert.bail | Off | Off |
assert.callback | no value | no value |
assert.exception | On | On |
assert.warning | On | On |
auto_detect_line_endings | Off | Off |
default_socket_timeout | 60 | 60 |
from | no value | no value |
session.trans_sid_hosts | no value | no value |
session.trans_sid_tags | a=href,area=href,frame=src,form= | a=href,area=href,frame=src,form= |
unserialize_max_depth | 4096 | 4096 |
url_rewriter.hosts | no value | no value |
url_rewriter.tags | form= | form= |
user_agent | no value | no value |
sysvmsg support | enabled |
sysvsem support | enabled |
sysvshm support | enabled |
Tokenizer Support | enabled |
Opcode Caching | Up and Running |
Optimization | Enabled |
SHM Cache | Enabled |
File Cache | Disabled |
JIT | Off |
Startup | OK |
Shared memory model | mmap |
Cache hits | 25 |
Cache misses | 291 |
Used memory | 14858104 |
Free memory | 119359624 |
Wasted memory | 0 |
Interned Strings Used memory | 3146600 |
Interned Strings Free memory | 5242008 |
Cached scripts | 290 |
Cached keys | 535 |
Max keys | 16229 |
OOM restarts | 0 |
Hash keys restarts | 0 |
Manual restarts | 0 |
Start time | 2025-03-09T11:12:09+0100 |
Last restart time | none |
Last force restart time | none |
Directive | Local Value | Master Value |
---|---|---|
opcache.blacklist_filename | no value | no value |
opcache.dups_fix | Off | Off |
opcache.enable | On | On |
opcache.enable_cli | Off | Off |
opcache.enable_file_override | Off | Off |
opcache.error_log | no value | no value |
opcache.file_cache | no value | no value |
opcache.file_cache_consistency_checks | On | On |
opcache.file_cache_only | Off | Off |
opcache.file_update_protection | 2 | 2 |
opcache.force_restart_timeout | 180 | 180 |
opcache.huge_code_pages | Off | Off |
opcache.interned_strings_buffer | 8 | 8 |
opcache.jit | no value | no value |
opcache.jit_bisect_limit | 0 | 0 |
opcache.jit_blacklist_root_trace | 16 | 16 |
opcache.jit_blacklist_side_trace | 8 | 8 |
opcache.jit_buffer_size | 64M | 64M |
opcache.jit_debug | 0 | 0 |
opcache.jit_hot_func | 127 | 127 |
opcache.jit_hot_loop | 64 | 64 |
opcache.jit_hot_return | 8 | 8 |
opcache.jit_hot_side_exit | 8 | 8 |
opcache.jit_max_exit_counters | 8192 | 8192 |
opcache.jit_max_loop_unrolls | 8 | 8 |
opcache.jit_max_polymorphic_calls | 2 | 2 |
opcache.jit_max_recursive_calls | 2 | 2 |
opcache.jit_max_recursive_returns | 2 | 2 |
opcache.jit_max_root_traces | 1024 | 1024 |
opcache.jit_max_side_traces | 128 | 128 |
opcache.jit_max_trace_length | 1024 | 1024 |
opcache.jit_prof_threshold | 0.005 | 0.005 |
opcache.lockfile_path | /tmp | /tmp |
opcache.log_verbosity_level | 1 | 1 |
opcache.max_accelerated_files | 10000 | 10000 |
opcache.max_file_size | 0 | 0 |
opcache.max_wasted_percentage | 5 | 5 |
opcache.memory_consumption | 128 | 128 |
opcache.opt_debug_level | 0 | 0 |
opcache.optimization_level | 0x7FFEBFFF | 0x7FFEBFFF |
opcache.preferred_memory_model | no value | no value |
opcache.preload | no value | no value |
opcache.preload_user | no value | no value |
opcache.protect_memory | Off | Off |
opcache.record_warnings | Off | Off |
opcache.restrict_api | no value | no value |
opcache.revalidate_freq | 2 | 2 |
opcache.revalidate_path | Off | Off |
opcache.save_comments | On | On |
opcache.use_cwd | On | On |
opcache.validate_permission | Off | Off |
opcache.validate_root | Off | Off |
opcache.validate_timestamps | On | On |
ZLib Support | enabled |
Stream Wrapper | compress.zlib:// |
Stream Filter | zlib.inflate, zlib.deflate |
Compiled Version | 1.2.11 |
Linked Version | 1.2.11 |
Directive | Local Value | Master Value |
---|---|---|
zlib.output_compression | Off | Off |
zlib.output_compression_level | -1 | -1 |
zlib.output_handler | no value | no value |
Module Name |
---|
Host | 'nininsen.cz'
|
---|---|
Connection | 'keep-alive'
|
Pragma | 'no-cache'
|
Cache-Control | 'no-cache'
|
sec-ch-ua | '"Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134"'
|
sec-ch-ua-mobile | '?0'
|
sec-ch-ua-platform | '"Linux"'
|
Upgrade-Insecure-Requests | '1'
|
User-Agent | 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36'
|
Accept | 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
|
Sec-Fetch-Site | 'none'
|
Sec-Fetch-Mode | 'navigate'
|
Sec-Fetch-User | '?1'
|
Sec-Fetch-Dest | 'document'
|
Accept-Encoding | 'gzip, deflate, br, zstd'
|
Accept-Language | 'cs-CZ,cs;q=0.9,en;q=0.8'
|
Cookie | '_nss=1'
|
empty
empty
_nss | '1'
|
---|
X-Powered-By | 'Nette Framework 3'
|
---|---|
Content-Type | 'text/html; charset=utf-8'
|
X-Frame-Options | 'SAMEORIGIN'
|
Set-Cookie | '_nss=1; path=/; secure; HttpOnly; SameSite=Strict'
|
Headers were not sent at the time the exception was thrown