define('PAGE_URL', $url);
define('PAGE_RECORD_ID', $page_record_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 261 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_URL', $url);
define('PAGE_RECORD_ID', $page_record_id);
define('PAGE_TAG_ID', $tag_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 262 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_RECORD_ID', $page_record_id);
define('PAGE_TAG_ID', $tag_id);
define('PAGE_CATEGORY_ID', $page_category_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 263 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_TAG_ID', $tag_id);
define('PAGE_CATEGORY_ID', $page_category_id);
define('PAGE_BRAND_ID', $page_brand_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 264 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_CATEGORY_ID', $page_category_id);
define('PAGE_BRAND_ID', $page_brand_id);
define('PAGE_CATEGORIES_ID', $page_categories_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 265 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_BRAND_ID', $page_brand_id);
define('PAGE_CATEGORIES_ID', $page_categories_id);
define('PAGE_TYPE', $type);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 266 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_CATEGORIES_ID', $page_categories_id);
define('PAGE_TYPE', $type);
define('PAGE_CODE', $code);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 267 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_TYPE', $type);
define('PAGE_CODE', $code);
define('PAGE_VERSION', $version);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 268 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
define('PAGE_CODE', $code);
define('PAGE_VERSION', $version);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/AppController.php, line 269 App\Controller\ErrorController::beforeRender() /home/live3373/domains/adurin.vn/public_html/web4s/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433 Cake\Error\Renderer\WebExceptionRenderer::render() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
if (!session_write_close()) {
throw new RuntimeException('Could not close the session');
session_write_close [internal], line ?? Cake\Http\Session::close() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 93 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
if (!session_write_close()) {
throw new RuntimeException('Could not close the session');
session_write_close [internal], line ?? Cake\Http\Session::close() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393 Cake\Http\Server::run() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 93 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71 Cake\Http\Server::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
header [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168 Cake\Http\ResponseEmitter::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74 Cake\Http\Server::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197 Cake\Http\ResponseEmitter::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/live3373/domains/adurin.vn/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/live3373/domains/adurin.vn/public_html/index.php, line 36
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
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; |
|
} |
$association = $table->getAssociation($name); |
|
$target = $association->getTarget(); |
|
$primary = (array)$target->getPrimaryKey(); |
|
if (empty($primary) || $typeMap->type($target->aliasField($primary[0])) === null) { |
|
$this->addDefaultTypes($target); |
|
} |
|
if (!empty($nested)) { |
|
$this->_addAssociationsToTypeMap($target, $typeMap, $nested); |
|
} |
} |
|
$this->_addAssociationsToTypeMap( |
|
$this->getRepository(), |
|
$this->getTypeMap(), |
|
$loader->getContain() |
|
); |
|
|
|
return $this; |
|
} |
'Categories.status' => 1,
|
|
'Categories.deleted' => 0
|
|
];
|
|
|
|
$has_record = $this->table->find()->contain(['Categories'])->where($where)->select(['Links.id'])->first();
|
|
if(empty($has_record)) return $result;
|
|
|
|
$last_update = $this->table->find()->contain(['Categories'])->where($where)->select('Links.updated')->order('Links.updated DESC')->first();
|
|
|
{
|
|
$result = [];
|
|
|
|
$this->_pageGroup($result);
|
|
$this->_categoryProductGroup($result);
|
|
$this->_categoryArticleGroup($result);
|
|
$this->_productGroup($result);
|
|
$this->_brandGroup($result);
|
|
$this->_articleGroup($result);
|
|
|
$view = 'index';
|
|
if($combine){
|
|
$view = 'group';
|
|
$sitemap = $this->loadComponent('Sitemap')->getSiteMapGroup($page);
|
|
}else{
|
|
$sitemap = $this->loadComponent('Sitemap')->getSitemap($group, $page);
|
|
}
|
|
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
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 || !is_file($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 (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} 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); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
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());
|
|
|
$connection = $this->_driver->getConnection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
$statement = $this->prepare($sql); |
|
if (!empty($params)) { |
|
$statement->bind($params, $types); |
|
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
{ |
|
$this->numRetries = 0; |
|
while (true) { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
if ( |
|
$this->numRetries < $this->maxRetries && |
|
$this->strategy->shouldRetry($e, $this->numRetries) |
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Compiles a Query object into a SQL string according to the dialect for this |
if (empty($sql)) { |
|
return; |
|
} |
|
try { |
|
$statement = $this->_connection->execute($sql, $params); |
|
} catch (PDOException $e) { |
|
throw new DatabaseException($e->getMessage(), 500, $e); |
|
} |
|
/** @psalm-suppress PossiblyFalseIterator */ |
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
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; |
|
} |
$association = $table->getAssociation($name); |
|
$target = $association->getTarget(); |
|
$primary = (array)$target->getPrimaryKey(); |
|
if (empty($primary) || $typeMap->type($target->aliasField($primary[0])) === null) { |
|
$this->addDefaultTypes($target); |
|
} |
|
if (!empty($nested)) { |
|
$this->_addAssociationsToTypeMap($target, $typeMap, $nested); |
|
} |
} |
|
$this->_addAssociationsToTypeMap( |
|
$this->getRepository(), |
|
$this->getTypeMap(), |
|
$loader->getContain() |
|
); |
|
|
|
return $this; |
|
} |
'Categories.status' => 1,
|
|
'Categories.deleted' => 0
|
|
];
|
|
|
|
$has_record = $this->table->find()->contain(['Categories'])->where($where)->select(['Links.id'])->first();
|
|
if(empty($has_record)) return $result;
|
|
|
|
$last_update = $this->table->find()->contain(['Categories'])->where($where)->select('Links.updated')->order('Links.updated DESC')->first();
|
|
|
{
|
|
$result = [];
|
|
|
|
$this->_pageGroup($result);
|
|
$this->_categoryProductGroup($result);
|
|
$this->_categoryArticleGroup($result);
|
|
$this->_productGroup($result);
|
|
$this->_brandGroup($result);
|
|
$this->_articleGroup($result);
|
|
|
$view = 'index';
|
|
if($combine){
|
|
$view = 'group';
|
|
$sitemap = $this->loadComponent('Sitemap')->getSiteMapGroup($page);
|
|
}else{
|
|
$sitemap = $this->loadComponent('Sitemap')->getSitemap($group, $page);
|
|
}
|
|
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
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 || !is_file($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 (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} 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); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
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());
|
|
|
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create templates/Error/error500.php