Error: HomesController could not be found.
} |
|
|
|
$className = App::className($pluginPath . $controller, $namespace, 'Controller'); |
|
if (!$className) { |
|
return $this->missingController($request); |
|
} |
|
$reflection = new ReflectionClass($className); |
|
if ($reflection->isAbstract() || $reflection->isInterface()) { |
|
return $this->missingController($request); |
object(Cake\Network\Request) { params => [ 'controller' => 'Homes', 'action' => 'view', 'pass' => [ (int) 0 => '1565' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => 'homes/view/1565' base => '' webroot => '/' here => '/homes/view/1565' trustProxy => false [protected] _environment => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => 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 ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '604800' [protected] _isCLI => false } }
// event handler if there is one. |
|
if (isset($beforeEvent->data['controller'])) { |
|
$controller = $beforeEvent->data['controller']; |
|
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
object(Cake\Network\Request) { params => [ 'controller' => 'Homes', 'action' => 'view', 'pass' => [ (int) 0 => '1565' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => 'homes/view/1565' base => '' webroot => '/' here => '/homes/view/1565' trustProxy => false [protected] _environment => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => 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 ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '604800' [protected] _isCLI => false } } object(Cake\Network\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$cakeRequest = RequestTransformer::toCake($request); |
|
$cakeResponse = ResponseTransformer::toCake($response); |
|
|
|
// Dispatch the request/response to CakePHP |
|
$cakeResponse = $this->getDispatcher()->dispatch($cakeRequest, $cakeResponse); |
|
|
|
// Convert the response back into a PSR7 object. |
|
return ResponseTransformer::toPsr($cakeResponse); |
|
} |
object(Cake\Network\Request) { params => [ 'controller' => 'Homes', 'action' => 'view', 'pass' => [ (int) 0 => '1565' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => 'homes/view/1565' base => '' webroot => '/' here => '/homes/view/1565' trustProxy => false [protected] _environment => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => 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 ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '604800' [protected] _isCLI => false } } object(Cake\Network\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'controller' => 'Homes', 'action' => 'view', 'pass' => [ [maximum depth reached] ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'controller' => 'Homes', 'action' => 'view', 'pass' => [ [maximum depth reached] ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } 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); |
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } 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(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } 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(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
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 => 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(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'host' => [ (int) 0 => 'www.i-select.jp' ], 'x-real-ip' => [ (int) 0 => '35.170.54.171' ], 'listen-ipaddr' => [ (int) 0 => '219.94.163.48' ], 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ] ] [protected] headerNames => [ 'host' => 'host', 'x-real-ip' => 'x-real-ip', 'listen-ipaddr' => 'listen-ipaddr', 'accept' => 'accept', 'user-agent' => 'user-agent' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'PHPRC' => '/home/i-select/www', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.i-select.jp', 'HTTP_X_REAL_IP' => '35.170.54.171', 'HTTP_LISTEN_IPADDR' => '219.94.163.48', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.i-select.jp', 'SERVER_ADDR' => '100.64.0.60', 'SERVER_PORT' => '80', 'REMOTE_HOST' => 'ec2-35-170-54-171.compute-1.amazonaws.com', 'REMOTE_ADDR' => '35.170.54.171', 'DOCUMENT_ROOT' => '/home/i-select/www/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/i-select/www/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/i-select/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/homes/view/1565', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/homes/view/1565', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711711597.2772, 'REQUEST_TIME' => (int) 1711711597, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.i-select.jp' [private] port => null [private] path => '/homes/view/1565' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$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
Error: Create the class HomesController below in file: src/Controller/HomesController.php
<?php
namespace App\Controller;
use App\Controller\AppController;
class HomesController extends AppController
{
}
If you want to customize this error message, create src/Template/Error/missing_controller.ctp