Warning (2) : Use of undefined constant LANGUAGE - assumed 'LANGUAGE' (this will throw an Error in a future version of PHP) [APP/Controller/AppController.php , line 359 ]Code Context 'page_type' => PAGE ,
'lang' => LANGUAGE ,
'get_content' => true ,
$path = '/huyen-my-tu-tham-tang-qua-cho-nan-nhan-chat-doc-da-cam-10453.html'
$url = 'huyen-my-tu-tham-tang-qua-cho-nan-nhan-chat-doc-da-cam-10453'
$result = [
'url' => 'huyen-my-tu-tham-tang-qua-cho-nan-nhan-chat-doc-da-cam-10453'
]
$page_type = null App\Controller\AppController::getPageByUrl() - APP/Controller/AppController.php, line 359
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 145
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 0
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90
[main] - /home/dientudaca/domains/dientudacam.vn/public_html/index.php, line 35 Warning (2) : Use of undefined constant CODE_TEMPLATE - assumed 'CODE_TEMPLATE' (this will throw an Error in a future version of PHP) [APP/Model/Table/TemplatesPageTable.php , line 0 ]Code Context $config = [
'alias' => 'TemplatesPage',
'className' => 'App\Model\Table\TemplatesPageTable',
'connection' => object(Cake\Database\Connection) {
'config' => [
[maximum depth reached]
],
'driver' => object(Cake\Database\Driver\Mysql) {},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => false,
'logger' => null
},
'associations' => object(Cake\ORM\AssociationCollection) {
[protected] _items => [
[maximum depth reached]
]
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {}
},
'registryAlias' => 'TemplatesPage'
] App\Model\Table\TemplatesPageTable::initialize() - APP/Model/Table/TemplatesPageTable.php, line 0
Cake\ORM\Table::__construct() - CORE/src/ORM/Table.php, line 318
Cake\ORM\Locator\TableLocator::_create() - CORE/src/ORM/Locator/TableLocator.php, line 263
Cake\ORM\Locator\TableLocator::get() - CORE/src/ORM/Locator/TableLocator.php, line 217
Cake\ORM\TableRegistry::get() - CORE/src/ORM/TableRegistry.php, line 112
App\Controller\AppController::getPageByUrl() - APP/Controller/AppController.php, line 369
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 145
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 0
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Use of undefined constant CODE_TEMPLATE - assumed 'CODE_TEMPLATE' (this will throw an Error in a future version of PHP) [APP/Model/Table/TemplatesPageTable.php , line 0 ]Code Context $params = [
'page_type' => 'page',
'lang' => 'LANGUAGE',
'get_content' => true,
'type' => null,
'url' => 'huyen-my-tu-tham-tang-qua-cho-nan-nhan-chat-doc-da-cam-10453'
]
$url = 'huyen-my-tu-tham-tang-qua-cho-nan-nhan-chat-doc-da-cam-10453'
$code = null
$type = null
$lang = 'LANGUAGE'
$page_type = 'page'
$get_content = true App\Model\Table\TemplatesPageTable::getInfoPage() - APP/Model/Table/TemplatesPageTable.php, line 0
App\Controller\AppController::getPageByUrl() - APP/Controller/AppController.php, line 369
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 145
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 0
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90
[main] - /home/dientudaca/domains/dientudacam.vn/public_html/index.php, line 35 Warning (512) : Unable to emit headers. Headers sent in file=/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php line=841 [CORE/src/Http/ResponseEmitter.php , line 71 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
}
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused</span>
<a>📋</a>
</h1>
<span class="header-type">Cake\Database\Exception\MissingConnectionException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Driver.php:107 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\Database\Driver->_connect</span>
<span class="stack-file">
CORE/src/Database/Driver/Mysql.php:114 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Driver\Mysql->connect</span>
<span class="stack-file">
CORE/src/Database/Schema/BaseSchema.php:47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Schema\BaseSchema->__construct</span>
<span class="stack-file">
CORE/src/Database/Dialect/MysqlDialectTrait.php:65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Database\Driver\Mysql->schemaDialect</span>
<span class="stack-file">
CORE/src/Database/Schema/Collection.php:53 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Schema\Collection->__construct</span>
<span class="stack-file">
CORE/src/Database/Connection.php:401 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Connection->getSchemaCollection</span>
<span class="stack-file">
CORE/src/ORM/Table.php:508 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->getSchema</span>
<span class="stack-file">
CORE/src/ORM/Query.php:277 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Query->addDefaultTypes</span>
<span class="stack-file">
CORE/src/ORM/Query.php:177 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Query->__construct</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1673 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->query</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1255 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\ORM\Table->find</span>
<span class="stack-file">
APP/Model/Table/LinksTable.php:0 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">App\Model\Table\LinksTable->getLanguageByUrl</span>
<span class="stack-file">
APP/Controller/AppController.php:91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">App\Controller\AppController->beforeFilter</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:565 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Controller\Controller->startupProcess</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:72 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/dientudaca/domains/dientudacam.vn/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'password'</span><span style="color: #007700">] ?: </span><span style="color: #0000BB">null</span><span style="color: #007700">,</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'flags'</span><span style="color: #007700">]</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">PDOException $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">MissingConnectionException</span><span style="color: #007700">(</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="109"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'driver' </span><span style="color: #007700">=> </span><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">shortName</span><span style="color: #007700">(static::class, </span><span style="color: #DD0000">'Database/Driver'</span><span style="color: #007700">),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'reason' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">],</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver/Mysql.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $dsn </span><span style="color: #007700">.= </span><span style="color: #DD0000">";charset=</span><span style="color: #007700">{</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">]}</span><span style="color: #DD0000">"</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="112"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="113"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="114"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$dsn</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach ((array)</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">] as </span><span style="color: #0000BB">$command</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">DriverInterface $driver The driver to </span><span style="color: #007700">use.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">DriverInterface $driver</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $driver</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver </span><span style="color: #007700">= </span><span style="color: #0000BB">$driver</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Dialect/MysqlDialectTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">(): </span><span style="color: #0000BB">BaseSchema</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">= new </span><span style="color: #0000BB">MysqlSchema</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/Collection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">Connection $connection</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dialect </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">-></span><span style="color: #0000BB">getDriver</span><span style="color: #007700">()-></span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the </span><span style="color: #007700">list </span><span style="color: #0000BB">of tables available in the current connection</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="397"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="398"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="399"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheMetadata'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="400"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaCollection </span><span style="color: #007700">= new </span><span style="color: #0000BB">CachedCollection</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="401"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">SchemaCollection</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">),</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="402"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">configName</span><span style="color: #007700">() : </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">],</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="403"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getCacher</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="404"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="405"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="504"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="505"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="506"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_initializeSchema</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="507"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="508"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">getSchemaCollection</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="509"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getTable</span><span style="color: #007700">())</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="510"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="511"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="512"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">checkAliasLengths</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">Table $table</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $alias </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getAlias</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $map </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">typeMap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="278"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= [];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="279"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$map </span><span style="color: #007700">as </span><span style="color: #0000BB">$f </span><span style="color: #007700">=> </span><span style="color: #0000BB">$type</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="280"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'__' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$type</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="281"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="173"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> parent</span><span style="color: #007700">::</span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">$connection</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="174"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">repository</span><span style="color: #007700">(</span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="175"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="176"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="177"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="178"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="179"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="180"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="181"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1669"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">query</span><span style="color: #007700">(): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1673"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">Query</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1251"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query The query builder</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1252"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1253"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">string $type </span><span style="color: #007700">= </span><span style="color: #DD0000">'all'</span><span style="color: #007700">, array </span><span style="color: #0000BB">$options </span><span style="color: #007700">= []): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1255"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1256"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">select</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1257"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1258"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">callFinder</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1259"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Model/Table/LinksTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()) ? </span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">(), </span><span style="color: #0000BB">1</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) ? </span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) : </span><span style="color: #DD0000">''</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $language </span><span style="color: #007700">= </span><span style="color: #0000BB">TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'Links'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageByUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) </span><span style="color: #0000BB">$language </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">loadComponent</span><span style="color: #007700">(</span><span style="color: #DD0000">'System'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageFrontend</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) die(</span><span style="color: #DD0000">'Không lấy được thông tin ngôn ngữ của Website'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="561"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">null</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="562"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="563"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">(): ?</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="564"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="565"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="566"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="567"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="568"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="569"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">psalm</span><span style="color: #007700">-</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller $controller</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $assetFile </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getAssetFile</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$assetFile </span><span style="color: #007700">=== </span><span style="color: #0000BB">null </span><span style="color: #007700">|| !</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $file </span><span style="color: #007700">= new </span><span style="color: #0000BB">SplFileInfo</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $modifiedTime </span><span style="color: #007700">= </span><span style="color: #0000BB">$file</span><span style="color: #007700">-></span><span style="color: #0000BB">getMTime</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$file = '/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 841
$message = 'Unable to emit headers. Headers sent in file=/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php line=841' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/dientudaca/domains/dientudacam.vn/public_html/index.php, line 35 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php , line 168 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused</span>
<a>📋</a>
</h1>
<span class="header-type">Cake\Database\Exception\MissingConnectionException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Driver.php:107 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\Database\Driver->_connect</span>
<span class="stack-file">
CORE/src/Database/Driver/Mysql.php:114 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Driver\Mysql->connect</span>
<span class="stack-file">
CORE/src/Database/Schema/BaseSchema.php:47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Schema\BaseSchema->__construct</span>
<span class="stack-file">
CORE/src/Database/Dialect/MysqlDialectTrait.php:65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Database\Driver\Mysql->schemaDialect</span>
<span class="stack-file">
CORE/src/Database/Schema/Collection.php:53 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Schema\Collection->__construct</span>
<span class="stack-file">
CORE/src/Database/Connection.php:401 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Connection->getSchemaCollection</span>
<span class="stack-file">
CORE/src/ORM/Table.php:508 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->getSchema</span>
<span class="stack-file">
CORE/src/ORM/Query.php:277 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Query->addDefaultTypes</span>
<span class="stack-file">
CORE/src/ORM/Query.php:177 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Query->__construct</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1673 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->query</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1255 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\ORM\Table->find</span>
<span class="stack-file">
APP/Model/Table/LinksTable.php:0 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">App\Model\Table\LinksTable->getLanguageByUrl</span>
<span class="stack-file">
APP/Controller/AppController.php:91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">App\Controller\AppController->beforeFilter</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:565 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Controller\Controller->startupProcess</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:72 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/dientudaca/domains/dientudacam.vn/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'password'</span><span style="color: #007700">] ?: </span><span style="color: #0000BB">null</span><span style="color: #007700">,</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'flags'</span><span style="color: #007700">]</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">PDOException $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">MissingConnectionException</span><span style="color: #007700">(</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="109"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'driver' </span><span style="color: #007700">=> </span><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">shortName</span><span style="color: #007700">(static::class, </span><span style="color: #DD0000">'Database/Driver'</span><span style="color: #007700">),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'reason' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">],</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver/Mysql.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $dsn </span><span style="color: #007700">.= </span><span style="color: #DD0000">";charset=</span><span style="color: #007700">{</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">]}</span><span style="color: #DD0000">"</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="112"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="113"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="114"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$dsn</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach ((array)</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">] as </span><span style="color: #0000BB">$command</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">DriverInterface $driver The driver to </span><span style="color: #007700">use.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">DriverInterface $driver</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $driver</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver </span><span style="color: #007700">= </span><span style="color: #0000BB">$driver</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Dialect/MysqlDialectTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">(): </span><span style="color: #0000BB">BaseSchema</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">= new </span><span style="color: #0000BB">MysqlSchema</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/Collection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">Connection $connection</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dialect </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">-></span><span style="color: #0000BB">getDriver</span><span style="color: #007700">()-></span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the </span><span style="color: #007700">list </span><span style="color: #0000BB">of tables available in the current connection</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="397"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="398"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="399"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheMetadata'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="400"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaCollection </span><span style="color: #007700">= new </span><span style="color: #0000BB">CachedCollection</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="401"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">SchemaCollection</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">),</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="402"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">configName</span><span style="color: #007700">() : </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">],</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="403"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getCacher</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="404"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="405"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="504"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="505"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="506"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_initializeSchema</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="507"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="508"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">getSchemaCollection</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="509"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getTable</span><span style="color: #007700">())</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="510"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="511"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="512"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">checkAliasLengths</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">Table $table</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $alias </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getAlias</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $map </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">typeMap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="278"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= [];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="279"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$map </span><span style="color: #007700">as </span><span style="color: #0000BB">$f </span><span style="color: #007700">=> </span><span style="color: #0000BB">$type</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="280"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'__' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$type</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="281"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="173"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> parent</span><span style="color: #007700">::</span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">$connection</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="174"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">repository</span><span style="color: #007700">(</span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="175"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="176"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="177"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="178"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="179"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="180"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="181"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1669"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">query</span><span style="color: #007700">(): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1673"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">Query</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1251"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query The query builder</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1252"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1253"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">string $type </span><span style="color: #007700">= </span><span style="color: #DD0000">'all'</span><span style="color: #007700">, array </span><span style="color: #0000BB">$options </span><span style="color: #007700">= []): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1255"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1256"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">select</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1257"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1258"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">callFinder</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1259"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Model/Table/LinksTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()) ? </span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">(), </span><span style="color: #0000BB">1</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) ? </span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) : </span><span style="color: #DD0000">''</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $language </span><span style="color: #007700">= </span><span style="color: #0000BB">TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'Links'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageByUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) </span><span style="color: #0000BB">$language </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">loadComponent</span><span style="color: #007700">(</span><span style="color: #DD0000">'System'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageFrontend</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) die(</span><span style="color: #DD0000">'Không lấy được thông tin ngôn ngữ của Website'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="561"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">null</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="562"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="563"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">(): ?</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="564"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="565"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="566"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="567"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="568"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="569"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">psalm</span><span style="color: #007700">-</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller $controller</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $assetFile </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getAssetFile</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$assetFile </span><span style="color: #007700">=== </span><span style="color: #0000BB">null </span><span style="color: #007700">|| !</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $file </span><span style="color: #007700">= new </span><span style="color: #0000BB">SplFileInfo</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $modifiedTime </span><span style="color: #007700">= </span><span style="color: #0000BB">$file</span><span style="color: #007700">-></span><span style="color: #0000BB">getMTime</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/dientudaca/domains/dientudacam.vn/public_html/index.php, line 35 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php , line 197 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused</span>
<a>📋</a>
</h1>
<span class="header-type">Cake\Database\Exception\MissingConnectionException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Driver.php:107 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\Database\Driver->_connect</span>
<span class="stack-file">
CORE/src/Database/Driver/Mysql.php:114 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Driver\Mysql->connect</span>
<span class="stack-file">
CORE/src/Database/Schema/BaseSchema.php:47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Schema\BaseSchema->__construct</span>
<span class="stack-file">
CORE/src/Database/Dialect/MysqlDialectTrait.php:65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Database\Driver\Mysql->schemaDialect</span>
<span class="stack-file">
CORE/src/Database/Schema/Collection.php:53 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Schema\Collection->__construct</span>
<span class="stack-file">
CORE/src/Database/Connection.php:401 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Connection->getSchemaCollection</span>
<span class="stack-file">
CORE/src/ORM/Table.php:508 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->getSchema</span>
<span class="stack-file">
CORE/src/ORM/Query.php:277 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Query->addDefaultTypes</span>
<span class="stack-file">
CORE/src/ORM/Query.php:177 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Query->__construct</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1673 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->query</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1255 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\ORM\Table->find</span>
<span class="stack-file">
APP/Model/Table/LinksTable.php:0 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">App\Model\Table\LinksTable->getLanguageByUrl</span>
<span class="stack-file">
APP/Controller/AppController.php:91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">App\Controller\AppController->beforeFilter</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:565 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Controller\Controller->startupProcess</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:72 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/dientudaca/domains/dientudacam.vn/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'password'</span><span style="color: #007700">] ?: </span><span style="color: #0000BB">null</span><span style="color: #007700">,</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'flags'</span><span style="color: #007700">]</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">PDOException $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">MissingConnectionException</span><span style="color: #007700">(</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="109"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'driver' </span><span style="color: #007700">=> </span><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">shortName</span><span style="color: #007700">(static::class, </span><span style="color: #DD0000">'Database/Driver'</span><span style="color: #007700">),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'reason' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">],</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Driver/Mysql.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="110"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="111"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $dsn </span><span style="color: #007700">.= </span><span style="color: #DD0000">";charset=</span><span style="color: #007700">{</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'encoding'</span><span style="color: #007700">]}</span><span style="color: #DD0000">"</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="112"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="113"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="114"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$dsn</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach ((array)</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'init'</span><span style="color: #007700">] as </span><span style="color: #0000BB">$command</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">DriverInterface $driver The driver to </span><span style="color: #007700">use.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">DriverInterface $driver</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $driver</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver </span><span style="color: #007700">= </span><span style="color: #0000BB">$driver</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Dialect/MysqlDialectTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">(): </span><span style="color: #0000BB">BaseSchema</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect </span><span style="color: #007700">= new </span><span style="color: #0000BB">MysqlSchema</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaDialect</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Schema/Collection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">Connection $connection</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dialect </span><span style="color: #007700">= </span><span style="color: #0000BB">$connection</span><span style="color: #007700">-></span><span style="color: #0000BB">getDriver</span><span style="color: #007700">()-></span><span style="color: #0000BB">schemaDialect</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the </span><span style="color: #007700">list </span><span style="color: #0000BB">of tables available in the current connection</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="397"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="398"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="399"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheMetadata'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="400"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schemaCollection </span><span style="color: #007700">= new </span><span style="color: #0000BB">CachedCollection</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="401"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">SchemaCollection</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">),</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="402"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">configName</span><span style="color: #007700">() : </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_config</span><span style="color: #007700">[</span><span style="color: #DD0000">'cacheKeyPrefix'</span><span style="color: #007700">],</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="403"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getCacher</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="404"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="405"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="504"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="505"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="506"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_initializeSchema</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="507"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="508"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">getSchemaCollection</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="509"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getTable</span><span style="color: #007700">())</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="510"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="511"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="512"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">checkAliasLengths</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">Table $table</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $alias </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getAlias</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $map </span><span style="color: #007700">= </span><span style="color: #0000BB">$table</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">typeMap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="278"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= [];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="279"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$map </span><span style="color: #007700">as </span><span style="color: #0000BB">$f </span><span style="color: #007700">=> </span><span style="color: #0000BB">$type</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="280"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$fields</span><span style="color: #007700">[</span><span style="color: #0000BB">$alias </span><span style="color: #007700">. </span><span style="color: #DD0000">'__' </span><span style="color: #007700">. </span><span style="color: #0000BB">$f</span><span style="color: #007700">] = </span><span style="color: #0000BB">$type</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="281"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="173"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> parent</span><span style="color: #007700">::</span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">$connection</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="174"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">repository</span><span style="color: #007700">(</span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="175"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="176"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="177"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addDefaultTypes</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_repository</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="178"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="179"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="180"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="181"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1669"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">query</span><span style="color: #007700">(): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1673"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">Query</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1251"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Query The query builder</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1252"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1253"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">string $type </span><span style="color: #007700">= </span><span style="color: #DD0000">'all'</span><span style="color: #007700">, array </span><span style="color: #0000BB">$options </span><span style="color: #007700">= []): </span><span style="color: #0000BB">Query</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1255"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1256"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">select</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1257"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1258"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">callFinder</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1259"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Model/Table/LinksTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()) ? </span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">(), </span><span style="color: #0000BB">1</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) ? </span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">) : </span><span style="color: #DD0000">''</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $language </span><span style="color: #007700">= </span><span style="color: #0000BB">TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'Links'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageByUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) </span><span style="color: #0000BB">$language </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">loadComponent</span><span style="color: #007700">(</span><span style="color: #DD0000">'System'</span><span style="color: #007700">)-></span><span style="color: #0000BB">getLanguageFrontend</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(empty(</span><span style="color: #0000BB">$language</span><span style="color: #007700">)) die(</span><span style="color: #DD0000">'Không lấy được thông tin ngôn ngữ của Website'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="561"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">null</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="562"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="563"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">(): ?</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="564"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="565"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="566"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="567"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="568"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="569"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">psalm</span><span style="color: #007700">-</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller</span><span style="color: #007700">\</span><span style="color: #0000BB">Controller $controller</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $assetFile </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getAssetFile</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$assetFile </span><span style="color: #007700">=== </span><span style="color: #0000BB">null </span><span style="color: #007700">|| !</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $file </span><span style="color: #007700">= new </span><span style="color: #0000BB">SplFileInfo</span><span style="color: #007700">(</span><span style="color: #0000BB">$assetFile</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $modifiedTime </span><span style="color: #007700">= </span><span style="color: #0000BB">$file</span><span style="color: #007700">-></span><span style="color: #0000BB">getMTime</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/dientudaca/domains/dientudacam.vn/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/dientudaca/domains/dientudacam.vn/public_html/index.php, line 35
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused
$config [ 'password' ] ?: null ,
$config [ 'flags' ]
);
} catch ( PDOException $e ) {
throw new MissingConnectionException (
[
'driver' => App :: shortName (static::class, 'Database/Driver' ),
'reason' => $e -> getMessage (),
],
if (!empty( $config [ 'encoding' ])) {
$dsn .= ";charset= { $config [ 'encoding' ]} " ;
}
$this -> _connect ( $dsn , $config );
if (!empty( $config [ 'init' ])) {
$connection = $this -> getConnection ();
foreach ((array) $config [ 'init' ] as $command ) {
* @ param \ Cake \ Database \ DriverInterface $driver The driver to use.
*/
public function __construct ( DriverInterface $driver )
{
$driver -> connect ();
$this -> _driver = $driver ;
}
/**
*/
public function schemaDialect (): BaseSchema
{
if ( $this -> _schemaDialect === null ) {
$this -> _schemaDialect = new MysqlSchema ( $this );
}
return $this -> _schemaDialect ;
}
*/
public function __construct ( Connection $connection )
{
$this -> _connection = $connection ;
$this -> _dialect = $connection -> getDriver ()-> schemaDialect ();
}
/**
* Get the list of tables available in the current connection .
}
if (!empty( $this -> _config [ 'cacheMetadata' ])) {
return $this -> _schemaCollection = new CachedCollection (
new SchemaCollection ( $this ),
empty( $this -> _config [ 'cacheKeyPrefix' ]) ? $this -> configName () : $this -> _config [ 'cacheKeyPrefix' ],
$this -> getCacher ()
);
}
{
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 );
}
}
/**
* @return \ Cake \ ORM \ Query
*/
public function query (): Query
{
return new Query ( $this -> getConnection (), $this );
}
/**
* @ inheritDoc
* @return \ Cake \ ORM \ Query The query builder
*/
public function find ( string $type = 'all' , array $options = []): Query
{
$query = $this -> query ();
$query -> select ();
return $this -> callFinder ( $type , $query , $options );
}
}
$url = !empty( $this -> request -> getUri ()) ? substr ( $this -> request -> getUri ()-> getPath (), 1 ) : null ;
$url = !empty( $url ) ? urldecode ( $url ) : '' ;
$language = TableRegistry :: get ( 'Links' )-> getLanguageByUrl ( $url );
if(empty( $language )) $language = $this -> loadComponent ( 'System' )-> getLanguageFrontend ();
if(empty( $language )) die( 'Không lấy được thông tin ngôn ngữ của Website' );
protected function _callListener (callable $listener , EventInterface $event )
{
$data = (array) $event -> getData ();
return $listener ( $event , ... array_values ( $data ));
}
/**
* @ inheritDoc
foreach ( $listeners as $listener ) {
if ( $event -> isStopped ()) {
break;
}
$result = $this -> _callListener ( $listener [ 'callable' ], $event );
if ( $result === false ) {
$event -> stopPropagation ();
}
if ( $result !== null ) {
}
/** @var \Cake\Event\EventInterface $event */
$event = new $this -> _eventClass ( $name , $subject , $data );
$this -> getEventManager ()-> dispatch ( $event );
return $event ;
}
}
* @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' );
* @ psalm - param \ Cake \ Controller \ Controller $controller
*/
public function invoke ( $controller ): ResponseInterface
{
$result = $controller -> startupProcess ();
if ( $result instanceof ResponseInterface ) {
return $result ;
}
}
$controller = $this -> controllerFactory -> create ( $request );
return $this -> controllerFactory -> invoke ( $controller );
}
}
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
if ( $method === 'GET' && $cookieData === null ) {
$token = $this -> createToken ();
$request = $request -> withAttribute ( 'csrfToken' , $token );
/** @var mixed $response */
$response = $handler -> handle ( $request );
return $this -> _addTokenCookie ( $token , $request , $response );
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
$middleware = new MiddlewareQueue ( $matching );
$runner = new Runner ();
return $runner -> run ( $middleware , $request , $handler );
}
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$assetFile = $this -> _getAssetFile ( $url );
if ( $assetFile === null || ! file_exists ( $assetFile )) {
return $handler -> handle ( $request );
}
$file = new SplFileInfo ( $assetFile );
$modifiedTime = $file -> getMTime ();
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
try {
return $handler -> handle ( $request );
} catch ( Throwable $exception ) {
return $this -> handleException ( $exception , $request );
}
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$response = $this -> runner -> run ( $middleware , $request , $this -> app );
if ( $request instanceof ServerRequest ) {
$request -> getSession ()-> close ();
}
// 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