Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 465]Code Context/* set Expiration for this domain */$this->license_expiration = $this->license['license_expiration'];App\Controller\AppController::_setLicenseVariables() - APP/Controller/AppController.php, line 465 App\Controller\AppController::_getLicense() - APP/Controller/AppController.php, line 447 App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 77 App\Controller\DashboardsController::initialize() - APP/Controller/DashboardsController.php, line 17 Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 270 ReflectionClass::newInstance() - [internal], line ?? Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Warning (2): Trying to access array offset on value of type null [ROOT/vendor/cakephp/migrations/src/ConfigurationTrait.php, line 81]Code Context$connectionConfig = ConnectionManager::getConfig($connection);$adapterName = $this->getAdapterName($connectionConfig['driver']);Migrations\Migrations::getConfig() - ROOT/vendor/cakephp/migrations/src/ConfigurationTrait.php, line 81 Migrations\Migrations::run() - ROOT/vendor/cakephp/migrations/src/Migrations.php, line 306 Migrations\Migrations::status() - ROOT/vendor/cakephp/migrations/src/Migrations.php, line 142 App\Controller\AppController::_doMigrations() - APP/Controller/AppController.php, line 178 App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 86 App\Controller\DashboardsController::initialize() - APP/Controller/DashboardsController.php, line 17 Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 270 ReflectionClass::newInstance() - [internal], line ?? Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Warning (2): Trying to access array offset on value of type null [ROOT/vendor/cakephp/migrations/src/ConfigurationTrait.php, line 102]Code Context'port' => isset($connectionConfig['port']) ? $connectionConfig['port'] : null,'name' => $connectionConfig['database'],'charset' => isset($connectionConfig['encoding']) ? $connectionConfig['encoding'] : null,Migrations\Migrations::getConfig() - ROOT/vendor/cakephp/migrations/src/ConfigurationTrait.php, line 102 Migrations\Migrations::run() - ROOT/vendor/cakephp/migrations/src/Migrations.php, line 306 Migrations\Migrations::status() - ROOT/vendor/cakephp/migrations/src/Migrations.php, line 142 App\Controller\AppController::_doMigrations() - APP/Controller/AppController.php, line 178 App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 86 App\Controller\DashboardsController::initialize() - APP/Controller/DashboardsController.php, line 17 Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 270 ReflectionClass::newInstance() - [internal], line ?? Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Warning (512): Unable to emit headers. Headers sent in file=/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php, line 53]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 154]Code Context$response->getStatusCode(),($reasonPhrase ? ' ' . $reasonPhrase : '')));header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 154 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140 [main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Contextforeach ($values as $value) {header(sprintf('%s: %s',header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140 [main] - ROOT/webroot/index.php, line 40
Error: The datasource configuration test1.kynisi.eu was not found in config/app.php.
$connectionName = 'default'; |
|
if ($this->input->getOption('connection')) { |
|
$connectionName = $this->input->getOption('connection'); |
|
} |
|
$connection = ConnectionManager::get($connectionName); |
|
|
|
$env = $this->manager->getEnvironment('default'); |
|
$adapter = $env->getAdapter(); |
|
if (!$adapter instanceof CakeAdapter) { |
'test1.kynisi.eu'
$this->manager->setEnvironments([]); |
|
$this->manager->setConfig($config); |
|
} |
|
|
|
$this->setAdapter(); |
|
|
|
return $this->manager; |
|
} |
|
|
No arguments
} |
|
|
|
$this->setInput($input); |
|
$newConfig = $this->getConfig(true); |
|
$manager = $this->getManager($newConfig); |
|
$manager->setInput($input); |
|
|
|
if ($pdo !== null) { |
|
$adapter = $this->manager->getEnvironment('default')->getAdapter(); |
object(Phinx\Config\Config) {
[protected] configFilePath => null
[private] values => [
'paths' => [
'migrations' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/config/Migrations',
'seeds' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/config/Seeds'
],
'templates' => [
'file' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/vendor/cakephp/migrations/src/Template/Phinx/create.php.template'
],
'migration_base_class' => 'Migrations\AbstractMigration',
'environments' => [
'default_migration_table' => 'phinxlog',
'default_database' => 'default',
'default' => [
[maximum depth reached]
]
]
]
}
$this->setCommand('status'); |
|
$input = $this->getInput('Status', [], $options); |
|
$params = ['default', $input->getOption('format')]; |
|
|
|
return $this->run('printStatus', $params, $input); |
|
} |
|
|
|
/** |
|
* Migrates available migrations |
'printStatus'
[
(int) 0 => 'default',
(int) 1 => null
]
object(Symfony\Component\Console\Input\ArrayInput) {
[protected] definition => object(Symfony\Component\Console\Input\InputDefinition) {
[private] arguments => [[maximum depth reached]]
[private] requiredCount => (int) 0
[private] lastArrayArgument => null
[private] lastOptionalArgument => null
[private] options => [
[maximum depth reached]
]
[private] negations => [[maximum depth reached]]
[private] shortcuts => [
[maximum depth reached]
]
}
[protected] stream => null
[protected] options => [
'connection' => 'test1.kynisi.eu'
]
[protected] arguments => []
[protected] interactive => true
[private] parameters => [
'--connection' => 'test1.kynisi.eu'
]
}
|
|
private function _doMigrations() |
|
{ |
|
$this->migrations = new Migrations(['connection' => getDomain()]); |
|
$statuses = $this->migrations->status(); |
|
|
|
foreach ($statuses as $migration) { |
|
if ($migration['status'] === 'down') { |
|
$this->Telegram->sendMessageForAll(getDomain() . ' - ' . $migration['name'] . ' - Start Migration'); |
No arguments
if ($this->_checkAppVersionChanged()) { |
|
$this->_setMaintenanceMode(); |
|
$this->_clearCache(); |
|
$this->_clearTmpFolders(); |
|
$this->_doMigrations(); |
|
$this->_setCurrentAppVersionCached(); |
|
$this->_unsetMaintenanceMode(); |
|
} |
|
} else $this->getError503(); |
No arguments
{ |
|
|
|
public function initialize() |
|
{ |
|
parent::initialize(); |
|
$this->_setTextVariables(); |
|
$this->loadComponent('Document'); |
|
$this->loadComponent('Calendar'); |
|
$this->loadComponent('Search'); |
No arguments
if ($components !== null) { |
|
$this->components($components); |
|
} |
|
|
|
$this->initialize(); |
|
|
|
$this->_mergeControllerVars(); |
|
$this->_loadComponents(); |
|
$this->getEventManager()->on($this); |
No arguments
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
$this->missingController($request); |
|
} |
|
|
|
/** @var \Cake\Controller\Controller $controller */ |
|
$controller = $reflection->newInstance($request, $response); |
|
|
|
return $controller; |
|
} |
|
|
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
// event handler if there is one. |
|
if ($beforeEvent->getData('controller') instanceof Controller) { |
|
$controller = $beforeEvent->getData('controller'); |
|
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'pass' => [],
'controller' => 'Dashboards',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
(int) 1 => 'Cake\Routing\Middleware\AssetMiddleware',
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'kynisi.eu_ifzfcm8pzq',
'HOME' => '/var/www/vhosts/kynisi.eu',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/',
'REMOTE_PORT' => '51572',
'SCRIPT_FILENAME' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/kynisi.eu/httpdocs/development/dev1.kynisi.eu',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '82.223.23.164',
'SERVER_NAME' => 'test1.kynisi.eu',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '<address>Apache Server at test1.kynisi.eu Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '216.73.216.143',
'HTTP_HOST' => 'test1.kynisi.eu',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'test1.kynisi.eu',
'HTTPS' => 'on',
'UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'test1.kynisi.eu',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aT-lL2RU1uuCPo3tKwOqaQAAABg',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765778735.8091,
'REQUEST_TIME' => (int) 1765778735,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => ''
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] trustedProxies => []
[protected] _input => null
[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]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Laminas\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'test1.kynisi.eu'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => object(Cake\Http\Session\CacheSession) {}
[protected] _started => null
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
[private] mergeFilesAsObjects => false
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
// 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()); |
|
|
No arguments
If you want to customize this error message, create src/Template/Error/missing_datasource_config.ctp