Warning (2)
: session_write_close() [<a href='https://secure.php.net/function.session-write-close'>function.session-write-close</a>]: Write failed: No space left on device (28) [in
/home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line
393]
Code
if (!session_write_close()) {
throw new RuntimeException('Could not close the session');
session_write_close [internal], line ??
Cake\Http\Session::close() /home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393
Cake\Http\Server::run() /home/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 93
[main] /home/live2480/domains/dpsound.vn/public_html/index.php, line 35
Warning (2)
: session_write_close() [<a href='https://secure.php.net/function.session-write-close'>function.session-write-close</a>]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () [in
/home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line
393]
Code
if (!session_write_close()) {
throw new RuntimeException('Could not close the session');
session_write_close [internal], line ??
Cake\Http\Session::close() /home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393
Cake\Http\Server::run() /home/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 93
[main] /home/live2480/domains/dpsound.vn/public_html/index.php, line 35
Warning (512)
: Unable to emit headers. Headers sent in file=/home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in
/home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
71]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live2480/domains/dpsound.vn/public_html/index.php, line 35
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in
/home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
168]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
header [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live2480/domains/dpsound.vn/public_html/index.php, line 35
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in
/home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
197]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() /home/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live2480/domains/dpsound.vn/public_html/index.php, line 35
|
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
Arguments
[
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'live2480',
'password' => 'tuqgy0x9j1bcn8alp7r2',
'database' => 'live2480_dpsoundvn',
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
object(Cake\Database\Schema\TableSchema) id:0 {
'table' => 'links'
'columns' => [
]
'indexes' => [
]
'constraints' => [
]
'options' => [
]
'typeMap' => [
]
'temporary' => false
}
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
Arguments
[
'forceRefresh' => false,
]
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\LinksTable) id:0 {
'registryAlias' => 'Links'
'table' => 'links'
'alias' => 'Links'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Products',
(int) 1 => 'Articles',
(int) 2 => 'Authors',
(int) 3 => 'Categories',
(int) 4 => 'Brands',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}
object(App\Model\Table\LinksTable) id:0 {
'registryAlias' => 'Links'
'table' => 'links'
'alias' => 'Links'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Products',
(int) 1 => 'Articles',
(int) 2 => 'Authors',
(int) 3 => 'Categories',
(int) 4 => 'Brands',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
public function getLanguageByUrl($url = null)
|
|
{
|
|
if(empty($url)) return null;
|
|
|
|
$link = $this->find()->where([
|
|
'deleted' => 0,
|
|
'url' => trim($url)
|
|
])->select(['lang'])->first();
|
|
|
|
$request->getSession()->write(LANG_FRONTEND, $lang);
|
|
}
|
|
|
|
if (!empty($url)) {
|
|
$language = TableRegistry::get('Links')->getLanguageByUrl($url);
|
|
}
|
|
|
|
if (!empty($language) && $lang != $language) {
|
|
$lang = $language;
|
Arguments
'loa-hoi-truong-jbl-jrx-115'
|
}
|
|
|
|
$url = !empty($this->request->getUri()) ? substr($this->request->getUri()->getPath(), 1) : null;
|
|
$url = !empty($url) ? urldecode($url) : '';
|
|
$language = $this->loadComponent('System')->getLanguageFrontend($url);
|
|
if(empty($language)) die('Không lấy được thông tin ngôn ngữ của Website');
|
|
|
|
// currency
|
|
$currency_default = TableRegistry::get('Currencies')->getDefaultCurrency();
|
Arguments
'loa-hoi-truong-jbl-jrx-115'
|
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = (array)$event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
Arguments
[
(int) 0 => object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:1 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:4 {
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:6 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
'' => [maximum depth reached],
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
},
(int) 1 => 'beforeFilter',
]
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
} |
|
|
|
/** @var \Cake\Event\EventInterface $event */ |
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
* @return \Psr\Http\Message\ResponseInterface|null |
|
*/ |
|
public function startupProcess(): ?ResponseInterface |
|
{ |
|
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof ResponseInterface) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
|
$controller = $this->controller; |
|
/** @psalm-suppress ArgumentTypeCoercion */ |
|
$controller->setRequest($request); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:1 {
'components' => [
(int) 0 => 'System',
(int) 1 => 'Utilities',
]
'implementedEvents' => [
]
'_config' => [
]
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
}
protected uri => object(Cake\Http\Uri) id:4 {
}
protected session => object(Cake\Http\Session) id:5 {
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:7 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:8 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:9 {
'_loaded' => [
(int) 0 => 'System',
]
'_Controller' => object(App\Controller\PageController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:10 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 10 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:11 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 11 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 1
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(Cake\Http\Runner) id:2 {
protected queue => object(Cake\Http\MiddlewareQueue) id:3 {
}
protected fallbackHandler => object(App\Application) id:4 {
}
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 1
protected queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:1 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 3
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\PageController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server.
|
|
$server = new Server(new Application($core_path . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
|
$connection = $this->_driver->getConnection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
|
$statement = $this->prepare($sql); |
|
if (!empty($params)) { |
|
$statement->bind($params, $types); |
|
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
{ |
|
$this->numRetries = 0; |
|
while (true) { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
if ( |
|
$this->numRetries < $this->maxRetries && |
|
$this->strategy->shouldRetry($e, $this->numRetries) |
|
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Compiles a Query object into a SQL string according to the dialect for this |
|
if (empty($sql)) { |
|
return; |
|
} |
|
try { |
|
$statement = $this->_connection->execute($sql, $params); |
|
} catch (PDOException $e) { |
|
throw new DatabaseException($e->getMessage(), 500, $e); |
|
} |
|
/** @psalm-suppress PossiblyFalseIterator */ |
Arguments
'SHOW FULL COLUMNS FROM `links`'
|
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
Arguments
[
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'live2480',
'password' => 'tuqgy0x9j1bcn8alp7r2',
'database' => 'live2480_dpsoundvn',
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
object(Cake\Database\Schema\TableSchema) id:0 {
'table' => 'links'
'columns' => [
]
'indexes' => [
]
'constraints' => [
]
'options' => [
]
'typeMap' => [
]
'temporary' => false
}
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
Arguments
[
'forceRefresh' => false,
]
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\LinksTable) id:0 {
'registryAlias' => 'Links'
'table' => 'links'
'alias' => 'Links'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Products',
(int) 1 => 'Articles',
(int) 2 => 'Authors',
(int) 3 => 'Categories',
(int) 4 => 'Brands',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}
object(App\Model\Table\LinksTable) id:0 {
'registryAlias' => 'Links'
'table' => 'links'
'alias' => 'Links'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Products',
(int) 1 => 'Articles',
(int) 2 => 'Authors',
(int) 3 => 'Categories',
(int) 4 => 'Brands',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
public function getLanguageByUrl($url = null)
|
|
{
|
|
if(empty($url)) return null;
|
|
|
|
$link = $this->find()->where([
|
|
'deleted' => 0,
|
|
'url' => trim($url)
|
|
])->select(['lang'])->first();
|
|
|
|
$request->getSession()->write(LANG_FRONTEND, $lang);
|
|
}
|
|
|
|
if (!empty($url)) {
|
|
$language = TableRegistry::get('Links')->getLanguageByUrl($url);
|
|
}
|
|
|
|
if (!empty($language) && $lang != $language) {
|
|
$lang = $language;
|
Arguments
'loa-hoi-truong-jbl-jrx-115'
|
}
|
|
|
|
$url = !empty($this->request->getUri()) ? substr($this->request->getUri()->getPath(), 1) : null;
|
|
$url = !empty($url) ? urldecode($url) : '';
|
|
$language = $this->loadComponent('System')->getLanguageFrontend($url);
|
|
if(empty($language)) die('Không lấy được thông tin ngôn ngữ của Website');
|
|
|
|
// currency
|
|
$currency_default = TableRegistry::get('Currencies')->getDefaultCurrency();
|
Arguments
'loa-hoi-truong-jbl-jrx-115'
|
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = (array)$event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
Arguments
[
(int) 0 => object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:1 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:4 {
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:6 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
'' => [maximum depth reached],
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
},
(int) 1 => 'beforeFilter',
]
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
} |
|
|
|
/** @var \Cake\Event\EventInterface $event */ |
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:2 {
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:5 {
}
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:7 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}
|
* @return \Psr\Http\Message\ResponseInterface|null |
|
*/ |
|
public function startupProcess(): ?ResponseInterface |
|
{ |
|
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof ResponseInterface) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
|
$controller = $this->controller; |
|
/** @psalm-suppress ArgumentTypeCoercion */ |
|
$controller->setRequest($request); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
System => object(App\Controller\Component\SystemComponent) id:1 {
'components' => [
(int) 0 => 'System',
(int) 1 => 'Utilities',
]
'implementedEvents' => [
]
'_config' => [
]
}
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
}
protected uri => object(Cake\Http\Uri) id:4 {
}
protected session => object(Cake\Http\Session) id:5 {
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:7 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:8 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:9 {
'_loaded' => [
(int) 0 => 'System',
]
'_Controller' => object(App\Controller\PageController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:10 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 10 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:11 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 11 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'mXDg5fqjV9EhHa1h4VmnCBq7WNqavLEUuf7Y5BJcaPvZv4znCFJX4XdfOtOMdeIt7WQpClUCQjQiD2IiYF7A4LY8lEMoYV4ZKIk87quIiHKIz+HcKmRdy+iLvdMxYTWCQT0P6rQX1k6MXRo/MzJ1UA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 1
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(Cake\Http\Runner) id:2 {
protected queue => object(Cake\Http\MiddlewareQueue) id:3 {
}
protected fallbackHandler => object(App\Application) id:4 {
}
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 1
protected queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:1 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'loa-hoi-truong-jbl-jrx-115',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 3
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live2480/domains/dpsound.vn/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '69-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_AUTHORIZATION' => '',
'HTTP_HOST' => 'dpsound.vn',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '69-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dpsound.vn',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'REDIRECT_URL' => '/loa-hoi-truong-jbl-jrx-115',
'REMOTE_ADDR' => '216.73.216.252',
'REMOTE_PORT' => '30055',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/loa-hoi-truong-jbl-jrx-115',
'SCRIPT_FILENAME' => '/home/live2480/domains/dpsound.vn/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@dpsound.vn',
'SERVER_NAME' => 'dpsound.vn',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'dpsound.vn',
'UNIQUE_ID' => 'aIPtN8RMzmd2L73rD5zuYQAARQ0',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1753476407.1651,
'REQUEST_TIME' => (int) 1753476407,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #166
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 864000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\PageController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server.
|
|
$server = new Server(new Application($core_path . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
If you want to customize this error message, create
templates/Error/error500.php