if (!static::$initialized) { |
|
static::_loadRoutes(); |
|
} |
|
|
|
return static::$_collection->parseRequest($request); |
|
} |
|
|
|
/** |
|
* Takes parameter and path information back from the Dispatcher, sets these |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
$parsedBody = $request->getParsedBody(); |
|
if (is_array($parsedBody) && isset($parsedBody['_method'])) { |
|
$request = $request->withMethod($parsedBody['_method']); |
|
} |
|
$params = Router::parseRequest($request) + $params; |
|
if (isset($params['_middleware'])) { |
|
$middleware = $params['_middleware']; |
|
unset($params['_middleware']); |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'id' => '503:oznam-pre-obanov', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '' ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'REDIRECT_nokeepalive' => '1', 'REDIRECT_DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'Zgak8QTaEC2nUjRNilqeHQAAAAE', 'nokeepalive' => '1', 'DOCROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.kapusany.sk', 'HTTP_X_REAL_IP' => '35.170.66.78', 'HTTP_X_FORWARDED_FOR' => '35.170.66.78, 35.170.66.78', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.5.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'https://kapusany.sk/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.kapusany.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.kapusany.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.kapusany.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.170.66.78', 'DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/0/30beb0c1-5619-4a7a-a534-687e5be5b32b/kapusany.sk/web/webroot/index.php', 'REMOTE_PORT' => '49242', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'REQUEST_URI' => '/index.php?view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711473.23, 'REQUEST_TIME' => (int) 1711711473, 'argv' => [ (int) 0 => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.kapusany.sk' [private] port => null [private] path => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] query => 'view=article&id=503:oznam-pre-obanov&tmpl=component&print=1&layout=default&page=' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp