$this->_setPagingParams(); |
|
} catch (PageOutOfBoundsException $e) { |
|
$this->_setPagingParams(); |
|
|
|
throw new NotFoundException(null, null, $e); |
|
} |
|
|
|
return $results; |
|
} |
throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT DISTINCT Actors.id AS Actors__id, Actors.firstname AS Actors__firstname, Actors.lastname AS Actors__lastname, Actors.birth AS Actors__birth, Actors.sex AS Actors__sex, Actors.height AS Actors__height, Actors.size AS Actors__size, Actors.haircolor AS Actors__haircolor, Actors.eyecolor AS Actors__eyecolor, Actors.glasses AS Actors__glasses, Actors.drivinglicense AS Actors__drivinglicense, Actors.education AS Actors__education, Actors.dialects AS Actors__dialects, Actors.music AS Actors__music, Actors.dance AS Actors__dance, Actors.sport AS Actors__sport, Actors.otherskills AS Actors__otherskills, Actors.theater AS Actors__theater, Actors.location1 AS Actors__location1, Actors.location2 AS Actors__location2, Actors.accommodation AS Actors__accommodation, Actors.homepage AS Actors__homepage, Actors.copyright1 AS Actors__copyright1, Actors.copyright2 AS Actors__copyright2, Actors.copyright3 AS Actors__copyright3, Actors.copyright4 AS Actors__copyright4, Actors.copyright5 AS Actors__copyright5, Actors.copyright6 AS Actors__copyright6, Actors.copyright7 AS Actors__copyright7, Actors.copyright8 AS Actors__copyright8, Actors.heimatdialekt AS Actors__heimatdialekt, Actors.naehe_1 AS Actors__naehe_1, Actors.naehe_2 AS Actors__naehe_2, Actors.alternotonhp AS Actors__alternotonhp, Actors.accent AS Actors__accent, Actors.nationality AS Actors__nationality, Actors.birth_location AS Actors__birth_location, Actors.voice AS Actors__voice, Actors.singing AS Actors__singing, Actors.awards AS Actors__awards, Actors.vimeo AS Actors__vimeo, Actors.link1_description AS Actors__link1_description, Actors.link2_description AS Actors__link2_description, Actors.link3_description AS Actors__link3_description, Actors.link4_description AS Actors__link4_description, Actors.link1 AS Actors__link1, Actors.link2 AS Actors__link2, Actors.link3 AS Actors__link3, Actors.link4 AS Actors__link4, Actors.beruf AS Actors__beruf, Categories.id AS Categories__id, Categories.actor_id AS Categories__actor_id, Categories.category AS Categories__category FROM actors Actors INNER JOIN categories Categories ON (Categories.category = :c0 AND Actors.id = (Categories.actor_id)) ORDER BY lastname ASC LIMIT 30 OFFSET 120', 'params' => [ ':c0' => [ 'value' => 'actors', 'type' => 'string', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Actors__id' => 'integer', 'Actors.id' => 'integer', 'id' => 'integer', 'Actors__firstname' => 'string', 'Actors.firstname' => 'string', 'firstname' => 'string', 'Actors__lastname' => 'string', 'Actors.lastname' => 'string', 'lastname' => 'string', 'Actors__birth' => 'date', 'Actors.birth' => 'date', 'birth' => 'date', 'Actors__sex' => 'string', 'Actors.sex' => 'string', 'sex' => 'string', 'Actors__height' => 'string', 'Actors.height' => 'string', 'height' => 'string', 'Actors__size' => 'string', 'Actors.size' => 'string', 'size' => 'string', 'Actors__haircolor' => 'string', 'Actors.haircolor' => 'string', 'haircolor' => 'string', 'Actors__eyecolor' => 'string', 'Actors.eyecolor' => 'string', 'eyecolor' => 'string', 'Actors__glasses' => 'integer', 'Actors.glasses' => 'integer', 'glasses' => 'integer', 'Actors__drivinglicense' => 'string', 'Actors.drivinglicense' => 'string', 'drivinglicense' => 'string', 'Actors__education' => 'text', 'Actors.education' => 'text', 'education' => 'text', 'Actors__dialects' => 'string', 'Actors.dialects' => 'string', 'dialects' => 'string', 'Actors__music' => 'string', 'Actors.music' => 'string', 'music' => 'string', 'Actors__dance' => 'string', 'Actors.dance' => 'string', 'dance' => 'string', 'Actors__sport' => 'string', 'Actors.sport' => 'string', 'sport' => 'string', 'Actors__otherskills' => 'string', 'Actors.otherskills' => 'string', 'otherskills' => 'string', 'Actors__theater' => 'text', 'Actors.theater' => 'text', 'theater' => 'text', 'Actors__location1' => 'string', 'Actors.location1' => 'string', 'location1' => 'string', 'Actors__location2' => 'string', 'Actors.location2' => 'string', 'location2' => 'string', 'Actors__accommodation' => 'string', 'Actors.accommodation' => 'string', 'accommodation' => 'string', 'Actors__homepage' => 'string', 'Actors.homepage' => 'string', 'homepage' => 'string', 'Actors__copyright1' => 'string', 'Actors.copyright1' => 'string', 'copyright1' => 'string', 'Actors__copyright2' => 'string', 'Actors.copyright2' => 'string', 'copyright2' => 'string', 'Actors__copyright3' => 'string', 'Actors.copyright3' => 'string', 'copyright3' => 'string', 'Actors__copyright4' => 'string', 'Actors.copyright4' => 'string', 'copyright4' => 'string', 'Actors__copyright5' => 'string', 'Actors.copyright5' => 'string', 'copyright5' => 'string', 'Actors__copyright6' => 'string', 'Actors.copyright6' => 'string', 'copyright6' => 'string', 'Actors__copyright7' => 'string', 'Actors.copyright7' => 'string', 'copyright7' => 'string', 'Actors__copyright8' => 'string', 'Actors.copyright8' => 'string', 'copyright8' => 'string', 'Actors__heimatdialekt' => 'string', 'Actors.heimatdialekt' => 'string', 'heimatdialekt' => 'string', 'Actors__naehe_1' => 'string', 'Actors.naehe_1' => 'string', 'naehe_1' => 'string', 'Actors__naehe_2' => 'string', 'Actors.naehe_2' => 'string', 'naehe_2' => 'string', 'Actors__alternotonhp' => 'boolean', 'Actors.alternotonhp' => 'boolean', 'alternotonhp' => 'boolean', 'Actors__accent' => 'string', 'Actors.accent' => 'string', 'accent' => 'string', 'Actors__nationality' => 'string', 'Actors.nationality' => 'string', 'nationality' => 'string', 'Actors__birth_location' => 'string', 'Actors.birth_location' => 'string', 'birth_location' => 'string', 'Actors__voice' => 'string', 'Actors.voice' => 'string', 'voice' => 'string', 'Actors__singing' => 'boolean', 'Actors.singing' => 'boolean', 'singing' => 'boolean', 'Actors__awards' => 'text', 'Actors.awards' => 'text', 'awards' => 'text', 'Actors__vimeo' => 'string', 'Actors.vimeo' => 'string', 'vimeo' => 'string', 'Actors__link1_description' => 'string', 'Actors.link1_description' => 'string', 'link1_description' => 'string', 'Actors__link2_description' => 'string', 'Actors.link2_description' => 'string', 'link2_description' => 'string', 'Actors__link3_description' => 'string', 'Actors.link3_description' => 'string', 'link3_description' => 'string', 'Actors__link4_description' => 'string', 'Actors.link4_description' => 'string', 'link4_description' => 'string', 'Actors__link1' => 'string', 'Actors.link1' => 'string', 'link1' => 'string', 'Actors__link2' => 'string', 'Actors.link2' => 'string', 'link2' => 'string', 'Actors__link3' => 'string', 'Actors.link3' => 'string', 'link3' => 'string', 'Actors__link4' => 'string', 'Actors.link4' => 'string', 'link4' => 'string', 'Actors__beruf' => 'string', 'Actors.beruf' => 'string', 'beruf' => 'string', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__actor_id' => 'integer', 'Categories.actor_id' => 'integer', 'actor_id' => 'integer', 'Categories__category' => 'string', 'Categories.category' => 'string', 'category' => 'string' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'Categories' => [ 'queryBuilder' => object(Closure) {}, 'matching' => true, 'joinType' => 'INNER' ] ], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\ActorsTable) { 'registryAlias' => 'Actors', 'table' => 'actors', 'alias' => 'Actors', 'entityClass' => 'App\Model\Entity\Actor', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'limit' => (int) 30 ]
|
|
$actors = $actors->where(['sex' => $gender]); |
|
} |
|
|
|
$this->set('actors', $this->paginate($actors)); |
|
} |
|
|
|
public function impressum() { |
|
|
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT DISTINCT Actors.id AS Actors__id, Actors.firstname AS Actors__firstname, Actors.lastname AS Actors__lastname, Actors.birth AS Actors__birth, Actors.sex AS Actors__sex, Actors.height AS Actors__height, Actors.size AS Actors__size, Actors.haircolor AS Actors__haircolor, Actors.eyecolor AS Actors__eyecolor, Actors.glasses AS Actors__glasses, Actors.drivinglicense AS Actors__drivinglicense, Actors.education AS Actors__education, Actors.dialects AS Actors__dialects, Actors.music AS Actors__music, Actors.dance AS Actors__dance, Actors.sport AS Actors__sport, Actors.otherskills AS Actors__otherskills, Actors.theater AS Actors__theater, Actors.location1 AS Actors__location1, Actors.location2 AS Actors__location2, Actors.accommodation AS Actors__accommodation, Actors.homepage AS Actors__homepage, Actors.copyright1 AS Actors__copyright1, Actors.copyright2 AS Actors__copyright2, Actors.copyright3 AS Actors__copyright3, Actors.copyright4 AS Actors__copyright4, Actors.copyright5 AS Actors__copyright5, Actors.copyright6 AS Actors__copyright6, Actors.copyright7 AS Actors__copyright7, Actors.copyright8 AS Actors__copyright8, Actors.heimatdialekt AS Actors__heimatdialekt, Actors.naehe_1 AS Actors__naehe_1, Actors.naehe_2 AS Actors__naehe_2, Actors.alternotonhp AS Actors__alternotonhp, Actors.accent AS Actors__accent, Actors.nationality AS Actors__nationality, Actors.birth_location AS Actors__birth_location, Actors.voice AS Actors__voice, Actors.singing AS Actors__singing, Actors.awards AS Actors__awards, Actors.vimeo AS Actors__vimeo, Actors.link1_description AS Actors__link1_description, Actors.link2_description AS Actors__link2_description, Actors.link3_description AS Actors__link3_description, Actors.link4_description AS Actors__link4_description, Actors.link1 AS Actors__link1, Actors.link2 AS Actors__link2, Actors.link3 AS Actors__link3, Actors.link4 AS Actors__link4, Actors.beruf AS Actors__beruf, Categories.id AS Categories__id, Categories.actor_id AS Categories__actor_id, Categories.category AS Categories__category FROM actors Actors INNER JOIN categories Categories ON (Categories.category = :c0 AND Actors.id = (Categories.actor_id)) ORDER BY lastname ASC LIMIT 30 OFFSET 120', 'params' => [ ':c0' => [ 'value' => 'actors', 'type' => 'string', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Actors__id' => 'integer', 'Actors.id' => 'integer', 'id' => 'integer', 'Actors__firstname' => 'string', 'Actors.firstname' => 'string', 'firstname' => 'string', 'Actors__lastname' => 'string', 'Actors.lastname' => 'string', 'lastname' => 'string', 'Actors__birth' => 'date', 'Actors.birth' => 'date', 'birth' => 'date', 'Actors__sex' => 'string', 'Actors.sex' => 'string', 'sex' => 'string', 'Actors__height' => 'string', 'Actors.height' => 'string', 'height' => 'string', 'Actors__size' => 'string', 'Actors.size' => 'string', 'size' => 'string', 'Actors__haircolor' => 'string', 'Actors.haircolor' => 'string', 'haircolor' => 'string', 'Actors__eyecolor' => 'string', 'Actors.eyecolor' => 'string', 'eyecolor' => 'string', 'Actors__glasses' => 'integer', 'Actors.glasses' => 'integer', 'glasses' => 'integer', 'Actors__drivinglicense' => 'string', 'Actors.drivinglicense' => 'string', 'drivinglicense' => 'string', 'Actors__education' => 'text', 'Actors.education' => 'text', 'education' => 'text', 'Actors__dialects' => 'string', 'Actors.dialects' => 'string', 'dialects' => 'string', 'Actors__music' => 'string', 'Actors.music' => 'string', 'music' => 'string', 'Actors__dance' => 'string', 'Actors.dance' => 'string', 'dance' => 'string', 'Actors__sport' => 'string', 'Actors.sport' => 'string', 'sport' => 'string', 'Actors__otherskills' => 'string', 'Actors.otherskills' => 'string', 'otherskills' => 'string', 'Actors__theater' => 'text', 'Actors.theater' => 'text', 'theater' => 'text', 'Actors__location1' => 'string', 'Actors.location1' => 'string', 'location1' => 'string', 'Actors__location2' => 'string', 'Actors.location2' => 'string', 'location2' => 'string', 'Actors__accommodation' => 'string', 'Actors.accommodation' => 'string', 'accommodation' => 'string', 'Actors__homepage' => 'string', 'Actors.homepage' => 'string', 'homepage' => 'string', 'Actors__copyright1' => 'string', 'Actors.copyright1' => 'string', 'copyright1' => 'string', 'Actors__copyright2' => 'string', 'Actors.copyright2' => 'string', 'copyright2' => 'string', 'Actors__copyright3' => 'string', 'Actors.copyright3' => 'string', 'copyright3' => 'string', 'Actors__copyright4' => 'string', 'Actors.copyright4' => 'string', 'copyright4' => 'string', 'Actors__copyright5' => 'string', 'Actors.copyright5' => 'string', 'copyright5' => 'string', 'Actors__copyright6' => 'string', 'Actors.copyright6' => 'string', 'copyright6' => 'string', 'Actors__copyright7' => 'string', 'Actors.copyright7' => 'string', 'copyright7' => 'string', 'Actors__copyright8' => 'string', 'Actors.copyright8' => 'string', 'copyright8' => 'string', 'Actors__heimatdialekt' => 'string', 'Actors.heimatdialekt' => 'string', 'heimatdialekt' => 'string', 'Actors__naehe_1' => 'string', 'Actors.naehe_1' => 'string', 'naehe_1' => 'string', 'Actors__naehe_2' => 'string', 'Actors.naehe_2' => 'string', 'naehe_2' => 'string', 'Actors__alternotonhp' => 'boolean', 'Actors.alternotonhp' => 'boolean', 'alternotonhp' => 'boolean', 'Actors__accent' => 'string', 'Actors.accent' => 'string', 'accent' => 'string', 'Actors__nationality' => 'string', 'Actors.nationality' => 'string', 'nationality' => 'string', 'Actors__birth_location' => 'string', 'Actors.birth_location' => 'string', 'birth_location' => 'string', 'Actors__voice' => 'string', 'Actors.voice' => 'string', 'voice' => 'string', 'Actors__singing' => 'boolean', 'Actors.singing' => 'boolean', 'singing' => 'boolean', 'Actors__awards' => 'text', 'Actors.awards' => 'text', 'awards' => 'text', 'Actors__vimeo' => 'string', 'Actors.vimeo' => 'string', 'vimeo' => 'string', 'Actors__link1_description' => 'string', 'Actors.link1_description' => 'string', 'link1_description' => 'string', 'Actors__link2_description' => 'string', 'Actors.link2_description' => 'string', 'link2_description' => 'string', 'Actors__link3_description' => 'string', 'Actors.link3_description' => 'string', 'link3_description' => 'string', 'Actors__link4_description' => 'string', 'Actors.link4_description' => 'string', 'link4_description' => 'string', 'Actors__link1' => 'string', 'Actors.link1' => 'string', 'link1' => 'string', 'Actors__link2' => 'string', 'Actors.link2' => 'string', 'link2' => 'string', 'Actors__link3' => 'string', 'Actors.link3' => 'string', 'link3' => 'string', 'Actors__link4' => 'string', 'Actors.link4' => 'string', 'link4' => 'string', 'Actors__beruf' => 'string', 'Actors.beruf' => 'string', 'beruf' => 'string', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__actor_id' => 'integer', 'Categories.actor_id' => 'integer', 'actor_id' => 'integer', 'Categories__category' => 'string', 'Categories.category' => 'string', 'category' => 'string' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'Categories' => [ 'queryBuilder' => object(Closure) {}, 'matching' => true, 'joinType' => 'INNER' ] ], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\ActorsTable) { 'registryAlias' => 'Actors', 'table' => 'actors', 'alias' => 'Actors', 'entityClass' => 'App\Model\Entity\Actor', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
No arguments
} |
|
|
|
$action = $controller->getAction(); |
|
$args = array_values($controller->getRequest()->getParam('pass')); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
object(Closure) { } []
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
object(App\Controller\PagesController) { paginate => [ 'limit' => (int) 30 ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } [protected] name => 'Pages' [protected] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [ [maximum depth reached] ] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [[maximum depth reached]] [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [ [maximum depth reached] ] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => true } [protected] response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\PagesController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] modelClass => 'Pages' [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
$response = new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Pages', 'action' => 'home', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'page' => '5' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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 => [ 'ajax' => false ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Pages', 'action' => 'home', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'page' => '5' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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 => [ 'ajax' => false ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Pages', 'action' => 'home', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'page' => '5' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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 => [ 'ajax' => false ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/html/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/html/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/html/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true }
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ (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 => [ 'page' => '5' ] [protected] cookies => [] [protected] _environment => [ 'GCONV_PATH' => '/usr/local/php/lib64/gconv', 'LO_PATH' => '/usr/local/php/lib64/locale', 'MAGICK_C0DER_MODULE_PATH' => '/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders', 'OPENSSL_CONF' => '/etc/ssl/openssl.cnf', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command', 'USER' => 'p495245', 'HOME' => '/home/www/p495245', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/?page=5', 'QUERY_STRING' => 'page=5', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'page=5', 'REDIRECT_URL' => '/webroot/', 'REMOTE_PORT' => '54808', 'SCRIPT_FILENAME' => '/home/www/p495245/html/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/home/www/p495245/html/', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/www/p495245/html/', 'REMOTE_ADDR' => '3.84.231.140', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '172.16.28.88', 'SERVER_NAME' => 'actors.company.at', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'HTTP_HOST' => 'actors.company.at', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'H2_STREAM_TAG' => '4143303-2436-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'actors.company.at', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '4143303-2436-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'actors.company.at', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688177.8378, 'REQUEST_TIME' => (int) 1711688177, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [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' ], '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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actors.company.at' [private] port => null [private] path => '/' [private] query => 'page=5' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [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 [protected] mergeFilesAsObjects => true } object(App\Application) { [protected] configDir => '/html/config/' [protected] plugins => object(Cake\Core\PluginCollection) { [protected] plugins => [ [maximum depth reached] ] [protected] names => [ [maximum depth reached] ] [protected] positions => [[maximum depth reached]] [protected] loopDepth => (int) -1 } [protected] controllerFactory => object(Cake\Controller\ControllerFactory) { } [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [[maximum depth reached]], '_isGlobal' => true, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' }
// 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
If you want to customize this error message, create templates/Error/error400.php