Warning (2)
: session_start(): Unable to clear session lock record [in
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line
366]
Code
if (!session_start()) {
throw new CakeException('Could not start the session');
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line 366
Cake\Http\Session->start() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line 451
Cake\Http\Session->read() /home/ec-masters/forum-cakephp/src/Middleware/JwtAuthMiddleware.php, line 33
App\Middleware\JwtAuthMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 71
Cake\Routing\Middleware\AssetMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/src/Middleware/HostHeaderMiddleware.php, line 35
App\Middleware\HostHeaderMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Server.php, line 98
Cake\Http\Server->run() /home/ec-masters/forum-cakephp/webroot/index.php, line 37
[main]
Warning (2)
: session_start(): Failed to read session data: memcached (path: 54.248.37.87:11211) [in
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line
366]
Code
if (!session_start()) {
throw new CakeException('Could not start the session');
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line 366
Cake\Http\Session->start() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Session.php, line 451
Cake\Http\Session->read() /home/ec-masters/forum-cakephp/src/Middleware/JwtAuthMiddleware.php, line 33
App\Middleware\JwtAuthMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 71
Cake\Routing\Middleware\AssetMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/src/Middleware/HostHeaderMiddleware.php, line 35
App\Middleware\HostHeaderMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Server.php, line 98
Cake\Http\Server->run() /home/ec-masters/forum-cakephp/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file={$file} line={$line}";
trigger_error($message, E_USER_WARNING);
}
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /home/ec-masters/forum-cakephp/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
158]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 158
Cake\Http\ResponseEmitter->emitStatusLine() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /home/ec-masters/forum-cakephp/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
191]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 191
Cake\Http\ResponseEmitter->emitHeaders() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /home/ec-masters/forum-cakephp/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /home/ec-masters/forum-cakephp/webroot/index.php, line 37
[main]
CORE/src/Http/Session.php at line 367
(edit)
|
return false;
|
|
}
|
|
|
|
if (!session_start()) {
|
|
throw new CakeException('Could not start the session');
|
|
}
|
|
|
|
$this->_started = true;
|
|
|
-
|
*/
|
|
public function read(?string $name = null, mixed $default = null): mixed
|
|
{
|
|
if ($this->_hasSession() && !$this->started()) {
|
|
$this->start();
|
|
}
|
|
|
|
if (!isset($_SESSION)) {
|
|
return $default;
|
Toggle Arguments
-
|
if (!$session) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$jwtData = $session->read(self::SESSION_KEY);
|
|
if (!is_array($jwtData) || empty($jwtData['access_token'])) {
|
|
// トークンなし → ゲストとして通過
|
|
return $handler->handle($request);
|
|
}
|
Toggle Arguments
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
],
'controller' => 'Forum',
'action' => 'newComments',
'plugin' => null,
'_matchedRoute' => '/forum/new-comments',
'?' => [
'page' => '730',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
],
'controller' => 'Forum',
'action' => 'newComments',
'plugin' => null,
'_matchedRoute' => '/forum/new-comments',
'?' => [
'page' => '730',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
],
'controller' => 'Forum',
'action' => 'newComments',
'plugin' => null,
'_matchedRoute' => '/forum/new-comments',
'?' => [
'page' => '730',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
],
'controller' => 'Forum',
'action' => 'newComments',
'plugin' => null,
'_matchedRoute' => '/forum/new-comments',
'?' => [
'page' => '730',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
],
'controller' => 'Forum',
'action' => 'newComments',
'plugin' => null,
'_matchedRoute' => '/forum/new-comments',
'?' => [
'page' => '730',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$url = $request->getUri()->getPath();
|
|
if (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
return $handler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (Configure::read('debug')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$fullBaseUrl = Configure::read('App.fullBaseUrl');
|
|
if (!$fullBaseUrl) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
try {
|
|
return $handler->handle($request);
|
|
} catch (RedirectException $exception) {
|
|
return $this->handleRedirect($exception);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
|
|
|
|
$response = $this->runner->run($middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 6
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(App\Middleware\HostHeaderMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\BodyParserMiddleware) id:5 {
},
(int) 5 => object(App\Middleware\JwtAuthMiddleware) id:6 {
},
(int) 6 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:7 {
},
]
protected container => object(Cake\Core\Container) id:8 {
protected delegates => [
'' => [maximum depth reached],
]
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:9 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:10 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:11 {
}
protected defaultToShared => false
protected defaultToOverwrite => false
protected eventDispatcher => object(League\Container\Event\EventDispatcher) id:12 {
}
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'page' => '730',
]
protected cookies => [
'csrfToken' => 'oBkIid3gIwFspsisa+mSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE=',
'PHPSESSID' => 'dvpa79m96u25p8p9kgr2jm86mv',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/forum/new-comments?page=730',
'QUERY_STRING' => 'page=730',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'page=730',
'REDIRECT_URL' => '/forum/new-comments',
'REMOTE_PORT' => '64914',
'SCRIPT_FILENAME' => '/home/ec-masters/forum-cakephp/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/ec-masters/forum-cakephp/webroot',
'REMOTE_ADDR' => '216.73.217.108',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.15.90',
'SERVER_NAME' => 'forum-debug-cakephp.ec-masters.net',
'SERVER_SOFTWARE' => 'Apache/2.4.52 () OpenSSL/1.0.2k-fips PHP/5.6.40',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'forum-debug-cakephp.ec-masters.net',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'csrfToken=oBkIid3gIwFspsisa%2BmSgWE5MDMzMzlkOTY0ZGJmNTFjMTRlYjUwOTgxNzMzNWFiZWQzZmM4NGE%3D; PHPSESSID=dvpa79m96u25p8p9kgr2jm86mv',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'H2_STREAM_TAG' => '334-17',
'H2_STREAM_ID' => '17',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'HTTPS' => 'on',
'UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'REDIRECT_STATUS' => '200',
'REDIRECT_H2_STREAM_TAG' => '334-17',
'REDIRECT_H2_STREAM_ID' => '17',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'forum-debug-cakephp.ec-masters.net',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'ajPuRtug3VdX8kV6qSO0zgABTgE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1781788230.815,
'REQUEST_TIME' => (int) 1781788230,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #154
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'forum-debug-cakephp.ec-masters.net'
private port => null
private path => '/forum/new-comments'
private query => 'page=730'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 2592000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/ec-masters/forum-cakephp/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id:2 {
protected delegates => [
'' => [maximum depth reached],
]
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:3 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:4 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:5 {
}
protected defaultToShared => false
protected defaultToOverwrite => false
protected eventDispatcher => object(League\Container\Event\EventDispatcher) id:6 {
}
}
protected _eventManager => object(Cake\Event\EventManager) id:7 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server.
|
|
$server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php