throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT novels.id AS "novels__id", novels.adult AS "novels__adult", novels.title AS "novels__title", novels.score AS "novels__score", novels.created AS "novels__created", novels.story AS "novels__story", novels.characters AS "novels__characters", Novels.completion AS "Novels__completion", novels.person_id AS "novels__person_id", novels.totalscore AS "novels__totalscore", novels.maximum AS "novels__maximum", novels.category AS "novels__category", novels.novel AS "novels__novel", novels.rs AS "novels__rs", novels.modified AS "novels__modified", people.id AS "people__id", people.name AS "people__name" FROM novels Novels INNER JOIN people People ON People.id = (Novels.person_id) WHERE ((novels.parent_id) IS NULL AND category like :c0) LIMIT 5 OFFSET 5', 'params' => [ ':c0' => [ 'value' => '%%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC%', 'type' => 'text', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Novels__id' => 'integer', 'Novels.id' => 'integer', 'id' => 'integer', 'Novels__parent_id' => 'integer', 'Novels.parent_id' => 'integer', 'parent_id' => 'integer', 'Novels__person_id' => 'integer', 'Novels.person_id' => 'integer', 'person_id' => 'integer', 'Novels__title' => 'string', 'Novels.title' => 'string', 'title' => 'string', 'Novels__novel' => 'text', 'Novels.novel' => 'text', 'novel' => 'text', 'Novels__comment' => 'text', 'Novels.comment' => 'text', 'comment' => 'text', 'Novels__text' => 'text', 'Novels.text' => 'text', 'text' => 'text', 'Novels__category' => 'text', 'Novels.category' => 'text', 'category' => 'text', 'Novels__lft' => 'integer', 'Novels.lft' => 'integer', 'lft' => 'integer', 'Novels__rght' => 'integer', 'Novels.rght' => 'integer', 'rght' => 'integer', 'Novels__origin' => 'integer', 'Novels.origin' => 'integer', 'origin' => 'integer', 'Novels__origin_title' => 'text', 'Novels.origin_title' => 'text', 'origin_title' => 'text', 'Novels__parent_title' => 'text', 'Novels.parent_title' => 'text', 'parent_title' => 'text', 'Novels__maximum' => 'integer', 'Novels.maximum' => 'integer', 'maximum' => 'integer', 'Novels__ip' => 'text', 'Novels.ip' => 'text', 'ip' => 'text', 'Novels__user_ip' => 'text', 'Novels.user_ip' => 'text', 'user_ip' => 'text', 'Novels__score' => 'integer', 'Novels.score' => 'integer', 'score' => 'integer', 'Novels__totalscore' => 'integer', 'Novels.totalscore' => 'integer', 'totalscore' => 'integer', 'Novels__story' => 'integer', 'Novels.story' => 'integer', 'story' => 'integer', 'Novels__rs' => 'integer', 'Novels.rs' => 'integer', 'rs' => 'integer', 'Novels__completion' => 'integer', 'Novels.completion' => 'integer', 'completion' => 'integer', 'Novels__characters' => 'integer', 'Novels.characters' => 'integer', 'characters' => 'integer', 'Novels__adult' => 'integer', 'Novels.adult' => 'integer', 'adult' => 'integer', 'Novels__sequel' => 'integer', 'Novels.sequel' => 'integer', 'sequel' => 'integer', 'Novels__created' => 'text', 'Novels.created' => 'text', 'created' => 'text', 'Novels__modified' => 'datetime', 'Novels.modified' => 'datetime', 'modified' => 'datetime', 'People__id' => 'integer', 'People.id' => 'integer', 'People__name' => 'text', 'People.name' => 'text', 'name' => 'text', 'People__email' => 'text', 'People.email' => 'text', 'email' => 'text', 'People__sendmail' => 'integer', 'People.sendmail' => 'integer', 'sendmail' => 'integer', 'People__created' => 'datetime', 'People.created' => 'datetime' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'People' => [] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\NovelsTable) { 'registryAlias' => 'Novels', 'table' => 'novels', 'alias' => 'Novels', 'entityClass' => 'App\Model\Entity\Novel', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'limit' => (int) 5, 'contain' => [ (int) 0 => 'People' ] ]
->select(['novels.id','novels.adult','novels.title','novels.score','novels.created','novels.story','novels.characters','completion', |
|
'novels.person_id','novels.totalscore','novels.maximum','novels.category','novels.novel','novels.rs','novels.modified', |
|
'people.id','people.name']) |
|
->where(['novels.parent_id IS '=> NULL]) |
|
->Where(['category like'=>'%' . $str . '%']) |
|
); |
|
|
|
//投稿数のカウント |
|
$count_total = $this->Novels |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT novels.id AS "novels__id", novels.adult AS "novels__adult", novels.title AS "novels__title", novels.score AS "novels__score", novels.created AS "novels__created", novels.story AS "novels__story", novels.characters AS "novels__characters", Novels.completion AS "Novels__completion", novels.person_id AS "novels__person_id", novels.totalscore AS "novels__totalscore", novels.maximum AS "novels__maximum", novels.category AS "novels__category", novels.novel AS "novels__novel", novels.rs AS "novels__rs", novels.modified AS "novels__modified", people.id AS "people__id", people.name AS "people__name" FROM novels Novels INNER JOIN people People ON People.id = (Novels.person_id) WHERE ((novels.parent_id) IS NULL AND category like :c0) LIMIT 5 OFFSET 5', 'params' => [ ':c0' => [ 'value' => '%%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC%', 'type' => 'text', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Novels__id' => 'integer', 'Novels.id' => 'integer', 'id' => 'integer', 'Novels__parent_id' => 'integer', 'Novels.parent_id' => 'integer', 'parent_id' => 'integer', 'Novels__person_id' => 'integer', 'Novels.person_id' => 'integer', 'person_id' => 'integer', 'Novels__title' => 'string', 'Novels.title' => 'string', 'title' => 'string', 'Novels__novel' => 'text', 'Novels.novel' => 'text', 'novel' => 'text', 'Novels__comment' => 'text', 'Novels.comment' => 'text', 'comment' => 'text', 'Novels__text' => 'text', 'Novels.text' => 'text', 'text' => 'text', 'Novels__category' => 'text', 'Novels.category' => 'text', 'category' => 'text', 'Novels__lft' => 'integer', 'Novels.lft' => 'integer', 'lft' => 'integer', 'Novels__rght' => 'integer', 'Novels.rght' => 'integer', 'rght' => 'integer', 'Novels__origin' => 'integer', 'Novels.origin' => 'integer', 'origin' => 'integer', 'Novels__origin_title' => 'text', 'Novels.origin_title' => 'text', 'origin_title' => 'text', 'Novels__parent_title' => 'text', 'Novels.parent_title' => 'text', 'parent_title' => 'text', 'Novels__maximum' => 'integer', 'Novels.maximum' => 'integer', 'maximum' => 'integer', 'Novels__ip' => 'text', 'Novels.ip' => 'text', 'ip' => 'text', 'Novels__user_ip' => 'text', 'Novels.user_ip' => 'text', 'user_ip' => 'text', 'Novels__score' => 'integer', 'Novels.score' => 'integer', 'score' => 'integer', 'Novels__totalscore' => 'integer', 'Novels.totalscore' => 'integer', 'totalscore' => 'integer', 'Novels__story' => 'integer', 'Novels.story' => 'integer', 'story' => 'integer', 'Novels__rs' => 'integer', 'Novels.rs' => 'integer', 'rs' => 'integer', 'Novels__completion' => 'integer', 'Novels.completion' => 'integer', 'completion' => 'integer', 'Novels__characters' => 'integer', 'Novels.characters' => 'integer', 'characters' => 'integer', 'Novels__adult' => 'integer', 'Novels.adult' => 'integer', 'adult' => 'integer', 'Novels__sequel' => 'integer', 'Novels.sequel' => 'integer', 'sequel' => 'integer', 'Novels__created' => 'text', 'Novels.created' => 'text', 'created' => 'text', 'Novels__modified' => 'datetime', 'Novels.modified' => 'datetime', 'modified' => 'datetime', 'People__id' => 'integer', 'People.id' => 'integer', 'People__name' => 'text', 'People.name' => 'text', 'name' => 'text', 'People__email' => 'text', 'People.email' => 'text', 'email' => 'text', 'People__sendmail' => 'integer', 'People.sendmail' => 'integer', 'sendmail' => 'integer', 'People__created' => 'datetime', 'People.created' => 'datetime' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'People' => [] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\NovelsTable) { 'registryAlias' => 'Novels', 'table' => 'novels', 'alias' => 'Novels', 'entityClass' => 'App\Model\Entity\Novel', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], '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 (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(App\Controller\NovelsController) { autoRender => true name => 'Novels' helpers => [] request => object(Cake\Http\ServerRequest) { params => [ [maximum depth reached] ] data => [[maximum depth reached]] query => [ [maximum depth reached] ] cookies => [[maximum depth reached]] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ [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\Network\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null } 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 => [ 'limit' => (int) 5, 'contain' => [ (int) 0 => 'People' ] ] components => [] View => null plugin => null passedArgs => [] modelClass => 'Novels' viewClass => null viewVars => [] 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] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Csrf => object(Cake\Controller\Component\CsrfComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Score => object(App\Controller\Component\ScoreComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Bookmark => object(App\Controller\Component\BookmarkComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Postip => object(App\Controller\Component\PostipComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } GoogleReCAPTCHA => object(App\Controller\Component\GoogleReCAPTCHAComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Novels => object(App\Model\Table\NovelsTable) { 'registryAlias' => 'Novels', 'table' => 'novels', 'alias' => 'Novels', 'entityClass' => 'App\Model\Entity\Novel', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] _responseClass => 'Cake\Http\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\NovelsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => '\Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_eventList' => null, '_trackEvents' => false, '_generalManager' => '(object) EventManager' } [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 [private] people => object(App\Model\Table\PeopleTable) { 'registryAlias' => 'People', 'table' => 'people', 'alias' => 'People', 'entityClass' => 'App\Model\Entity\Person', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [private] Advertisements => object(App\Model\Table\AdvertisementsTable) { 'registryAlias' => 'Advertisements', 'table' => 'advertisements', 'alias' => 'Advertisements', 'entityClass' => 'App\Model\Entity\Advertisement', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [private] headerTitle => 'リレー小説投稿サイト/他人の物語の続きが自由に書ける!' [private] title => 'リレー小説投稿サイト「いっしょに作る!」/他人の物語の続きが自由に書ける!' [private] title2 => 'リレー小説投稿サイト「いっしょに作る!」' [private] description => '他の人が書いた小説の続きを自由に投稿できる小説投稿サイト。いくつもの分岐が生まれ、様々な物語を展開させることができます。続編は人気投票で、おもしろい話の順に並んでいき、もっともおもしろい話の展開を読むことができます!' [private] meta => (int) 1 [private] meta2 => (int) 2 [private] maintenance => (int) 1 [private] maintenanceText => '現在、メンテナンス中です。しばらく時間が経ってから、もう一度、アクセスしてください。' [private] excellent => (int) 10 [private] advertisements => true }
* @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) { params => [ 'controller' => 'Novels', 'action' => 'category', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ], '_ext' => null, 'isAjax' => false, '_csrfToken' => '42c91fbbe1686c9b66c630c80646a5e07bdabdc0c34fe7ca5ead2a9a7021fbf2cbb27b94a9eca8b9c7f1b22cfd19d6c5b767fb13b7828c1e6e8d285ab97c63e5', 'paging' => [ 'Novels' => [ [maximum depth reached] ], (int) 0 => false ] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'controller' => 'Novels', 'action' => 'category', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ], '_ext' => null, 'isAjax' => false, '_csrfToken' => '42c91fbbe1686c9b66c630c80646a5e07bdabdc0c34fe7ca5ead2a9a7021fbf2cbb27b94a9eca8b9c7f1b22cfd19d6c5b767fb13b7828c1e6e8d285ab97c63e5', 'paging' => [ 'Novels' => [ [maximum depth reached] ], (int) 0 => false ] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { params => [ 'controller' => 'Novels', 'action' => 'category', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ], '_ext' => null, 'isAjax' => false, '_csrfToken' => '42c91fbbe1686c9b66c630c80646a5e07bdabdc0c34fe7ca5ead2a9a7021fbf2cbb27b94a9eca8b9c7f1b22cfd19d6c5b767fb13b7828c1e6e8d285ab97c63e5', 'paging' => [ 'Novels' => [ [maximum depth reached] ], (int) 0 => false ] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'controller' => 'Novels', 'action' => 'category', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ], '_ext' => null, 'isAjax' => false, '_csrfToken' => '42c91fbbe1686c9b66c630c80646a5e07bdabdc0c34fe7ca5ead2a9a7021fbf2cbb27b94a9eca8b9c7f1b22cfd19d6c5b767fb13b7828c1e6e8d285ab97c63e5', 'paging' => [ 'Novels' => [ [maximum depth reached] ], (int) 0 => false ] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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 (Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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' => '' }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$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 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => '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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [ 'Search' => '%E3%83%95%E3%82%A1%E3%83%B3%E3%82%BF%E3%82%B8%E3%83%BC', 'page' => '2' ] cookies => [] url => 'novels/category' base => '/novel' webroot => '/novel/' here => '/novel/novels/category' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVr7afQ1io__87oBq4AOQAAAI0', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '35.175.172.94', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.175.172.94', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'REMOTE_PORT' => '52116', 'REDIRECT_URL' => '/novel/webroot/index.php', 'REDIRECT_QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'REQUEST_URI' => '/novel/novels/category?Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2', 'SCRIPT_NAME' => '/novel/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/novel/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/novel/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/novel/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711631341.4164, 'REQUEST_TIME' => (int) 1711631341, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/novel' webroot => '/novel/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/novels/category' [private] query => 'Search=%25E3%2583%2595%25E3%2582%25A1%25E3%2583%25B3%25E3%2582%25BF%25E3%2582%25B8%25E3%2583%25BC&page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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
If you want to customize this error message, create src/Template/Error/error400.ctp