File: .../src/Application/UI/Component.php:324
314: ); 315: } 316: 317: 318: /** 319: * Throws HTTP error. 320: * @throws Nette\Application\BadRequestException 321: */ 322: public function error(string $message = '', int $httpCode = Nette\Http\IResponse::S404_NOT_FOUND): void 323: { 324: throw new Nette\Application\BadRequestException($message, $httpCode); 325: } 326: } 327:
.../FrontModule/Presenters/BlogPresenter.php:20 source Nette\Application\UI\Component->error()
10: { 11: 12: public function actionCategory(string $seo_url = '', $pageNo = 1): void { 13: 14: $item = $this->getDatabase()->table('ps_blog_categories') 15: ->where(['is_active' => 1, 'row_deleted_at' => NULL, 'seo_url' => $seo_url]) 16: ->fetch(); 17: 18: //404 19: if(!$item) { 20: $this->error(); 21: } 22: 23: if($item->related('ps_blog_categories')->count() != 0) { 24: $this->error();
inner-code App\FrontModule\Presenters\BlogPresenter->actionCategory(arguments)
$seo_url | "kultura" (7)
|
---|---|
$pageNo | 1
|
.../src/Application/UI/Component.php:94 source ReflectionMethod->invokeArgs(arguments)
84: $rc = $this->getReflection(); 85: if ($rc->hasMethod($method)) { 86: $rm = $rc->getMethod($method); 87: if ($rm->isPublic() && !$rm->isAbstract() && !$rm->isStatic()) { 88: $this->checkRequirements($rm); 89: try { 90: $args = $rc->combineArgs($rm, $params); 91: } catch (Nette\InvalidArgumentException $e) { 92: throw new Nette\Application\BadRequestException($e->getMessage()); 93: } 94: $rm->invokeArgs($this, $args); 95: return true; 96: } 97: } 98: return false;
$object | |
---|---|
$args |
.../src/Application/UI/Presenter.php:196 source Nette\Application\UI\Component->tryCall(arguments)
186: 187: $this->initGlobalParameters(); 188: $this->checkRequirements($this->getReflection()); 189: $this->onStartup($this); 190: $this->startup(); 191: if (!$this->startupCheck) { 192: $class = $this->getReflection()->getMethod('startup')->getDeclaringClass()->getName(); 193: throw new Nette\InvalidStateException("Method $class::startup() or its descendant doesn't call parent::startup()."); 194: } 195: // calls $this->action<Action>() 196: $this->tryCall($this->formatActionMethod($this->action), $this->params); 197: 198: // autoload components 199: foreach ($this->globalParams as $id => $foo) { 200: $this->getComponent($id, false);
$method | "actioncategory" (14)
|
---|---|
$params |
.../src/Application/Application.php:149 source Nette\Application\UI\Presenter->run(arguments)
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: 151: if ($response instanceof Responses\ForwardResponse) { 152: $request = $response->getRequest(); 153: goto process;
$request |
---|
.../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
PATH | "/usr/local/bin:/usr/bin:/bin" (28)
|
---|---|
REDIRECT_HANDLER | "php-script" (10)
|
REDIRECT_STATUS | "200" (3)
|
SCRIPT_URL | "/clanky/kultura" (15)
|
SCRIPT_URI | "https://www.perspektivnichrudimsko.cz/clanky/kultura" (52)
|
HTTP_MOD_REWRITE | "On" (2)
|
HTTPS | "on" (2)
|
SSL_TLS_SNI | "www.perspektivnichrudimsko.cz" (29)
|
HTTP_ACCEPT | "*/*" (3)
|
HTTP_USER_AGENT | "claudebot" (9)
|
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.215.110.142" (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 | "46838" (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 | "/clanky/kultura" (15)
|
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 | 1711646633.231172084808349609375
|
REQUEST_TIME | 1711646633
|
__NF | Nette Session |
---|
https://www.perspektivnichrudimsko.cz/clanky/kultura
Mod-Rewrite | On |
---|---|
Accept | */* |
User-Agent | claudebot |
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=di725i086a09jhkgl3ckk619qsj2ml6c; expires=Thu, 11-Apr-2024 16:23:53 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 |
Vary | X-Requested-With |
Content-Type | text/html; charset=UTF-8 |