throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(App\Model\Table\ProductsTable) { 'registryAlias' => 'Products', 'table' => 'products', 'alias' => 'Products', 'entityClass' => 'App\Model\Entity\Product', 'associations' => [ (int) 0 => 'makers', (int) 1 => 'genres', (int) 2 => 'files', (int) 3 => 'prices' ], 'behaviors' => [ (int) 0 => 'Timestamp' ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [ 'contain' => [ (int) 0 => 'Makers', (int) 1 => 'Genres', (int) 2 => 'Files' ], 'conditions' => [ 'Genres.id IN' => [ (int) 0 => '9' ], (int) 0 => [ 'Makers.id IN' => [ (int) 0 => '80' ] ] ], 'order' => [ 'Products.releaseDate' => 'DESC' ] ]
'conditions' => $conditions, |
|
'order' => ['Products.releaseDate' => 'DESC'], //発売日降順 |
|
]; |
|
|
|
$products = $this->paginate($this->Products); |
|
|
|
$options = [ |
|
'type' => $type, |
|
'target' => $target, |
object(App\Model\Table\ProductsTable) { 'registryAlias' => 'Products', 'table' => 'products', 'alias' => 'Products', 'entityClass' => 'App\Model\Entity\Product', 'associations' => [ (int) 0 => 'makers', (int) 1 => 'genres', (int) 2 => 'files', (int) 3 => 'prices' ], 'behaviors' => [ (int) 0 => 'Timestamp' ], 'defaultConnection' => 'default', 'connectionName' => 'default' }
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\ProductsController) { prefix => false controller => 'Products' action => 'index' parameter => null user => null menus => null buttons => null helpers => [] 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] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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 [private] deprecatedProperties => [ [maximum depth reached] ] } 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' => '' } paginate => [ 'contain' => [ (int) 0 => 'Makers', (int) 1 => 'Genres', (int) 2 => 'Files' ], 'conditions' => [ 'Genres.id IN' => [ [maximum depth reached] ], (int) 0 => [ [maximum depth reached] ] ], 'order' => [ 'Products.releaseDate' => 'DESC' ] ] components => [] View => null passedArgs => [] modelClass => 'Products' viewClass => null viewVars => [] Security => object(Cake\Controller\Component\SecurityComponent) { '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] ] } ActionUsers => object(App\Model\Table\ActionUsersTable) { 'registryAlias' => 'ActionUsers', 'table' => 'action_users', 'alias' => 'ActionUsers', 'entityClass' => 'App\Model\Entity\ActionUser', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } MenuTrees => object(App\Model\Table\MenuTreesTable) { 'registryAlias' => 'MenuTrees', 'table' => 'menu_trees', 'alias' => 'MenuTrees', 'entityClass' => 'App\Model\Entity\MenuTree', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Buttons => object(App\Model\Table\ButtonsTable) { 'registryAlias' => 'Buttons', 'table' => 'buttons', 'alias' => 'Buttons', 'entityClass' => 'App\Model\Entity\Button', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } MyMenu => object(App\Controller\Component\MyMenuComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Actions => object(App\Model\Table\ActionsTable) { 'registryAlias' => 'Actions', 'table' => 'actions', 'alias' => 'Actions', 'entityClass' => 'App\Model\Entity\Action', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Tenants => object(App\Model\Table\TenantsTable) { 'registryAlias' => 'Tenants', 'table' => 'tenants', 'alias' => 'Tenants', 'entityClass' => 'App\Model\Entity\Tenant', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } MyAuth => object(App\Controller\Component\MyAuthComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } AuthActions => object(App\Model\Table\AuthActionsTable) { 'registryAlias' => 'AuthActions', 'table' => 'auth_actions', 'alias' => 'AuthActions', 'entityClass' => 'App\Model\Entity\AuthAction', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Maintenances => object(Cake\ORM\Table) { 'registryAlias' => 'Maintenances', 'table' => 'maintenances', 'alias' => 'Maintenances', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Users => object(App\Model\Table\UsersTable) { 'registryAlias' => 'Users', 'table' => 'users', 'alias' => 'Users', 'entityClass' => 'App\Model\Entity\User', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } MyUser => object(App\Controller\Component\MyUserComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } MyLib => object(App\Controller\Component\MyLibComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } MyIO => object(App\Controller\Component\MyIOComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [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' } Genres => object(App\Model\Table\GenresTable) { 'registryAlias' => 'Genres', 'table' => 'genres', 'alias' => 'Genres', 'entityClass' => 'App\Model\Entity\Genre', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Makers => object(App\Model\Table\MakersTable) { 'registryAlias' => 'Makers', 'table' => 'makers', 'alias' => 'Makers', 'entityClass' => 'App\Model\Entity\Maker', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Files => object(App\Model\Table\FilesTable) { 'registryAlias' => 'Files', 'table' => 'files', 'alias' => 'Files', 'entityClass' => 'App\Model\Entity\File', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Prices => object(App\Model\Table\PricesTable) { 'registryAlias' => 'Prices', 'table' => 'prices', 'alias' => 'Prices', 'entityClass' => 'App\Model\Entity\Price', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } [protected] name => 'Products' [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] _validViewOptions => [ (int) 0 => 'passedArgs' ] [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] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [ [maximum depth reached] ] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null, '_csrfToken' => 'd250aa88ede3a7170a227d3ce38722820338cdb9d64e4851405cc1bf8eedc316cd560d1e82d5217dbabeaf334efa00094b01777e67a5e0269ae6ded568963699' ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'requested' => 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 => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null, '_csrfToken' => 'd250aa88ede3a7170a227d3ce38722820338cdb9d64e4851405cc1bf8eedc316cd560d1e82d5217dbabeaf334efa00094b01777e67a5e0269ae6ded568963699' ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'requested' => 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 => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null, '_csrfToken' => 'd250aa88ede3a7170a227d3ce38722820338cdb9d64e4851405cc1bf8eedc316cd560d1e82d5217dbabeaf334efa00094b01777e67a5e0269ae6ded568963699' ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'requested' => 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 => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null, '_csrfToken' => 'd250aa88ede3a7170a227d3ce38722820338cdb9d64e4851405cc1bf8eedc316cd560d1e82d5217dbabeaf334efa00094b01777e67a5e0269ae6ded568963699' ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'requested' => 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 => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null, '_csrfToken' => 'd250aa88ede3a7170a227d3ce38722820338cdb9d64e4851405cc1bf8eedc316cd560d1e82d5217dbabeaf334efa00094b01777e67a5e0269ae6ded568963699' ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'requested' => 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 => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] [protected] callables => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Products', 'pass' => [], 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:controller', '?' => [ 'genre' => [ [maximum depth reached] ], 'page' => '4', 'maker' => [ [maximum depth reached] ] ], '_ext' => null ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'genre' => [ (int) 0 => '9' ], 'page' => '4', 'maker' => [ (int) 0 => '80' ] ] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'gamecue.info', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'gamecue.info', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'gamecue.info', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'gamecue.info', 'SERVER_ADDR' => '172.31.248.197', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.91.43.22', 'DOCUMENT_ROOT' => '/home/22_lassa_user/www/gamecue.info/app/webroot', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/home/22_lassa_user/www/gamecue.info/app/webroot/index.php', 'REMOTE_PORT' => '15373', 'REDIRECT_QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REDIRECT_URL' => '/products/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'genre%5B0%5D=9&page=4&maker[]=80', 'REQUEST_URI' => '/products/?genre%5B0%5D=9&page=4&maker[]=80', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711348.957, 'REQUEST_TIME' => (int) 1711711348, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/' [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'gamecue.info' [private] port => null [private] path => '/products/' [private] query => 'genre%5B0%5D=9&page=4&maker%5B%5D=80' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
( ! ) Xdebug: user triggered in /home/22_lassa_user/www/gamecue.info/app/src/Template/Error/error400.ctp on line 29 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 358648 | {main}( ) | .../index.php:0 |
2 | 0.0028 | 630584 | Cake\Http\Server->run( ) | .../index.php:40 |
3 | 0.0117 | 1270840 | Cake\Http\Runner->run( ) | .../Server.php:98 |
4 | 0.0117 | 1270840 | Cake\Http\Runner->__invoke( ) | .../Runner.php:51 |
5 | 0.0117 | 1271216 | Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke( ) | .../Runner.php:65 |
6 | 0.0747 | 2956648 | Cake\Error\Middleware\ErrorHandlerMiddleware->handleException( ) | .../ErrorHandlerMiddleware.php:98 |
7 | 0.0765 | 2982032 | Cake\Error\ExceptionRenderer->render( ) | .../ErrorHandlerMiddleware.php:116 |
8 | 0.0772 | 3064384 | Cake\Error\ExceptionRenderer->_outputMessage( ) | .../ExceptionRenderer.php:244 |
9 | 0.0772 | 3064384 | App\Controller\ErrorController->render( ) | .../ExceptionRenderer.php:369 |
10 | 0.0811 | 3232296 | App\View\AppView->render( ) | .../Controller.php:791 |
11 | 0.0813 | 3233616 | App\View\AppView->_render( ) | .../View.php:880 |
12 | 0.0814 | 3233616 | App\View\AppView->_evaluate( ) | .../View.php:1380 |
13 | 0.0815 | 3250552 | include( '/home/22_lassa_user/www/gamecue.info/app/src/Template/Error/error400.ctp' ) | .../View.php:1419 |
14 | 0.0819 | 3267768 | xdebug_print_function_stack ( ) | .../error400.ctp:29 |
If you want to customize this error message, create src/Template/Error/error400.ctp