string
to integer */ |
|
protected function checkNumeric($value): void |
|
{ |
|
if (!is_numeric($value)) { |
|
throw new InvalidArgumentException(sprintf( |
|
'Cannot convert value of type `%s` to integer', |
|
getTypeName($value) |
|
)); |
|
} |
if ($value === null || $value === '') { |
|
return null; |
|
} |
|
|
|
$this->checkNumeric($value); |
|
|
|
return (int)$value; |
|
} |
|
|
'680/175-sleepers/b1920-catnapper/sp28-2-queen'
if (is_string($type)) { |
|
$type = TypeFactory::build($type); |
|
} |
|
if ($type instanceof TypeInterface) { |
|
$value = $type->toDatabase($value, $this->_driver); |
|
$type = $type->toStatement($value, $this->_driver); |
|
} |
|
|
|
return [$value, $type]; |
'680/175-sleepers/b1920-catnapper/sp28-2-queen' object(Cake\Database\Driver\Mysql) { 'connected' => true }
if ($type === null) { |
|
$type = 'string'; |
|
} |
|
if (!is_int($type)) { |
|
[$value, $type] = $this->cast($value, $type); |
|
} |
|
$this->_statement->bindValue($column, $value, $type); |
|
} |
|
|
'680/175-sleepers/b1920-catnapper/sp28-2-queen' object(Cake\Database\Type\IntegerType) { [protected] _name => 'integer' }
return; |
|
} |
|
|
|
foreach ($bindings as $b) { |
|
$statement->bindValue($b['placeholder'], $b['value'], $b['type']); |
|
} |
|
} |
|
} |
|
|
'c0' '680/175-sleepers/b1920-catnapper/sp28-2-queen' 'integer'
public function run(Query $query): StatementInterface |
|
{ |
|
return $this->getDisconnectRetry()->run(function () use ($query) { |
|
$statement = $this->prepare($query); |
|
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
object(Cake\Database\Statement\MysqlStatement) { [protected] _statement => object(PDOStatement) { queryString => 'SELECT FilterValues.id AS `FilterValues__id`, FilterValues.filter_type_id AS `FilterValues__filter_type_id`, FilterValues.name AS `FilterValues__name`, FilterValues.value AS `FilterValues__value`, FilterValues.ordering AS `FilterValues__ordering`, product_filters.product_id AS `product_filters__product_id` FROM filter_values FilterValues LEFT JOIN product_filters ON product_filters.filter_value_id = FilterValues.id WHERE FilterValues.id in (:c0)' } [protected] _driver => object(Cake\Database\Driver\Mysql) { 'connected' => true } [protected] _hasExecuted => false [protected] _bufferResults => true }
$lastException = null; |
|
|
|
do { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
$lastException = $e; |
|
if (!$this->strategy->shouldRetry($e, $retryCount)) { |
|
throw $e; |
No arguments
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Executes a SQL statement and returns the Statement object as result. |
object(Closure) { }
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function execute(): StatementInterface |
|
{ |
|
$statement = $this->_connection->run($this); |
|
$this->_iterator = $this->_decorateStatement($statement); |
|
$this->_dirty = false; |
|
|
|
return $this->_iterator; |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT FilterValues.id AS `FilterValues__id`, FilterValues.filter_type_id AS `FilterValues__filter_type_id`, FilterValues.name AS `FilterValues__name`, FilterValues.value AS `FilterValues__value`, FilterValues.ordering AS `FilterValues__ordering`, product_filters.product_id AS `product_filters__product_id` FROM filter_values FilterValues LEFT JOIN product_filters ON product_filters.filter_value_id = FilterValues.id WHERE FilterValues.id in (:c0)', 'params' => [ ':c0' => [ 'value' => '680/175-sleepers/b1920-catnapper/sp28-2-queen', 'type' => 'integer', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'FilterValues__id' => 'integer', 'FilterValues.id' => 'integer', 'id' => 'integer', 'FilterValues__filter_type_id' => 'integer', 'FilterValues.filter_type_id' => 'integer', 'filter_type_id' => 'integer', 'FilterValues__name' => 'string', 'FilterValues.name' => 'string', 'name' => 'string', 'FilterValues__value' => 'string', 'FilterValues.value' => 'string', 'value' => 'string', 'FilterValues__ordering' => 'integer', 'FilterValues.ordering' => 'integer', 'ordering' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\FilterValuesTable) { 'registryAlias' => 'FilterValues', 'table' => 'filter_values', 'alias' => 'FilterValues', 'entityClass' => 'App\Model\Entity\FilterValue', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
/** @var \Cake\Datasource\ResultSetInterface */ |
|
return new $decorator($this->_results); |
|
} |
|
|
|
$statement = $this->getEagerLoader()->loadExternal($this, $this->execute()); |
|
|
|
return new ResultSet($this, $statement); |
|
} |
|
|
No arguments
if ($this->_cache) { |
|
$results = $this->_cache->fetch($this); |
|
} |
|
if (!isset($results)) { |
|
$results = $this->_decorateResults($this->_execute()); |
|
if ($this->_cache) { |
|
$this->_cache->store($this, $results); |
|
} |
|
} |
No arguments
'You cannot call all() on a non-select query. Use execute() instead.' |
|
); |
|
} |
|
|
|
return $this->_all(); |
|
} |
|
|
|
/** |
|
* Trigger the beforeFind event on the query's repository object. |
No arguments
* @return array |
|
*/ |
|
public function toArray(): array |
|
{ |
|
return $this->all()->toArray(); |
|
} |
|
|
|
/** |
|
* Register a new MapReduce routine to be executed on top of the database results |
No arguments
'table' => 'product_filters', |
|
'type' => 'LEFT', |
|
'conditions' => 'product_filters.filter_value_id = FilterValues.id', |
|
]) |
|
->where(['FilterValues.id IN' =>$this->request->getQuery()['search_filter']])->toArray(); |
|
|
|
$filter_type_ids = $this->FilterValues->find('list',['keyField' => 'filter_type_id','valueField' => 'filter_type_id'])->where(['FilterValues.id IN' =>$this->request->getQuery()['search_filter']])->group(["FilterValues.filter_type_id"])->toArray(); |
|
|
|
if(sizeof($filter_type_ids)>1){ |
No 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.', |
'sofa-sets'
} |
|
|
|
$action = $controller->getAction(); |
|
$args = array_values($controller->getRequest()->getParam('pass')); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
object(Closure) { } [ (int) 0 => 'sofa-sets' ]
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
object(App\Controller\ProductsController) { paginate => [] Authentication => object(Authentication\Controller\Component\AuthenticationComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } cohens_ck4_index => object(Cake\ElasticSearch\Index) { [protected] _connection => object(Cake\ElasticSearch\Datasource\Connection) {} [protected] _name => 'cohens_ck4_index' [protected] _type => 'cohens_ck4_index' [protected] _registryAlias => 'cohens_ck4_index' [protected] _documentClass => 'Cake\ElasticSearch\Document' [protected] embeds => [[maximum depth reached]] [protected] schema => null [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _rulesChecker => null [protected] _validatorClass => 'Cake\Validation\Validator' [protected] _validators => [[maximum depth reached]] } Products => object(App\Model\Table\ProductsTable) { 'registryAlias' => 'Products', 'table' => 'products', 'alias' => 'Products', 'entityClass' => 'App\Model\Entity\Product', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } FilterValues => object(App\Model\Table\FilterValuesTable) { 'registryAlias' => 'FilterValues', 'table' => 'filter_values', 'alias' => 'FilterValues', 'entityClass' => 'App\Model\Entity\FilterValue', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Products' [protected] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [ [maximum depth reached] ] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [ [maximum depth reached] ] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } [protected] response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\ProductsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] modelClass => 'Products' [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [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 ' |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'action' => 'category', 'pass' => [ (int) 0 => 'sofa-sets' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '?' => [ 'search_filter' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
$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()); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'action' => 'category', 'pass' => [ (int) 0 => 'sofa-sets' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '?' => [ 'search_filter' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'action' => 'category', 'pass' => [ (int) 0 => 'sofa-sets' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '?' => [ 'search_filter' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 4 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/lohu22qo/public_html/config' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'action' => 'category', 'pass' => [ (int) 0 => 'sofa-sets' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '?' => [ 'search_filter' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'action' => 'category', 'pass' => [ (int) 0 => 'sofa-sets' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '?' => [ 'search_filter' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 4 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/lohu22qo/public_html/config' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 4 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/lohu22qo/public_html/config' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 4 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/lohu22qo/public_html/config' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false }
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 4 [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Authentication\Middleware\AuthenticationMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'search_filter' => [ (int) 0 => '680/175-sleepers/b1920-catnapper/sp28-2-queen' ] ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'lohu22qo', 'HOME' => '/home/lohu22qo', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen', 'REDIRECT_URL' => '/webroot/products/category/sofa-sets', 'REMOTE_PORT' => '37372', 'SCRIPT_FILENAME' => '/home/lohu22qo/public_html/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@cohens.ca', 'CONTEXT_DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/lohu22qo/public_html', 'REMOTE_ADDR' => '52.91.177.91', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '162.215.212.132', 'SERVER_NAME' => 'www.cohens.ca', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'www.cohens.ca', 'HTTP_REFERER' => 'https://www.cohens.ca/en/catalog/5983-living-room/175-sleepers/b1920-catnapper/sp28-2-queen', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '824-2433-5', 'H2_STREAM_ID' => '5', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'www.cohens.ca', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '824-2433-5', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '5', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.cohens.ca', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZjCwQCbyjQ52GCj1t88QAASQI', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694603.0974, 'REQUEST_TIME' => (int) 1711694603, 'argv' => [ (int) 0 => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.cohens.ca' [private] port => null [private] path => '/products/category/sofa-sets' [private] query => 'search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' [private] fragment => '' [private] uriString => 'https://www.cohens.ca/products/category/sofa-sets?search_filter%5B%5D=680/175-sleepers/b1920-catnapper/sp28-2-queen' } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 864000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => false } object(App\Application) { [protected] configDir => '/home/lohu22qo/public_html/config' [protected] plugins => object(Cake\Core\PluginCollection) { [protected] plugins => [ [maximum depth reached] ] [protected] names => [ [maximum depth reached] ] [protected] positions => [[maximum depth reached]] [protected] loopDepth => (int) -1 } [protected] controllerFactory => object(Cake\Controller\ControllerFactory) { } [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => true, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
If you want to customize this error message, create templates/Error/error500.php