Warning (2)
: Undefined array key "cate_ids" [in
/www/belovedbeyondcake5-uat/src/Controller/Component/ExtProductComponent.php, line
2590]
Code
$isProductHoliday = array_intersect($product['Product']['cate_ids'], $holidayCateId);
App\Controller\Component\ExtProductComponent->getDetail() /www/belovedbeyondcake5-uat/src/Controller/ProductsController.php, line 4042
App\Controller\ProductsController->detail() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Controller/Controller.php, line 498
Cake\Controller\Controller->invokeAction() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139
Cake\Controller\ControllerFactory->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114
Cake\Controller\ControllerFactory->invoke() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 332
Cake\Http\BaseApplication->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 78
Cake\Routing\Middleware\AssetMiddleware->process() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Runner.php, line 67
Cake\Http\Runner->run() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Server.php, line 103
Cake\Http\Server->run() /www/belovedbeyondcake5-uat/webroot/index.php, line 38
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /www/belovedbeyondcake5-uat/webroot/index.php, line 38
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
159]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /www/belovedbeyondcake5-uat/webroot/index.php, line 38
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /www/belovedbeyondcake5-uat/webroot/index.php, line 38
[main]
APP/Controller/Component/ExtProductComponent.php at line 2590
(edit)
|
|
|
if (!empty($cateHolidays)) { |
|
$holidayCateId = array_keys($cateHolidays); |
|
|
|
$isProductHoliday = array_intersect($product['Product']['cate_ids'], $holidayCateId); |
|
|
|
$isProductHoliday = !empty($isProductHoliday); |
|
} |
|
|
-
|
|
|
if (!empty($cateHolidays)) { |
|
$holidayCateId = array_keys($cateHolidays); |
|
|
|
$isProductHoliday = array_intersect($product['Product']['cate_ids'], $holidayCateId); |
|
|
|
$isProductHoliday = !empty($isProductHoliday); |
|
} |
|
|
Toggle Arguments
[
(int) 0 => '5cc92391062f52be748b4567',
(int) 1 => '65a4999ff9893ffa2304cb3b',
]
-
|
$_GET['preview'] = 1; |
|
} |
|
|
|
|
|
$product = $this->ExtProduct->getDetail($id, [], false, $status, true, @$_GET['cid']); |
|
|
|
|
|
if (empty($product) || empty($product['Product']['shop'])) { |
|
$this->Flash->error(__('Không tìm thấy thông tin hoặc thông tin này đã bị khóa.')); |
Toggle Arguments
-
|
* @return void |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null) { |
|
assert( |
|
$result instanceof Response, |
|
sprintf( |
Toggle Arguments
-
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result !== null) { |
|
return $result; |
Toggle Arguments
[
(int) 0 => 'D615422.-234234.html',
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
'csrfToken' => '1SKk7JNXaGJmw2KZp3paEs3tlk7GbdYDacFJDJ4QoPgJmalTDUVd0and0HtdsM8idbJfmvgn3A40EoaHMsqor50f5AUxrQhg+IuvefZd7mFc9Hk0ryTDmW+uzDE1fWy3kLy0ST7U/BtFh2n/y0TtPg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Toggle Arguments
object(App\Controller\ProductsController) id:0 {
name => 'Products'
paginate => [
'maxLimit' => (int) 100,
'page' => (int) 1,
'order' => [
],
]
Session => object(Cake\Http\Session) id:1 {
protected _engine => object(App\Http\Session\BelovedSession) id:2 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
layout => 'admin'
isMobile => false
adminRuning => false
permit => false
allowedActions => [
(int) 0 => 'index',
(int) 1 => 'bosuutap',
(int) 2 => 'search',
(int) 3 => 'flower2010',
(int) 4 => 'orchids',
(int) 5 => 'flower2512',
(int) 6 => 'suggestion',
(int) 7 => 'kredivo',
(int) 8 => 'giftcard',
(int) 9 => 'confirm18',
(int) 10 => 'tetgift',
(int) 11 => 'plant2010',
(int) 12 => 'event',
(int) 13 => 'giftfor',
(int) 14 => 'newproducts',
(int) 15 => 'bestsellers',
(int) 16 => 'hoale',
(int) 17 => 'hoadinhky',
(int) 18 => 'hoadinhkyDetail',
(int) 19 => 'home',
(int) 20 => 'comboitems',
(int) 21 => 'suggestion01',
(int) 22 => 'suggestion02',
(int) 23 => 'retail',
(int) 24 => 'more',
(int) 25 => 'tienloi',
(int) 26 => 'detail',
(int) 27 => 'hoaleDetail',
(int) 28 => 'viewpdetail',
(int) 29 => 'checkout',
(int) 30 => 'hoatienloi',
(int) 31 => 'getProvince',
(int) 32 => 'landing',
(int) 33 => 'cate',
(int) 34 => 'index',
(int) 35 => 'method',
(int) 36 => 'complete',
(int) 37 => 'logingoogle',
(int) 38 => 'test',
(int) 39 => 'embed',
(int) 40 => 'play',
(int) 41 => 'signup',
(int) 42 => 'done',
(int) 43 => 'result',
(int) 44 => 'a',
(int) 45 => 'json',
(int) 46 => 'checkaccount',
(int) 47 => 'event',
(int) 48 => 'coming',
(int) 49 => 'subscribe',
(int) 50 => 'view',
(int) 51 => 'quiz',
(int) 52 => 'wrong',
(int) 53 => 'login',
(int) 54 => 'newlogin',
(int) 55 => 'thankyou',
(int) 56 => 'registerfacebook',
(int) 57 => 'logout',
(int) 58 => 'load',
(int) 59 => 'verify',
]
crumbs => [
]
shop_id_default => '5cb41909ebe335f243e7c306'
elasticDB => 'uat_appfloral'
countryInfo => [
'_id' => 'VN',
'create_info' => [
'created' => (int) 1376629391,
'create_user' => 'tuanngo.technical',
'_id' => '51eddfcaac8c95865a61ef16',
'model' => 'Business',
'status' => (float) 4,
],
'created' => (int) 1343683947,
'device' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36',
'modified' => (int) 1343683947,
'name' => 'Việt Nam',
'priority' => (int) 228,
'contact' => [
'address' => '232/6 Võ Thị Sáu, Phường 7, Quận 3, TP HCM',
'name' => 'Quan Gia Doanh',
'phone' => '0977097247',
'email' => 'info@xinhtuoi.online',
],
'elastic_db' => 'uat_appfloral',
'hotline' => '977-097-247',
'language' => 'vi',
'money_dec_point' => ',',
'money_decimal' => (float) 0,
'money_round' => (int) -3,
'money_symbol' => 'đ',
'money_thousand' => '.',
'mongo_db' => 'default',
'phone_code' => '+84',
'shop_id_default' => '5cb41909ebe335f243e7c306',
'slug' => 'vietnam',
'sort' => (float) 1,
'timezone' => '+07:00',
'usd_rate' => (float) 21500,
'city' => 'hcm',
'product_pre' => 'D',
'timezone_int_hour' => (int) 7,
]
masterInfo => [
'_id' => '6066c157066c9a03055f2b10',
'image_id' => '64438d3b49ad60332c038486',
'upprice' => (float) 0,
'slug' => 'hoa-dep',
'focus' => (int) 1,
'short_desc' => null,
'extras' => [
'sm_intro' => 'Kích thước cổ điển của thiết kế hoa, với sự cân bằng hoàn hảo của hoa.',
'sm_size' => '(Giống với hình mẫu)',
'md_intro' => 'Tăng số lượng hoa để tạo sự bất ngờ cho người nhận.',
'md_size' => '(Tăng 35% lượng hoa so với Size 1)',
'lg_intro' => 'Các lễ kỷ niệm quan trọng nhất xứng đáng với những thiết kế hoa lớn nhất.',
'lg_size' => '(Tăng 50% lượng hoa so với Size 1)',
],
'sort' => (float) 1,
'country_id' => 'VN',
'translate' => [
'vie' => [
'' => [maximum depth reached],
],
'eng' => [
'' => [maximum depth reached],
],
'kor' => [
'' => [maximum depth reached],
],
'zho' => [
'' => [maximum depth reached],
],
'jpn' => [
'' => [maximum depth reached],
],
'ind' => [
'' => [maximum depth reached],
],
],
'features' => [
(int) 0 => [
'' => [maximum depth reached],
],
(int) 1 => [
'' => [maximum depth reached],
],
(int) 2 => [
'' => [maximum depth reached],
],
(int) 3 => [
'' => [maximum depth reached],
],
(int) 4 => [
'' => [maximum depth reached],
],
(int) 5 => [
'' => [maximum depth reached],
],
],
'create_info' => [
'status' => (float) 4,
'created' => (int) 1617346903,
'modified' => (int) 1688540774,
'create_user' => '5ce2c3ee277035ae7332a134',
'modify_user' => '5ce2c3ee277035ae7332a134',
'created_str' => '02-04-2021, 14:01:43',
],
'commission' => (float) 20,
'register_url' => 'https://docs.google.com/forms/d/1i7m-iYAaB_80ppJC-PI68It1seU83oB6ZDwN1vDMALI/edit',
'cms_benefit_id' => '5bbcca65652fe8586730d333',
'intro_banner_id' => '6066c155066c9a03055f2b0e',
'allow_quickly' => (float) 0,
'cate_type' => (float) 1,
'allow_order' => (float) 1,
'show_extra' => (float) 0,
'prod_feature_id' => '64a4f76503f90f3e6006a845',
'prod_feature_mobile_id' => '64a4f76603f90f3e6006a846',
'home_title' => 'Bánh xinh',
'image' => 'https://uat.belovedbeyond.com/photos/view/photos/300x0-cc/64438d3b49ad60332c038486.cl.belove-beyond-personal-gift-platform.webp',
'intro_banner' => 'https://uat.belovedbeyond.com/photos/view/photos/1140x177/6066c155066c9a03055f2b0e.cl.belove-beyond-personal-gift-platform.webp',
'name' => 'Hoa',
'intro' => 'Xinh Tươi Online giới thiệu đến bạn BST Hoa mới nhất với 5000+ mẫu hoa đẹp từ các shop hoa uy tín trên toàn quốc. Bạn đang cần một bó hoa sinh nhât, lẵng hoa chúc mừng hay hoa khai trương, hoa chia buồn, ... tất cả đều có tại Xinh Tươi Online. Chọn ngay mẫu hoa yêu thích bên dưới nhé.',
'top_banner_id' => null,
]
theme => 'V01'
webview => false
isAPI => false
isAdmin => false
sellerApp => false
here => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
condPost => [
]
_models => [
]
hideSlider => false
timezone => (int) 7
admin_fields_get => [
(int) 0 => '_id',
]
User => object(App\Model\Table\UsersTable) id:3 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Product => object(App\Model\Table\ProductsTable) id:4 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Category => object(App\Model\Table\CategoriesTable) id:5 {
'registryAlias' => 'Categories'
'table' => 'categories'
'alias' => 'Categories'
'entityClass' => 'App\Model\Entity\Category'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Shop => object(App\Model\Table\ShopsTable) id:6 {
'registryAlias' => 'Shops'
'table' => 'shops'
'alias' => 'Shops'
'entityClass' => 'App\Model\Entity\Shop'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Material => null
BillLog => object(App\Model\Table\BillLogsTable) id:7 {
'registryAlias' => 'BillLogs'
'table' => 'bill_logs'
'alias' => 'BillLogs'
'entityClass' => 'App\Model\Entity\BillLog'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
District => object(App\Model\Table\DistrictsTable) id:8 {
'registryAlias' => 'Districts'
'table' => 'districts'
'alias' => 'Districts'
'entityClass' => 'App\Model\Entity\District'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Language => object(App\Model\Table\LanguagesTable) id:9 {
'registryAlias' => 'Languages'
'table' => 'languages'
'alias' => 'Languages'
'entityClass' => 'App\Model\Entity\Language'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected _data => [
]
protected request => object(Cake\Http\ServerRequest) id:10 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:11 {
}
protected uri => object(Laminas\Diactoros\Uri) id:12 {
}
protected session => object(Cake\Http\Session) id: 1 {}
protected flash => object(Cake\Http\FlashMessage) id:13 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:14 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:15 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:16 {
'_loaded' => [
(int) 0 => 'Auth',
(int) 1 => 'Cookie',
(int) 2 => 'MobileDetect',
(int) 3 => 'Elasticsearch',
(int) 4 => 'Flash',
(int) 5 => 'Common',
(int) 6 => 'ExtGrant',
(int) 7 => 'File',
(int) 8 => 'ExtAws',
(int) 9 => 'ExtBillLog',
(int) 10 => 'ExtProduct',
(int) 11 => 'ExtReview',
(int) 12 => 'ExtProvince',
(int) 13 => 'Excel',
(int) 14 => 'ExtBill',
(int) 15 => 'ExtCheckout',
(int) 16 => 'ExtShop',
(int) 17 => 'ExtPromotion',
(int) 18 => 'ExtShopHoliday',
(int) 19 => 'ExtCategory',
]
'_Controller' => object(App\Controller\ProductsController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:17 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 17 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Products'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:18 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:19 {
}
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => object(Cake\View\ViewBuilder) id:20 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
-
|
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 ' |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
'csrfToken' => '1SKk7JNXaGJmw2KZp3paEs3tlk7GbdYDacFJDJ4QoPgJmalTDUVd0and0HtdsM8idbJfmvgn3A40EoaHMsqor50f5AUxrQhg+IuvefZd7mFc9Hk0ryTDmW+uzDE1fWy3kLy0ST7U/BtFh2n/y0TtPg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
'csrfToken' => '1SKk7JNXaGJmw2KZp3paEs3tlk7GbdYDacFJDJ4QoPgJmalTDUVd0and0HtdsM8idbJfmvgn3A40EoaHMsqor50f5AUxrQhg+IuvefZd7mFc9Hk0ryTDmW+uzDE1fWy3kLy0ST7U/BtFh2n/y0TtPg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
'csrfToken' => '1SKk7JNXaGJmw2KZp3paEs3tlk7GbdYDacFJDJ4QoPgJmalTDUVd0and0HtdsM8idbJfmvgn3A40EoaHMsqor50f5AUxrQhg+IuvefZd7mFc9Hk0ryTDmW+uzDE1fWy3kLy0ST7U/BtFh2n/y0TtPg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$container = $this->app instanceof ContainerApplicationInterface |
|
? $this->app->getContainer() |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'D615422.-234234.html',
],
'language' => 'vi',
'country' => 'vietnam',
'master' => '6066c157066c9a03055f2b10',
'province' => 'quang-nam',
'district' => '',
'controller' => 'Products',
'action' => 'detail',
'plugin' => null,
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\RouteBuilder) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !is_file($assetFile)) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$file = new SplFileInfo($assetFile); |
|
$modifiedTime = $file->getMTime(); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 5
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
]
protected container => object(Cake\Core\Container) id:6 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:7 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:8 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:9 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx',
'HOME' => '/var/lib/nginx',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66c2fc16-7ec8ef1d7a570bbf33f4874b',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.141.202.74',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '23190',
'REMOTE_ADDR' => '10.0.4.22',
'SERVER_SOFTWARE' => 'nginx/1.14.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/www/belovedbeyondcake5-uat/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/www/belovedbeyondcake5-uat/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1724054550.2316,
'REQUEST_TIME' => (int) 1724054550,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'uat.belovedbeyond.com'
private port => null
private path => '/vi/vietnam/quang-nam/hoa-dep/detail/D615422.-234234.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => object(App\Http\Session\BelovedSession) id:6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/www/belovedbeyondcake5-uat/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\ProductsController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php