Warning (2)
: Trying to access array offset on value of type null [in
/www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line
799]
Code
} else {
$mongo = new \MongoDB\Client("mongodb://" . $dataSource['host'] . ':' . $dataSource['port']);
}
App\Controller\Component\GridFSComponent->setDatabase() /www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line 845
App\Controller\Component\GridFSComponent->loadFileAndBucket() /www/belovedbeyondcake5-uat/src/Controller/PhotosController.php, line 655
App\Controller\PhotosController->view() /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 (2)
: Trying to access array offset on value of type null [in
/www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line
799]
Code
} else {
$mongo = new \MongoDB\Client("mongodb://" . $dataSource['host'] . ':' . $dataSource['port']);
}
App\Controller\Component\GridFSComponent->setDatabase() /www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line 845
App\Controller\Component\GridFSComponent->loadFileAndBucket() /www/belovedbeyondcake5-uat/src/Controller/PhotosController.php, line 655
App\Controller\PhotosController->view() /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]
ROOT/vendor/mongodb/mongodb/src/Client.php at line 117
(edit)
|
$this->typeMap = $driverOptions['typeMap']; |
|
|
|
unset($driverOptions['typeMap']); |
|
|
|
$this->manager = new Manager($uri, $uriOptions, $driverOptions); |
|
$this->readConcern = $this->manager->getReadConcern(); |
|
$this->readPreference = $this->manager->getReadPreference(); |
|
$this->writeConcern = $this->manager->getWriteConcern(); |
|
} |
-
|
$this->typeMap = $driverOptions['typeMap']; |
|
|
|
unset($driverOptions['typeMap']); |
|
|
|
$this->manager = new Manager($uri, $uriOptions, $driverOptions); |
|
$this->readConcern = $this->manager->getReadConcern(); |
|
$this->readPreference = $this->manager->getReadPreference(); |
|
$this->writeConcern = $this->manager->getWriteConcern(); |
|
} |
Toggle Arguments
[
'driver' => [
'name' => 'PHPLIB',
'version' => '1.17.0',
],
]
-
|
//replicaset |
|
if (!empty($dataSource['replicaset'])) { |
|
$mongo = new \MongoDB\Client($dataSource['replicaset']['host'], $dataSource['replicaset']['options']); |
|
} else { |
|
$mongo = new \MongoDB\Client("mongodb://" . $dataSource['host'] . ':' . $dataSource['port']); |
|
} |
|
|
|
if (empty($database)) { |
|
$this->db = $mongo->selectDatabase($dataSource['database']); |
Toggle Arguments
-
|
|
|
$file_id = _getID($file_id); |
|
|
|
if (!empty($database)) { |
|
$this->setDatabase($database); |
|
} else { |
|
$database = @$this->controller->countryInfo['mongo_db']; |
|
if (empty($database)) { |
|
$database = 'default'; |
Toggle Arguments
-
|
|
|
if($this->GridFS->enableAWS){ |
|
$file = $this->GridFS->loadFile( $fileId, $collect ); |
|
} else { |
|
list($file, $bucket) = $this->GridFS->loadFileAndBucket( $fileId, $collect ); |
|
} |
|
|
|
// response to browser |
|
if ($file) { |
Toggle Arguments
object(MongoDB\BSON\ObjectId) id:0 {
oid => '5b8e8ca2652fe82d3d8b4594'
}
-
|
* @return void |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null) { |
|
assert( |
|
$result instanceof Response, |
|
sprintf( |
Toggle Arguments
'5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
-
|
$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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
]
-
|
|
|
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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' => 'agS/fJ18YPXlzeHBZ79dgo9c7rxrANRK9fHC2GqNxGgGRSjOjCZbHpqhlIP6IOr211RPhoYBHhgD+4ySUoQfJxvvk3G7lEMavWzfhVo14imRx/ruDLn0CjEjTKu4EW8r+8egtJkZ3sHvN37lvzl6fA==',
]
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\PhotosController) id:0 {
name => 'Photos'
paginate => [
'order' => [
'create_info.created' => 'desc',
],
]
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 => 'detail',
(int) 1 => 'dmore',
(int) 2 => 'play',
(int) 3 => 'addphoto',
(int) 4 => 'show',
(int) 5 => 'qr',
(int) 6 => 'make',
(int) 7 => 'view',
(int) 8 => 'landing',
(int) 9 => 'cate',
(int) 10 => 'index',
(int) 11 => 'method',
(int) 12 => 'complete',
(int) 13 => 'logingoogle',
(int) 14 => 'test',
(int) 15 => 'embed',
(int) 16 => 'play',
(int) 17 => 'signup',
(int) 18 => 'done',
(int) 19 => 'result',
(int) 20 => 'a',
(int) 21 => 'json',
(int) 22 => 'checkaccount',
(int) 23 => 'event',
(int) 24 => 'coming',
(int) 25 => 'subscribe',
(int) 26 => 'view',
(int) 27 => 'quiz',
(int) 28 => 'wrong',
(int) 29 => 'login',
(int) 30 => 'newlogin',
(int) 31 => 'thankyou',
(int) 32 => 'registerfacebook',
(int) 33 => 'logout',
(int) 34 => 'load',
(int) 35 => '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 => null
theme => 'V01'
webview => false
isAPI => false
isAdmin => false
sellerApp => false
here => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
condPost => [
]
_models => [
]
hideSlider => false
timezone => (int) 7
helpers => [
(int) 0 => 'Html',
(int) 1 => 'Form',
]
admin_fields_get => [
(int) 0 => 'title',
(int) 1 => 'create_info.create_user',
(int) 2 => 'create_info.created',
(int) 3 => 'create_info.status',
(int) 4 => 'comments.count',
(int) 5 => 'likes.count',
(int) 6 => 'spam.count',
(int) 7 => 'intro',
(int) 8 => 'file_id',
]
rateScale => (float) 0.8
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'
}
Language => object(App\Model\Table\LanguagesTable) id:4 {
'registryAlias' => 'Languages'
'table' => 'languages'
'alias' => 'Languages'
'entityClass' => 'App\Model\Entity\Language'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
ShoppingCart => object(App\Model\Table\ShoppingCartsTable) id:5 {
'registryAlias' => 'ShoppingCarts'
'table' => 'shopping_carts'
'alias' => 'ShoppingCarts'
'entityClass' => 'App\Model\Entity\ShoppingCart'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected _data => [
]
protected request => object(Cake\Http\ServerRequest) id:6 {
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:7 {
}
protected uri => object(Laminas\Diactoros\Uri) id:8 {
}
protected session => object(Cake\Http\Session) id: 1 {}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
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:10 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_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 => 'GridFS',
(int) 10 => 'ExtShoppingCart',
]
'_Controller' => object(App\Controller\PhotosController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:13 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 13 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Photos'
protected _tableLocator => null
protected _viewBuilder => object(Cake\View\ViewBuilder) id:14 {
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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' => 'agS/fJ18YPXlzeHBZ79dgo9c7rxrANRK9fHC2GqNxGgGRSjOjCZbHpqhlIP6IOr211RPhoYBHhgD+4ySUoQfJxvvk3G7lEMavWzfhVo14imRx/ruDLn0CjEjTKu4EW8r+8egtJkZ3sHvN37lvzl6fA==',
]
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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' => 'agS/fJ18YPXlzeHBZ79dgo9c7rxrANRK9fHC2GqNxGgGRSjOjCZbHpqhlIP6IOr211RPhoYBHhgD+4ySUoQfJxvvk3G7lEMavWzfhVo14imRx/ruDLn0CjEjTKu4EW8r+8egtJkZ3sHvN37lvzl6fA==',
]
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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' => 'agS/fJ18YPXlzeHBZ79dgo9c7rxrANRK9fHC2GqNxGgGRSjOjCZbHpqhlIP6IOr211RPhoYBHhgD+4ySUoQfJxvvk3G7lEMavWzfhVo14imRx/ruDLn0CjEjTKu4EW8r+8egtJkZ3sHvN37lvzl6fA==',
]
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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 => 'photos-hoaonline247',
(int) 1 => 'larges',
(int) 2 => 'hoa-online-247.D196365',
(int) 3 => '5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
],
'language' => '',
'country' => 'vietnam',
'master' => '',
'province' => '',
'district' => '',
'controller' => 'Photos',
'action' => 'view',
'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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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-66c51bfe-720be7386e00794c50fb9690',
'HTTP_HOST' => 'uat.belovedbeyond.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '3.133.137.98',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'uat.belovedbeyond.vn',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.4.120',
'REMOTE_PORT' => '61334',
'REMOTE_ADDR' => '10.0.5.244',
'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' => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp',
'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) 1724193790.1831,
'REQUEST_TIME' => (int) 1724193790,
'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 => '/photos/view/photos-hoaonline247/larges/hoa-online-247.D196365/5b8e8ca2652fe82d3d8b4594.D196365.belove-beyond-personal-gift-platform.webp'
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\PhotosController) 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