Error
PostsController could not be found.
|
public function create(ServerRequestInterface $request): Controller |
|
{ |
|
$className = $this->getControllerClass($request); |
|
if ($className === null) { |
|
throw $this->missingController($request); |
|
} |
|
|
|
$reflection = new ReflectionClass($className); |
|
if ($reflection->isAbstract()) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
'access_granted' => true,
]
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 (Router::getRequest() !== $request) { |
|
Router::setRequest($request); |
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
'access_granted' => true,
]
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
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
'access_granted' => true,
]
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
}
|
} else { |
|
//no prefix, so not need to force a login |
|
} |
|
|
|
return $handler->handle($request); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
'access_granted' => true,
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
'access_granted' => true,
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
{ |
|
//simply get the current RBAC access if the user is logged in |
|
$loggedUser = $request->getAttribute('identity'); |
|
if (!$loggedUser) { |
|
return $handler->handle($request); |
|
} |
|
//dd($loggedUser); |
|
|
|
//the user is logged in - add that access to the request |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
|
|
//pr('current_lang: '.$request->getAttribute('lang'));
|
|
//dd($request);
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'lang' => 'en',
'lang_from' => 'default_lang',
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
$return = $service->persistIdentity($request, $response, $result->getData()); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
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])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Posts',
'action' => 'view',
'pass' => [
(int) 0 => '387',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
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, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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) 8
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/lindaleith/www/www/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
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. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 8
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Authentication\Middleware\AuthenticationMiddleware) id:5 {
},
(int) 5 => object(App\Middleware\LangMiddleware) id:6 {
},
(int) 6 => object(App\Middleware\RbacMiddleware) id:7 {
},
(int) 7 => object(App\Middleware\AccessMiddleware) id:8 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'lindaleith',
'HOME' => '/home/lindaleith/',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/posts/view/387',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/posts/view/387',
'REMOTE_PORT' => '49528',
'SCRIPT_FILENAME' => '/home/lindaleith/www/www/webroot/index.php',
'SERVER_ADMIN' => 'admin@lindaleith.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/lindaleith/www/www',
'REMOTE_ADDR' => '44.222.142.210',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '192.252.149.12',
'SERVER_NAME' => 'www.lindaleith.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'www.lindaleith.com',
'HTTP_REFERER' => 'http://lindaleith.com/posts/view/387',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_ACCEPT' => '*/*',
'HOSTNAME' => 'server298.com',
'OMP_THREAD_LIMIT' => '1',
'TZ' => 'America/New_York',
'SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'SCRIPT_URL' => '/posts/view/387',
'MM_COUNTRY_NAME' => 'United States',
'MM_COUNTRY_CODE' => 'US',
'MMDB_INFO' => 'result found',
'MMDB_ADDR' => '44.222.142.210',
'UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_STATUS' => '200',
'REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_TZ' => 'America/New_York',
'REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_HOSTNAME' => 'server298.com',
'REDIRECT_REDIRECT_OMP_THREAD_LIMIT' => '1',
'REDIRECT_REDIRECT_TZ' => 'America/New_York',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://www.lindaleith.com/posts/view/387',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/posts/view/387',
'REDIRECT_REDIRECT_MM_COUNTRY_NAME' => 'United States',
'REDIRECT_REDIRECT_MM_COUNTRY_CODE' => 'US',
'REDIRECT_REDIRECT_MMDB_INFO' => 'result found',
'REDIRECT_REDIRECT_MMDB_ADDR' => '44.222.142.210',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Zgbkq6QbHSBP8XLOsLXwhQAABPU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727787.7531,
'REQUEST_TIME' => (int) 1711727787,
'argv' => [
],
'argc' => (int) 0,
'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',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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/lindaleith/www/www/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 => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => null
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:4 {
'_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()); |
|
|
In the case you tried to access a plugin controller make sure you added it to your composer file or you use the autoload option for the plugin.
Suggestion
Create the class PostsController below in file: src/Controller/PostsController.php
<?php
namespace App\Controller;
use App\Controller\AppController;
class PostsController extends AppController
{
}
If you want to customize this error message, create
templates/Error/missing_controller.php