|
public function view() |
|
{ |
|
$page = $this->getPage(); |
|
if (empty($page) && !$this->getRedirect()) { |
|
throw new RecordNotFoundException(); |
|
} |
|
if (!empty($page->redirection)) { |
|
$this->redirect($page->redirection, 301); |
|
} |
Arguments
|
* @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; |
Arguments
[
(int) 0 => 'store',
(int) 1 => 'product',
(int) 2 => '4-3-mixer',
]
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\Frontend\PagesController) id:0 {
redirect => null
isProduction => false
paginate => [
]
Redirections => object(App\Model\Table\RedirectionsTable) id:1 {
'registryAlias' => 'Redirections'
'table' => 'redirections'
'alias' => 'Redirections'
'entityClass' => 'App\Model\Entity\Redirection'
'associations' => [
]
'behaviors' => [
(int) 0 => 'Filter',
(int) 1 => 'Timestamp',
(int) 2 => 'Logger',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Pages => object(App\Model\Table\PagesTable) id:2 {
'registryAlias' => 'Pages'
'table' => 'pages'
'alias' => 'Pages'
'entityClass' => 'App\Model\Entity\Page'
'associations' => [
(int) 0 => 'Menus',
(int) 1 => 'Layouts',
(int) 2 => 'PageTypes',
(int) 3 => 'ParentPages',
(int) 4 => 'PageFiles',
(int) 5 => 'ChildPages',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Tree',
(int) 2 => 'SoftDelete',
(int) 3 => 'Logger',
(int) 4 => 'Filter',
(int) 5 => 'Upload',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
PageFiles => object(App\Model\Table\PageFilesTable) id:3 {
'registryAlias' => 'PageFiles'
'table' => 'page_files'
'alias' => 'PageFiles'
'entityClass' => 'App\Model\Entity\PageFile'
'associations' => [
(int) 0 => 'Pages',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Logger',
(int) 2 => 'Filter',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Menus => object(App\Model\Table\MenusTable) id:4 {
'registryAlias' => 'Menus'
'table' => 'menus'
'alias' => 'Menus'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Pages',
]
'behaviors' => [
(int) 0 => 'Filter',
(int) 1 => 'Timestamp',
(int) 2 => 'Logger',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Flash => object(Cake\Controller\Component\FlashComponent) id:5 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
StaticContents => object(App\Model\Table\StaticContentsTable) id:6 {
'registryAlias' => 'StaticContents'
'table' => 'static_contents'
'alias' => 'StaticContents'
'entityClass' => 'App\Model\Entity\StaticContent'
'associations' => [
(int) 0 => 'StaticContentGroups',
]
'behaviors' => [
(int) 0 => 'Filter',
(int) 1 => 'Timestamp',
(int) 2 => 'Logger',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Forms => object(App\Model\Table\FormsTable) id:7 {
'registryAlias' => 'Forms'
'table' => 'forms'
'alias' => 'Forms'
'entityClass' => 'App\Model\Entity\Form'
'associations' => [
(int) 0 => 'FormMessages',
]
'behaviors' => [
(int) 0 => 'SoftDelete',
(int) 1 => 'Timestamp',
(int) 2 => 'Logger',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
CaseStudies => object(App\Model\Table\CaseStudiesTable) id:8 {
'registryAlias' => 'CaseStudies'
'table' => 'case_studies'
'alias' => 'CaseStudies'
'entityClass' => 'App\Model\Entity\CaseStudy'
'associations' => [
]
'behaviors' => [
(int) 0 => 'Upload',
(int) 1 => 'Slugify',
(int) 2 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Articles => object(App\Model\Table\ArticlesTable) id:9 {
'registryAlias' => 'Articles'
'table' => 'articles'
'alias' => 'Articles'
'entityClass' => 'App\Model\Entity\Article'
'associations' => [
(int) 0 => 'ArticlesCategories',
(int) 1 => 'ArticlesTags',
]
'behaviors' => [
(int) 0 => 'Filter',
(int) 1 => 'Upload',
(int) 2 => 'Slugify',
(int) 3 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Breadcrumbs => object(App\Controller\Component\BreadcrumbsComponent) id:10 {
'components' => [
]
'implementedEvents' => [
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
]
}
Frontend => object(App\Controller\Component\FrontendComponent) id:11 {
'components' => [
]
'implementedEvents' => [
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
]
}
Captcha => object(App\Controller\Component\CaptchaComponent) id:12 {
'components' => [
]
'implementedEvents' => [
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'captcha' => true,
]
}
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 _responseClass => 'Cake\Http\Response'
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:20 {
'_Controller' => object(App\Controller\Frontend\PagesController) id: 0 {}
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Breadcrumbs',
(int) 2 => 'Frontend',
(int) 3 => 'Captcha',
]
'_eventManager' => object(Cake\Event\EventManager) id:21 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected _eventManager => object(Cake\Event\EventManager) id: 21 {}
protected _eventClass => 'Cake\Event\Event'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:22 {
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 => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Pages'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 22 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:23 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
|
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 => [
'pass' => [
(int) 0 => 'store',
(int) 1 => 'product',
(int) 2 => '4-3-mixer',
],
'prefix' => 'Frontend',
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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
}
|
); |
|
} |
|
$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 => [
'pass' => [
(int) 0 => 'store',
(int) 1 => 'product',
(int) 2 => '4-3-mixer',
],
'prefix' => 'Frontend',
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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 => [
'pass' => [
(int) 0 => 'store',
(int) 1 => 'product',
(int) 2 => '4-3-mixer',
],
'prefix' => 'Frontend',
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/expresshireco/public_html/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 => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/expresshireco/public_html/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'
}
}
|
$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 => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/expresshireco/public_html/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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/expresshireco/public_html/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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/expresshireco/public_html/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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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) 5
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Authentication\Middleware\AuthenticationMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Routing\Middleware\RoutingMiddleware) id:5 {
},
]
}
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 => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TZ' => 'UTC',
'REDIRECT_HANDLER' => 'application/x-httpd-ea-php80',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Zfllp4_7UIUP7AdQJ5sZuwAAAJA',
'SCRIPT_URL' => '/store/product/4-3-mixer',
'SCRIPT_URI' => 'http://www.express-hire.co.uk/store/product/4-3-mixer',
'HTTP_HOST' => 'www.express-hire.co.uk',
'HTTP_X_REAL_IP' => '44.213.99.37',
'HTTP_X_REMOTE_IP' => '172.70.42.110',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_X_FORWARDED_FOR' => '44.213.99.37',
'HTTP_CF_RAY' => '866cb2f2e8653b23-IAD',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_CF_CONNECTING_IP' => '44.213.99.37',
'HTTP_CDN_LOOP' => 'cloudflare',
'HTTP_CF_IPCOUNTRY' => 'US',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.express-hire.co.uk',
'SERVER_ADDR' => '172.31.21.180',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '172.70.42.110',
'DOCUMENT_ROOT' => '/home/expresshireco/public_html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '/cgi-sys',
'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/',
'SERVER_ADMIN' => '[email protected]',
'SCRIPT_FILENAME' => '/home/expresshireco/public_html/webroot/index.php',
'REMOTE_PORT' => '35262',
'REDIRECT_URL' => '/webroot/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/store/product/4-3-mixer',
'SCRIPT_NAME' => '/webroot/index.php',
'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php80',
'ORIG_PATH_INFO' => '/webroot/index.php',
'ORIG_PATH_TRANSLATED' => '/home/expresshireco/public_html/webroot/index.php',
'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php80',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710843303.1284,
'REQUEST_TIME' => (int) 1710843303,
'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 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #176
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 => 'www.express-hire.co.uk'
private port => null
private path => '/store/product/4-3-mixer'
private query => ''
private fragment => ''
private uriString => 'http://www.express-hire.co.uk/store/product/4-3-mixer'
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(Cake\Http\Session\DatabaseSession) id:6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
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/expresshireco/public_html/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' => [
'Controller.initialize' => '1 listener(s)',
]
'_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()); |
|
|
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table"
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
- The class for the specified table does not exist.
- The Table was created with a typo: $this->getTableLocator()->get('Articles');
- The class file has a typo in the name or incorrect namespace: class Articles extends Table
- The file containing the class has a typo or incorrect casing: Articles.php
- The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
- The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create
templates/Error/error500.php