Nette\Application\BadRequestException #404
File: .../src/Application/Application.php:146
136: $this->requests[] = $request; 137: $this->onRequest($this, $request); 138: 139: if (!$request->isMethod($request::FORWARD) && !strcasecmp($request->getPresenterName(), (string) $this->errorPresenter)) { 140: throw new BadRequestException('Invalid request. Presenter is not achievable.'); 141: } 142: 143: try { 144: $this->presenter = $this->presenterFactory->createPresenter($request->getPresenterName()); 145: } catch (InvalidPresenterException $e) { 146: throw count($this->requests) > 1 ? $e : new BadRequestException($e->getMessage(), 0, $e); 147: } 148: $this->onPresenter($this, $this->presenter); 149: $response = $this->presenter->run(clone $request); 150:
.../src/Application/Application.php:85 source Nette\Application\Application->processRequest(arguments)
75: } 76: 77: 78: /** 79: * Dispatch a HTTP request to a front controller. 80: */ 81: public function run(): void 82: { 83: try { 84: $this->onStartup($this); 85: $this->processRequest($this->createInitialRequest()); 86: $this->onShutdown($this); 87: 88: } catch (\Throwable $e) { 89: $this->onError($this, $e);
$request |
---|
.../public/index.php:10 source Nette\Application\Application->run()
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(); 11:
File: .../src/Application/PresenterFactory.php:69
59: if (isset($this->cache[$name])) { 60: return $this->cache[$name]; 61: } 62: 63: if (!Nette\Utils\Strings::match($name, '#^[a-zA-Z\x7f-\xff][a-zA-Z0-9\x7f-\xff:]*\z#')) { 64: throw new InvalidPresenterException("Presenter name must be alphanumeric string, '$name' is invalid."); 65: } 66: 67: $class = $this->formatPresenterClass($name); 68: if (!class_exists($class)) { 69: throw new InvalidPresenterException("Cannot load presenter '$name', class '$class' was not found."); 70: } 71: 72: $reflection = new \ReflectionClass($class); 73: $class = $reflection->getName();
.../src/Application/PresenterFactory.php:49 source Nette\Application\PresenterFactory->getPresenterClass(arguments)
39: { 40: $this->factory = $factory ?: function (string $class): IPresenter { return new $class; }; 41: } 42: 43: 44: /** 45: * Creates new presenter instance. 46: */ 47: public function createPresenter(string $name): IPresenter 48: { 49: return ($this->factory)($this->getPresenterClass($name)); 50: } 51: 52: 53: /**
$name | "Front:Category" (14)
|
---|
.../src/Application/Application.php:144 source Nette\Application\PresenterFactory->createPresenter(arguments)
134: } 135: 136: $this->requests[] = $request; 137: $this->onRequest($this, $request); 138: 139: if (!$request->isMethod($request::FORWARD) && !strcasecmp($request->getPresenterName(), (string) $this->errorPresenter)) { 140: throw new BadRequestException('Invalid request. Presenter is not achievable.'); 141: } 142: 143: try { 144: $this->presenter = $this->presenterFactory->createPresenter($request->getPresenterName()); 145: } catch (InvalidPresenterException $e) { 146: throw count($this->requests) > 1 ? $e : new BadRequestException($e->getMessage(), 0, $e); 147: } 148: $this->onPresenter($this, $this->presenter);
$name | "Front:Category" (14)
|
---|
.../src/Application/Application.php:85 source Nette\Application\Application->processRequest(arguments)
75: } 76: 77: 78: /** 79: * Dispatch a HTTP request to a front controller. 80: */ 81: public function run(): void 82: { 83: try { 84: $this->onStartup($this); 85: $this->processRequest($this->createInitialRequest()); 86: $this->onShutdown($this); 87: 88: } catch (\Throwable $e) { 89: $this->onError($this, $e);
$request |
---|
.../public/index.php:10 source Nette\Application\Application->run()
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(); 11:
.../nette/di/src/DI/DependencyChecker.php:86
76: return [self::VERSION, $files, $phpFiles, $classes, $functions, $hash]; 77: } 78: 79: 80: /** 81: * Are dependencies expired? 82: */ 83: public static function isExpired(int $version, array $files, array &$phpFiles, array $classes, array $functions, string $hash): bool 84: { 85: try { 86: $currentFiles = @array_map('filemtime', array_combine($tmp = array_keys($files), $tmp)); // @ - files may not exist 87: $origPhpFiles = $phpFiles; 88: $phpFiles = @array_map('filemtime', array_combine($tmp = array_keys($phpFiles), $tmp)); // @ - files may not exist 89: return $version !== self::VERSION 90: || $files !== $currentFiles
null
PATH | "/usr/local/bin:/usr/bin:/bin" (28)
|
---|---|
REDIRECT_HANDLER | "php-script" (10)
|
REDIRECT_STATUS | "200" (3)
|
SCRIPT_URL | "/category/chrudimska-historie/chrudimske-kostely/" (49)
|
SCRIPT_URI | "https://www.perspektivnichrudimsko.cz/category/chrudimska-historie/chrudimske-kostely/" (86)
|
HTTP_MOD_REWRITE | "On" (2)
|
HTTPS | "on" (2)
|
SSL_TLS_SNI | "www.perspektivnichrudimsko.cz" (29)
|
HTTP_ACCEPT | "*/*" (3)
|
HTTP_USER_AGENT | "claudebot" (9)
|
HTTP_REFERER | "http://www.perspektivnichrudimsko.cz/category/chrudimska-historie/chrudimske-kostely/" (85)
|
HTTP_HOST | "www.perspektivnichrudimsko.cz" (29)
|
SERVER_SIGNATURE | ""
|
SERVER_SOFTWARE | "Apache" (6)
|
SERVER_NAME | "www.perspektivnichrudimsko.cz" (29)
|
SERVER_ADDR | "89.185.253.48" (13)
|
SERVER_PORT | "443" (3)
|
REMOTE_ADDR | "52.90.181.205" (13)
|
DOCUMENT_ROOT | "/data/www/perspektivnichrudimsko.cz/www.perspektivnichrudimsko.cz" (65)
|
SERVER_ADMIN | "webmaster@skok.cz" (17)
|
SCRIPT_FILENAME | "/data/www/perspektivnichrudimsko.cz/www.perspektivnichrudimsko.cz/public/index.php" (82)
|
REMOTE_PORT | "54624" (5)
|
REDIRECT_URL | "/public/index.php" (17)
|
GATEWAY_INTERFACE | "CGI/1.1" (7)
|
SERVER_PROTOCOL | "HTTP/1.1" (8)
|
REQUEST_METHOD | "GET" (3)
|
QUERY_STRING | ""
|
REQUEST_URI | "/category/chrudimska-historie/chrudimske-kostely/" (49)
|
SCRIPT_NAME | "/public/index.php" (17)
|
TMPDIR | "/data/www/perspektivnichrudimsko.cz/tmp/www.perspektivnichrudimsko.cz" (69)
|
ORIG_SCRIPT_FILENAME | "/etc/cgi-bin/www/perspektivnichrudimsko.cz/www.perspektivnichrudimsko.cz/php" (76)
|
ORIG_PATH_INFO | "/public/index.php" (17)
|
ORIG_PATH_TRANSLATED | "/data/www/perspektivnichrudimsko.cz/www.perspektivnichrudimsko.cz/public/index.php" (82)
|
ORIG_SCRIPT_NAME | "/php-sys/php" (12)
|
PHP_SELF | "/public/index.php" (17)
|
REQUEST_TIME_FLOAT | 1710844706.299336910247802734375
|
REQUEST_TIME | 1710844706
|
__NF | Nette Session |
---|
https://www.perspektivnichrudimsko.cz/category/chrudimska-historie/chrudimske-kostely/
Mod-Rewrite | On |
---|---|
Accept | */* |
User-Agent | claudebot |
Referer | http://www.perspektivnichrudimsko.cz/category/chrudimska-historie/chrudimske-kostely/ |
Host | www.perspektivnichrudimsko.cz |
empty
empty
empty
X-Powered-By | Nette Framework 3 |
---|---|
X-Frame-Options | SAMEORIGIN |
Set-Cookie | nette-samesite=1; path=/; SameSite=Strict; HttpOnly |
Set-Cookie | PHPSESSID=4vsvqlu87mo0vq10cvhdngjj5pau9hvs; expires=Tue, 02-Apr-2024 09:38:26 GMT; Max-Age=1206000; path=/; HttpOnly |
Expires | Thu, 19 Nov 1981 08:52:00 GMT |
Cache-Control | no-store, no-cache, must-revalidate |
Pragma | no-cache |
Content-Type | text/html; charset=UTF-8 |