Nette\Application\BadRequestException #404

No route for HTTP request. search►

Source file

File: .../src/Application/Application.php:112

102: } 103: } 104: 105: 106: public function createInitialRequest(): Request 107: { 108: $params = $this->router->match($this->httpRequest); 109: $presenter = $params[UI\Presenter::PRESENTER_KEY] ?? null; 110: 111: if ($params === null || !is_string($presenter)) { 112: throw new BadRequestException('No route for HTTP request.'); 113: } elseif ($presenter === null) { 114: throw new Nette\InvalidStateException('Missing presenter in route definition.'); 115: } 116:

Call stack

  1. .../src/Application/Application.php:85 source  Nette\Application\Application->createInitialRequest()

    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);
  2. .../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:

Last muted error

Warning: filemtime(): stat failed for /data/www/perspektivnichrudimsko.cz/www.perspektivnichrudimsko.cz/app/../temp/cache/nette.application/touch

.../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

Nette Application

Requests

array ()

Presenter

null

Environment

$_SERVER

PATH
"/usr/local/bin:/usr/bin:/bin" (28)
REDIRECT_HANDLER
"php-script" (10)
REDIRECT_STATUS
"200" (3)
SCRIPT_URL
"/2018/09/" (9)
SCRIPT_URI
"https://www.perspektivnichrudimsko.cz/2018/09/" (46)
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/2018/09/" (45)
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
"44.197.251.102" (14)
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
"34646" (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
"/2018/09/" (9)
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
1710813785.327476024627685546875
REQUEST_TIME
1710813785

$_SESSION

__NFNette Session

Configuration options

HTTP request

URL

https://www.perspektivnichrudimsko.cz/2018/09/

Headers

Mod-RewriteOn
Accept*/*
User-Agentclaudebot
Refererhttp://www.perspektivnichrudimsko.cz/2018/09/
Hostwww.perspektivnichrudimsko.cz

$_GET

empty

$_POST

empty

$_COOKIE

empty

HTTP response

Headers

X-Powered-ByNette Framework 3
X-Frame-OptionsSAMEORIGIN
Set-Cookienette-samesite=1; path=/; SameSite=Strict; HttpOnly
Set-CookiePHPSESSID=37gud5mh58hprgv9pqhk21jnbrhd59sc; expires=Tue, 02-Apr-2024 01:03:05 GMT; Max-Age=1206000; path=/; HttpOnly
ExpiresThu, 19 Nov 1981 08:52:00 GMT
Cache-Controlno-store, no-cache, must-revalidate
Pragmano-cache
Content-Typetext/html; charset=UTF-8