Error: TinTucController could not be found.
public function create(ServerRequest $request, Response $response)
|
|
{
|
|
$className = $this->getControllerClass($request);
|
|
if (!$className) {
|
|
$this->missingController($request);
|
|
}
|
|
$reflection = new ReflectionClass($className);
|
|
if ($reflection->isAbstract() || $reflection->isInterface()) {
|
|
$this->missingController($request);
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
// event handler if there is one.
|
|
if ($beforeEvent->getData('controller') instanceof Controller) {
|
|
$controller = $beforeEvent->getData('controller');
|
|
} else {
|
|
$controller = $this->factory->create($request, $response);
|
|
}
|
|
|
|
$response = $this->_invoke($controller);
|
|
if ($request->getParam('return')) {
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
* @return \Psr\Http\Message\ResponseInterface
|
|
*/
|
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next)
|
|
{
|
|
return $this->getDispatcher()->dispatch($request, $response);
|
|
}
|
|
|
|
/**
|
|
* Get the ActionDispatcher.
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $next($request, $response);
|
|
}
|
|
$matching[] = $next;
|
|
$middleware = new MiddlewareQueue($matching);
|
|
$runner = new Runner();
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken();
|
|
$request = $this->_addTokenToRequest($token, $request);
|
|
$response = $this->_addTokenCookie($token, $request, $response);
|
|
|
|
return $next($request, $response);
|
|
}
|
|
$request = $this->_validateAndUnsetTokenField($request);
|
|
|
|
return $next($request, $response);
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => '8c2ce73a13ef954bd04e0f50915a1fd811716efc76e048e12b49895641255ca528bb95ece23de7200d2961ee2ff6c0350d005e7936ec873ec1bfed800350f72a' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{
|
|
$this->middleware = $middleware;
|
|
$this->index = 0;
|
|
|
|
return $this->__invoke($request, $response);
|
|
}
|
|
|
|
/**
|
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$matching[] = $next;
|
|
$middleware = new MiddlewareQueue($matching);
|
|
$runner = new Runner();
|
|
|
|
return $runner->run($middleware, $request, $response);
|
|
}
|
|
}
|
|
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] [protected] callables => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'TinTuc', 'action' => 'saiPhamHangLoatTaiCacDuAnDuongSatBiTuocQuyenChuDauTu.html', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
}
|
|
|
|
$assetFile = $this->_getAssetFile($url);
|
|
if ($assetFile === null || !file_exists($assetFile)) {
|
|
return $next($request, $response);
|
|
}
|
|
|
|
$file = new File($assetFile);
|
|
$modifiedTime = $file->lastChange();
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/
|
|
public function __invoke($request, $response, $next)
|
|
{
|
|
try {
|
|
return $next($request, $response);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, $request, $response);
|
|
} catch (Exception $exception) {
|
|
return $this->handleException($exception, $request, $response);
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index);
|
|
if ($next) {
|
|
$this->index++;
|
|
|
|
return $next($request, $response, $this);
|
|
}
|
|
|
|
// End of the queue
|
|
return $response;
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{
|
|
$this->middleware = $middleware;
|
|
$this->index = 0;
|
|
|
|
return $this->__invoke($request, $response);
|
|
}
|
|
|
|
/**
|
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
}
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
|
|
$middleware->add($this->app);
|
|
|
|
$response = $this->runner->run($middleware, $request, $response);
|
|
|
|
if (!($response instanceof ResponseInterface)) {
|
|
throw new RuntimeException(sprintf(
|
|
'Application did not create a response. Got "%s" instead.',
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'thepbacninh.com', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/thepbacninh.com/public_html', 'REMOTE_ADDR' => '18.232.113.65', 'REMOTE_PORT' => '59552', 'SERVER_ADDR' => '103.7.40.17', 'SERVER_NAME' => 'thepbacninh.com', 'SERVER_ADMIN' => 'cuongurl@gmail.com', 'SERVER_PORT' => '80', 'REQUEST_URI' => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_URL' => '/webroot/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html', 'REDIRECT_STATUS' => '200', 'LSWS_EDITION' => 'Openlitespeed 1.7.14', 'X-LSCACHE' => 'on,crawler', 'SCRIPT_FILENAME' => '/home/thepbacninh.com/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711726331.9623, 'REQUEST_TIME' => (int) 1711726331, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] base => '' [protected] webroot => '/' [protected] here => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'thepbacninh.com' [private] port => null [private] path => '/tin-tuc/sai-pham-hang-loat-tai-cac-du-an-duong-sat-bi-tuoc-quyen-chu-dau-tu.html' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server.
|
|
$server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
No arguments
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.
Error: Create the class TinTucController below in file: src/Controller/TinTucController.php
<?php
namespace App\Controller;
use App\Controller\AppController;
class TinTucController extends AppController
{
}
If you want to customize this error message, create src/Template/Error/missing_controller.ctp