Error The action tags is not defined in NewsController
Error
Create NewsController::tags() in file: src/Controller/NewsController.php.
<?php
namespace App\Controller;
use App\Controller\AppController;
class NewsController extends AppController
{
public function tags()
{
}
}
CORE/src/Controller/Controller.php at line 539
(edit)
|
$request = $this->request; |
|
$action = $request->getParam('action'); |
|
|
|
if (!$this->isAction($action)) { |
|
throw new MissingActionException([ |
|
'controller' => $this->name . 'Controller', |
|
'action' => $request->getParam('action'), |
|
'prefix' => $request->getParam('prefix') ?: '', |
|
'plugin' => $request->getParam('plugin'), |
-
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
$action = $controller->getAction(); |
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
Toggle Arguments
-
|
|
|
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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => '9HVfRazACVgj78bWUk7pIR3Yqy5/1VG2kFZUvS/MZk3ar0T3mLoSWPOfCG1jts3Si5JVBzCx7SHsR8oI3/MEaBoMgtau/7hwLe3PHR60ZIXxZW3YSa5XLO7MIsT7iyRukPs+DwWFrubv8WI0UYnUFQ==',
]
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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => '9HVfRazACVgj78bWUk7pIR3Yqy5/1VG2kFZUvS/MZk3ar0T3mLoSWPOfCG1jts3Si5JVBzCx7SHsR8oI3/MEaBoMgtau/7hwLe3PHR60ZIXxZW3YSa5XLO7MIsT7iyRukPs+DwWFrubv8WI0UYnUFQ==',
]
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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => '9HVfRazACVgj78bWUk7pIR3Yqy5/1VG2kFZUvS/MZk3ar0T3mLoSWPOfCG1jts3Si5JVBzCx7SHsR8oI3/MEaBoMgtau/7hwLe3PHR60ZIXxZW3YSa5XLO7MIsT7iyRukPs+DwWFrubv8WI0UYnUFQ==',
]
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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => '9HVfRazACVgj78bWUk7pIR3Yqy5/1VG2kFZUvS/MZk3ar0T3mLoSWPOfCG1jts3Si5JVBzCx7SHsR8oI3/MEaBoMgtau/7hwLe3PHR60ZIXxZW3YSa5XLO7MIsT7iyRukPs+DwWFrubv8WI0UYnUFQ==',
]
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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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' => 'tags',
'pass' => [
(int) 0 => '#SIRKUITLOASAIL',
],
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'www.santiyoga.com',
'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' => '44.222.122.246',
'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' => '43354',
'REDIRECT_URL' => '/news/tags/#SIRKUITLOASAIL',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/tags/%23SIRKUITLOASAIL',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711693749.822,
'REQUEST_TIME' => (int) 1711693749,
'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/missing_action.php