|
{ |
|
$entity = $this->first(); |
|
if (!$entity) { |
|
$table = $this->getRepository(); |
|
throw new RecordNotFoundException(sprintf( |
|
'Record not found in table "%s"', |
|
$table->getTable() |
|
)); |
|
} |
Arguments
|
$query->cache($cacheKey, $cacheConfig); |
|
} |
|
|
|
/** @psalm-suppress InvalidReturnStatement */ |
|
return $query->firstOrFail(); |
|
} |
|
|
|
/** |
|
* Handles the logic executing of a worker inside a transaction. |
|
|
|
public function viewstaff($id){ |
|
$this->loadModel('Staff'); |
|
|
|
$staff = $this->Staff->get($id); |
|
|
|
$this->set(compact('staff')); |
|
|
|
$this->viewBuilder()->disableAutoLayout(); |
|
* @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.', |
|
} |
|
if (count($passed)) { |
|
$args = array_merge($args, $passed); |
|
} |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\PagesController) id:0 {
paginate => [
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:1 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
protected ext => null
protected _renderType => null
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected _registry => object(Cake\Controller\ComponentRegistry) id:2 {
}
protected components => [
'' => [maximum depth reached],
]
protected _componentMap => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
Flash => object(Cake\Controller\Component\FlashComponent) id:3 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected _registry => object(Cake\Controller\ComponentRegistry) id: 2 {}
protected components => [
'' => [maximum depth reached],
]
protected _componentMap => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => false
}
Authentication => object(Authentication\Controller\Component\AuthenticationComponent) id:4 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.startup' => 'startup',
]
'_config' => [
'logoutRedirect' => false,
'requireIdentity' => true,
'identityAttribute' => 'identity',
'identityCheckEvent' => 'Controller.startup',
'unauthenticatedMessage' => null,
]
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected unauthenticatedActions => [
'' => [maximum depth reached],
]
protected _authentication => object(Authentication\AuthenticationService) id:5 {
}
protected _registry => object(Cake\Controller\ComponentRegistry) id: 2 {}
protected components => [
'' => [maximum depth reached],
]
protected _componentMap => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
Staff => object(App\Model\Table\StaffTable) id:7 {
'registryAlias' => 'Staff'
'table' => 'staff'
'alias' => 'Staff'
'entityClass' => 'App\Model\Entity\Staff'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
protected _table => 'staff'
protected _alias => 'Staff'
protected _connection => object(Cake\Database\Connection) id:8 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:9 {
}
protected _primaryKey => 'id'
protected _displayField => 'id'
protected _associations => object(Cake\ORM\AssociationCollection) id:10 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:11 {
}
protected _entityClass => 'App\Model\Entity\Staff'
protected _registryAlias => 'Staff'
protected _eventManager => object(Cake\Event\EventManager) id:12 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
'' => [maximum depth reached],
]
}
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:13 {
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) id:14 {
}
protected uri => object(Laminas\Diactoros\Uri) id:15 {
}
protected session => object(Cake\Http\Session) id:16 {
}
protected flash => object(Cake\Http\FlashMessage) id:17 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:18 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:19 {
}
'cacheDirectives' => [
]
'body' => ''
protected _statusCodes => [
'' => [maximum depth reached],
]
protected _mimeTypes => [
'' => [maximum depth reached],
]
protected _status => (int) 200
protected _file => null
protected _fileRange => [
'' => [maximum depth reached],
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
'' => [maximum depth reached],
]
protected _cookies => object(Cake\Http\Cookie\CookieCollection) id: 19 {}
protected _reasonPhrase => 'OK'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'' => [maximum depth reached],
]
protected headerNames => [
'' => [maximum depth reached],
]
private protocol => '1.1'
private stream => object(Laminas\Diactoros\Stream) id:20 {
}
}
protected _responseClass => 'Cake\Http\Response'
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id: 2 {}
protected plugin => null
protected _eventManager => object(Cake\Event\EventManager) id: 6 {}
protected _eventClass => 'Cake\Event\Event'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:21 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Pages'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 21 {},
(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 ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'hay2Q8sJrKHvAjlBBCde4ppO6jmHyvdyRmBCXRRJW5CvMxLkyzWI4TnxkXNJ/TsPm2inNqQ9SPeOo1ylWgU2GwUO5x2qhnUs/33dXbaplEQlBHRuIipppM5VI9f9A77SWMjwRXjIDmutXJQFk158xg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:7 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
$return = $service->persistIdentity($request, $response, $result->getData()); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'hay2Q8sJrKHvAjlBBCde4ppO6jmHyvdyRmBCXRRJW5CvMxLkyzWI4TnxkXNJ/TsPm2inNqQ9SPeOo1ylWgU2GwUO5x2qhnUs/33dXbaplEQlBHRuIipppM5VI9f9A77SWMjwRXjIDmutXJQFk158xg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:7 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'hay2Q8sJrKHvAjlBBCde4ppO6jmHyvdyRmBCXRRJW5CvMxLkyzWI4TnxkXNJ/TsPm2inNqQ9SPeOo1ylWgU2GwUO5x2qhnUs/33dXbaplEQlBHRuIipppM5VI9f9A77SWMjwRXjIDmutXJQFk158xg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:7 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'hay2Q8sJrKHvAjlBBCde4ppO6jmHyvdyRmBCXRRJW5CvMxLkyzWI4TnxkXNJ/TsPm2inNqQ9SPeOo1ylWgU2GwUO5x2qhnUs/33dXbaplEQlBHRuIipppM5VI9f9A77SWMjwRXjIDmutXJQFk158xg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'hay2Q8sJrKHvAjlBBCde4ppO6jmHyvdyRmBCXRRJW5CvMxLkyzWI4TnxkXNJ/TsPm2inNqQ9SPeOo1ylWgU2GwUO5x2qhnUs/33dXbaplEQlBHRuIipppM5VI9f9A77SWMjwRXjIDmutXJQFk158xg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'viewstaff',
'pass' => [
(int) 0 => '20',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
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. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 6
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
(int) 5 => object(Authentication\Middleware\AuthenticationMiddleware) id:6 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'polesar',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/pages/viewstaff/20',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/pages/viewstaff/20',
'REMOTE_PORT' => '25682',
'SCRIPT_FILENAME' => '/home/polesar/www/webroot/index.php',
'SERVER_ADMIN' => 'postmaster@polesantedutumulus.be',
'DOCUMENT_ROOT' => '/home/polesar/www',
'REMOTE_ADDR' => '23.22.23.162',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.31.21.43',
'SERVER_NAME' => 'polesantedutumulus.be',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_REMOTE_IP' => '23.22.23.162',
'HTTP_X_IPLB_UNIQUE_ID' => '171617A2:D982_923BD198:0050_66066A24_258CB:4F56',
'HTTP_REMOTE_PORT' => '55682',
'HTTP_FORWARDED' => 'for=23.22.23.162; proto=http; host=polesantedutumulus.be',
'HTTP_X_REMOTE_PROTO' => 'http',
'HTTP_X_REMOTE_IP' => '23.22.23.162',
'HTTP_X_REMOTE_PORT' => '55682',
'HTTP_X_FORWARDED_PORT' => '80',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_OVHREQUEST_ID' => '9a6d1131091642cd98b896eadac6770b',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_X_FORWARDED_FOR' => '23.22.23.162',
'HTTP_X_PREDICTOR' => '1',
'HTTP_HOST' => 'polesantedutumulus.be',
'ENVIRONMENT' => 'production',
'CFG_CLUSTER' => 'cluster031',
'SCRIPT_URI' => 'http://polesantedutumulus.be/pages/viewstaff/20',
'SCRIPT_URL' => '/pages/viewstaff/20',
'GEOIP_LONGITUDE' => '-77.490303',
'GEOIP_LATITUDE' => '39.046902',
'GEOIP_AREA_CODE' => '703',
'GEOIP_DMA_CODE' => '511',
'GEOIP_CITY' => 'Ashburn',
'GEOIP_REGION' => 'VA',
'GEOIP_COUNTRY_NAME' => 'United States',
'GEOIP_COUNTRY_CODE' => 'US',
'UNIQUE_ID' => 'ZgZqJOI1Y2i53alokjW0EgAAAHs',
'REDIRECT_STATUS' => '200',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711696420.7175,
'REQUEST_TIME' => (int) 1711696420,
'argv' => [
],
'argc' => (int) 0,
'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) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #138
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'polesantedutumulus.be'
private port => null
private path => '/pages/viewstaff/20'
private query => ''
private fragment => ''
private uriString => 'http://polesantedutumulus.be/pages/viewstaff/20'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/polesar/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
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) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:4 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
protected _generalManager => object(Cake\Event\EventManager) id: 4 {}
protected _listeners => [
'' => [maximum depth reached],
]
protected _isGlobal => true
protected _eventList => null
protected _trackEvents => false
}
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()); |
|
|
If you want to customize this error message, create
templates/Error/error500.php