Warning (2)
: Creating default object from empty value [in
/home/yuasa/pusat/www.santiyoga.com/public/src/Controller/NewsController.php, line
93]
Code
$article->view_count += 1;
$article->last_view = FrozenTime::now();
App\Controller\NewsController->detail() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php, line 560
Cake\Controller\Controller->invokeAction() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 140
Cake\Controller\ControllerFactory->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 115
Cake\Controller\ControllerFactory->invoke() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 325
Cake\Http\BaseApplication->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 166
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 189
Cake\Routing\Middleware\RoutingMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Routing\Middleware\AssetMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 149
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 67
Cake\Http\Runner->run() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 99
Cake\Http\Server->run() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Notice (8)
: Undefined property: stdClass::$view_count [in
/home/yuasa/pusat/www.santiyoga.com/public/src/Controller/NewsController.php, line
93]
Code
$article->view_count += 1;
$article->last_view = FrozenTime::now();
App\Controller\NewsController->detail() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php, line 560
Cake\Controller\Controller->invokeAction() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 140
Cake\Controller\ControllerFactory->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 115
Cake\Controller\ControllerFactory->invoke() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 325
Cake\Http\BaseApplication->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 166
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 189
Cake\Routing\Middleware\RoutingMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Routing\Middleware\AssetMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 149
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 67
Cake\Http\Runner->run() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 99
Cake\Http\Server->run() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php line=1023 [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
71]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:1023) [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
168]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter->emitStatusLine() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:1023) [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
197]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter->emitHeaders() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Error in:
ROOT/vendor/cakephp/cakephp/src/ORM/Table.php, line 1915
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table"
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
- The class for the specified table does not exist.
- The Table was created with a typo: $this->getTableLocator()->get('Articles');
- The class file has a typo in the name or incorrect namespace: class Articles extends Table
- The file containing the class has a typo or incorrect casing: Articles.php
- The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
- The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
- ArticleCategoriesCategories
- Thumb
- Users
- Thumb2
- ImageBig
- Tags
CORE/src/ORM/Table.php at line 1915
(edit)
|
* @param \Cake\ORM\SaveOptionsBuilder|\ArrayAccess|array $options The options to use when saving. |
|
* @return \Cake\Datasource\EntityInterface|false |
|
* @throws \Cake\ORM\Exception\RolledbackTransactionException If the transaction is aborted in the afterSave event. |
|
*/ |
|
public function save(EntityInterface $entity, $options = []) |
|
{ |
|
if ($options instanceof SaveOptionsBuilder) { |
|
deprecationWarning('SaveOptionsBuilder is deprecated. Use a normal array for options instead.'); |
|
$options = $options->toArray(); |
-
|
// tambah view count dan last seen |
|
|
|
$article->view_count += 1; |
|
$article->last_view = FrozenTime::now(); |
|
$this->Articles->save($article); |
|
|
|
// get relatedNews |
|
$relatedArticles = $this->Articles->getRelatedNewsByCategories($this->company_id_default, $article->article_categories, 3, $article->id); |
|
$titleNow .= $article->title; |
Toggle Arguments
object(stdClass) id:0 {
view_count => (int) 1
last_view => object(Cake\I18n\FrozenTime) id:1 {
'time' => '2024-11-02 04:54:59.356184+07:00'
'timezone' => 'Asia/Jakarta'
'fixedNowTime' => false
}
}
-
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
Toggle Arguments
-
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
Toggle Arguments
[
(int) 0 => 'index.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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'MmjfZZlCMaEcECFG2XlCAPhfKuntd3IsIYkk+VJ0qkMsvV+hO83SBfzz8vhPzc5ZsE4CzQzQcw70U6LjVWsr1v9th1azgIk4zmYSjd1CEx4YvUHBNkCcdh+FbsBerrZgzpXLmXqo+2uDfzv7P+NCOg==',
]
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 is needed for auto-wiring. Should be removed in 5.x |
|
$container->add(ComponentRegistry::class, $controller->components()); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Toggle Arguments
object(App\Controller\NewsController) id:0 {
name => 'News'
company_id_default => (int) 1
paginate => [
'Articles' => [
'order' => [
'' => [maximum depth reached],
],
],
]
settings => object(Cake\ORM\Entity) id:1 {
'id' => (int) 1
'cms_url' => 'https://cms.santiyoga.com/'
'cms_title' => 'Yuasa CMS'
'cms_description' => 'Yuasa CMS'
'cms_keywords' => 'Yuasa CMS'
'cms_author' => 'Yuasa'
'cms_app_name' => 'Yuasa'
'cms_logo_url' => null
'company_brand_name' => 'Santi Yoga'
'company_address' => ''
'customer_phone_number' => ''
'customer_email' => ''
'no_reply_email' => 'apps@santiyoga.com'
'admin_email' => 'e-commerce@santiyoga.com'
'copyright_text' => '@Yuasa 2019'
'email_logo_url' => 'http://cmsyuasa.ligasedotwc.web.id/img/logo-divertune-small.png'
'path_content' => '/home/yuasa/pusat/cms.santiyoga.com/public/webroot/contents/'
'path_webroot' => '/home/yuasa/pusat/cms.santiyoga.com/public/webroot/'
'map_api_key' => ''
'map_android_api_key' => ''
'map_browser_api_key' => 'AIzaSyA21Q3UJhCqxo92qv009rNSDU8R2CXDX_A'
'map_static_api_key' => 'AIzaSyArvm8fpamLZF86lha1xsxGrZ9RZRtcUec'
'firebase_api_key' => ''
'facebook_app_id' => ''
'google_client_id' => ''
'google_client_secret' => ''
'default_lat' => '-6.175414'
'default_lng' => '106.827122'
'ios_bundle_id' => null
'android_package_name' => null
'android_minimum_version' => null
'authorization_id' => 'wt1U5MACWJFTXGenFoZoiLwQGrLgdwooKDicKDJWooLiverpoolADFbHA'
'modified' => object(Cake\I18n\FrozenTime) id:2 {
}
'[new]' => false
'[accessible]' => [
'*' => true,
]
'[dirty]' => [
]
'[original]' => [
]
'[virtual]' => [
]
'[hasErrors]' => false
'[errors]' => [
]
'[invalid]' => [
]
'[repository]' => 'Settings'
}
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:3 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:4 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
General => object(App\Controller\Component\GeneralComponent) id:5 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
]
}
Paginator => object(Cake\Controller\Component\PaginatorComponent) id:6 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'page' => (int) 1,
'limit' => (int) 20,
'maxLimit' => (int) 100,
'allowedParameters' => [
'' => [maximum depth reached],
],
'sortableFields' => null,
'finder' => 'all',
]
}
Articles => object(App\Model\Table\ArticlesTable) id:7 {
'registryAlias' => 'Articles'
'table' => 'articles'
'alias' => 'Articles'
'entityClass' => 'App\Model\Entity\Article'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'ArticleCategories',
(int) 2 => 'Users',
(int) 3 => 'Companies',
(int) 4 => 'Thumb',
(int) 5 => 'Thumb2',
(int) 6 => 'ImageBig',
(int) 7 => 'ArticleCategoriesCategories',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected request => object(Cake\Http\ServerRequest) id:8 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:9 {
}
protected uri => object(Cake\Http\Uri) id:10 {
}
protected session => object(Cake\Http\Session) id:11 {
}
protected flash => object(Cake\Http\FlashMessage) id:12 {
}
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:13 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:14 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:15 {
'_Controller' => object(App\Controller\NewsController) id: 0 {}
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
(int) 2 => 'General',
(int) 3 => 'Paginator',
]
'_eventManager' => object(Cake\Event\EventManager) id:16 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 16 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'News'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:17 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'News'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 17 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:18 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'corporate_main'
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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'MmjfZZlCMaEcECFG2XlCAPhfKuntd3IsIYkk+VJ0qkMsvV+hO83SBfzz8vhPzc5ZsE4CzQzQcw70U6LjVWsr1v9th1azgIk4zmYSjd1CEx4YvUHBNkCcdh+FbsBerrZgzpXLmXqo+2uDfzv7P+NCOg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'MmjfZZlCMaEcECFG2XlCAPhfKuntd3IsIYkk+VJ0qkMsvV+hO83SBfzz8vhPzc5ZsE4CzQzQcw70U6LjVWsr1v9th1azgIk4zmYSjd1CEx4YvUHBNkCcdh+FbsBerrZgzpXLmXqo+2uDfzv7P+NCOg==',
]
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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'MmjfZZlCMaEcECFG2XlCAPhfKuntd3IsIYkk+VJ0qkMsvV+hO83SBfzz8vhPzc5ZsE4CzQzQcw70U6LjVWsr1v9th1azgIk4zmYSjd1CEx4YvUHBNkCcdh+FbsBerrZgzpXLmXqo+2uDfzv7P+NCOg==',
]
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 => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
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 => [
'controller' => 'News',
'action' => 'detail',
'pass' => [
(int) 0 => 'index.html',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
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 => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.santiyoga.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 19 Jun 2024 06:08:24 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'www.santiyoga.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at www.santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'www.santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.239.90.61',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '34428',
'REDIRECT_URL' => '/news/detail/index.html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/detail/index.html',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730498099.317,
'REQUEST_TIME' => (int) 1730498099,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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\NewsController) 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