Deprecated (8192)
: Creation of dynamic property App\Controller\PagesController::$session is deprecated [in
/home/techinvoices/git-main/src/Controller/AppController.php, line
57]
Code
$this->session = $this->request->getSession();
$this->user = $this->session->read('User');
Cake\Error\ErrorTrap->handleError() /home/techinvoices/git-main/src/Controller/AppController.php, line 57
App\Controller\AppController->initialize() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Controller/Controller.php, line 237
Cake\Controller\Controller->__construct() [internal], line ??
ReflectionClass->newInstance() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 111
Cake\Controller\ControllerFactory->create() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 360
Cake\Http\BaseApplication->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 69
Cake\Routing\Middleware\AssetMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /home/techinvoices/git-main/webroot/index.php, line 37
[main]
Deprecated (8192)
: Creation of dynamic property App\Controller\PagesController::$sessionId is deprecated [in
/home/techinvoices/git-main/src/Controller/AppController.php, line
100]
Code
$this->sessionId = $this->session->read('SessionId');
if (!$this->sessionId) {
Cake\Error\ErrorTrap->handleError() /home/techinvoices/git-main/src/Controller/AppController.php, line 100
App\Controller\AppController->initialize() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Controller/Controller.php, line 237
Cake\Controller\Controller->__construct() [internal], line ??
ReflectionClass->newInstance() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 111
Cake\Controller\ControllerFactory->create() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 360
Cake\Http\BaseApplication->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 69
Cake\Routing\Middleware\AssetMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /home/techinvoices/git-main/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file={$file} line={$line}";
trigger_error($message, E_USER_WARNING);
}
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/techinvoices/git-main/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
159]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/techinvoices/git-main/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /home/techinvoices/git-main/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/techinvoices/git-main/webroot/index.php, line 37
[main]
CORE/src/Http/Session.php at line 523
(edit)
|
$this->headerSentInfo['line'],
|
|
);
|
|
}
|
|
|
|
throw new CakeException($message);
|
|
}
|
|
|
|
if (!is_array($name)) {
|
|
$name = [$name => $value];
|
-
|
|
|
$this->sessionId = $this->session->read('SessionId');
|
|
if (!$this->sessionId) {
|
|
$this->sessionId = uniqid('', true);
|
|
$this->session->write('SessionId', $this->sessionId);
|
|
}
|
|
|
|
if (!$this->user){
|
|
if (!isset($_COOKIE['userCookie'])){
|
Toggle Arguments
'69375ef5d38321.62344538'
-
|
$tableAlias = ($plugin ? $plugin . '.' : '') . $this->name;
|
|
$this->defaultTable = $tableAlias;
|
|
}
|
|
|
|
$this->initialize();
|
|
|
|
$this->getEventManager()->on($this);
|
|
}
|
|
|
Toggle Arguments
-
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
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\Controller\ComponentRegistry) id:0 {
'_loaded' => [
(int) 0 => 'Flash',
]
'_Controller' => object(App\Controller\PagesController) id:1 {
user => null
organization => null
session => object(Cake\Http\Session) id:2 {
}
sessionId => '69375ef5d38321.62344538'
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id: 0 {}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Pages'
protected _tableLocator => null
protected _viewBuilder => object(Cake\View\ViewBuilder) id:6 {
}
}
'container' => object(Cake\Core\Container) id:7 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:8 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:9 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:10 {
}
protected delegates => [
]
}
'_eventManager' => object(Cake\Event\EventManager) id: 5 {}
'_eventClass' => 'Cake\Event\Event'
}
-
|
break;
|
|
}
|
|
}
|
|
if ($hasComponents) {
|
|
$controller = $reflection->newInstance(request: $request, components: $components);
|
|
} else {
|
|
$controller = $reflection->newInstance($request);
|
|
}
|
|
}
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
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\Controller\ComponentRegistry) id:0 {
'_loaded' => [
(int) 0 => 'Flash',
]
'_Controller' => object(App\Controller\PagesController) id:1 {
user => null
organization => null
session => object(Cake\Http\Session) id:2 {
}
sessionId => '69375ef5d38321.62344538'
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:3 {
}
protected response => object(Cake\Http\Response) id:4 {
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id: 0 {}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Pages'
protected _tableLocator => null
protected _viewBuilder => object(Cake\View\ViewBuilder) id:6 {
}
}
'container' => object(Cake\Core\Container) id:7 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:8 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:9 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:10 {
}
protected delegates => [
]
}
'_eventManager' => object(Cake\Event\EventManager) id: 5 {}
'_eventClass' => 'Cake\Event\Event'
}
-
|
assert($request instanceof ServerRequest);
|
|
Router::setRequest($request);
|
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
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
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) {
|
|
$token = $this->createToken();
|
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token));
|
|
$response = $handler->handle($request);
|
|
|
|
return $this->_addTokenCookie($token, $request, $response);
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'oYGSnppkYoen+fwLFfOHT2hTBVOK90Wj155oMHA8rdBWejB2806faFm1vCrZbtTQaPQlauF/jhGBvYrjm0OcvOG12dji5/INC2dkY+mWcJPlqV1TSFqYszceCRTDeP1Rb4bfHLpZ4LRQxEBThBu5cA==',
]
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/techinvoices/git-main/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
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/techinvoices/git-main/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'home',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
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/techinvoices/git-main/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 (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
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 => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/techinvoices/git-main/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, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/techinvoices/git-main/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'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
|
|
|
|
$response = $this->runner->run($middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 5
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
]
protected container => object(Cake\Core\Container) id:6 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:7 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:8 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:9 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'techinvoices',
'HOME' => '/home/techinvoices',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/',
'REMOTE_PORT' => '64120',
'SCRIPT_FILENAME' => '/home/techinvoices/git-main/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/techinvoices/git-main/webroot',
'REMOTE_ADDR' => '216.73.216.143',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '88.99.68.158',
'SERVER_NAME' => 'techinvoices.lt',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'techinvoices.lt',
'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' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'techinvoices.lt',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '872808-8262-3',
'H2_STREAM_ID' => '3',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://techinvoices.lt/',
'SCRIPT_URL' => '/',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'techinvoices.lt',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '872808-8262-3',
'REDIRECT_H2_STREAM_ID' => '3',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://techinvoices.lt/',
'REDIRECT_SCRIPT_URL' => '/',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1765236469.8481,
'REQUEST_TIME' => (int) 1765236469,
'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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'techinvoices.lt'
private port => null
private path => '/'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => [
'' => [maximum depth reached],
]
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/techinvoices/git-main/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 => [uninitialized]
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:4 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server.
|
|
$server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php