Warning (2)
: file_put_contents(/var/www/html/logs/error.log): Failed to open stream: Permission denied [in
/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
137]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
Cake\Error\ErrorTrap->handleError() [internal], line ??
/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 137
Cake\Log\Engine\FileLog->log() /var/www/html/vendor/cakephp/cakephp/src/Log/Log.php, line 381
Cake\Log\Log::write() /var/www/html/vendor/cakephp/cakephp/src/Log/Log.php, line 466
Cake\Log\Log::warning() /var/www/html/vendor/cakephp/debug_kit/src/ToolbarService.php, line 178
DebugKit\ToolbarService->isSuspiciouslyProduction() /var/www/html/vendor/cakephp/debug_kit/src/ToolbarService.php, line 115
DebugKit\ToolbarService->isEnabled() /var/www/html/vendor/cakephp/debug_kit/src/DebugKitPlugin.php, line 50
DebugKit\DebugKitPlugin->bootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 201
Cake\Http\BaseApplication->pluginBootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 125
Cake\Http\Server->bootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 85
Cake\Http\Server->run() /var/www/html/webroot/index.php, line 37
[main]
Warning (2)
: file_put_contents(/var/www/html/logs/error.log): Failed to open stream: Permission denied [in
/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
137]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
Cake\Error\ErrorTrap->handleError() [internal], line ??
/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 137
Cake\Log\Engine\FileLog->log() /var/www/html/vendor/cakephp/cakephp/src/Log/Log.php, line 381
Cake\Log\Log::write() /var/www/html/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 63
Cake\Error\ErrorLogger->log() /var/www/html/vendor/psr/log/src/LoggerTrait.php, line 50
Cake\Error\ErrorLogger->error() /var/www/html/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 125
Cake\Error\ErrorLogger->logException() /var/www/html/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 355
Cake\Error\ExceptionTrap->logException() /var/www/html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135
Cake\Error\Middleware\ErrorHandlerMiddleware->handleException() /var/www/html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 119
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /var/www/html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /var/www/html/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /var/www/html/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php line=137 [in
/var/www/html/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 ??
/var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:137) [in
/var/www/html/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 ??
/var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:137) [in
/var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/webroot/index.php, line 37
[main]
Error
The view for PagesController::display() was not found.
Confirm you have created the file: "Pages/phpstorm:/open.php" in one of the following paths:
- /var/www/html/templates/Pages/phpstorm:/open.php
CORE/src/View/View.php at line 1376
(edit)
|
return $this->_checkFilePath($path . $name, $path);
|
|
}
|
|
}
|
|
|
|
throw new MissingTemplateException($name, $paths);
|
|
}
|
|
|
|
/**
|
|
* Change the name of a view template file into underscored format.
|
-
|
$defaultLayout = $this->layout;
|
|
$this->layout = $layout;
|
|
}
|
|
|
|
$templateFileName = $this->_getTemplateFileName($template);
|
|
$this->_currentType = static::TYPE_TEMPLATE;
|
|
$this->dispatchEvent('View.beforeRender', [$templateFileName]);
|
|
$this->Blocks->set('content', $this->_render($templateFileName));
|
|
$this->dispatchEvent('View.afterRender', [$templateFileName]);
|
Toggle Arguments
'Pages/phpstorm:/open.php'
-
|
}
|
|
$viewClass = $this->chooseViewClass();
|
|
$view = $this->createView($viewClass);
|
|
|
|
$contents = $view->render();
|
|
$response = $view->getResponse()->withStringBody($contents);
|
|
|
|
return $this->setResponse($response)->response;
|
|
}
|
Toggle Arguments
-
|
}
|
|
$this->set(compact('page', 'subpage'));
|
|
|
|
try {
|
|
return $this->render(implode('/', $path));
|
|
} catch (MissingTemplateException $exception) {
|
|
if (Configure::read('debug')) {
|
|
throw $exception;
|
|
}
|
Toggle Arguments
-
|
* @return void
|
|
*/
|
|
public function invokeAction(Closure $action, array $args): void
|
|
{
|
|
$result = $action(...$args);
|
|
if ($result !== null) {
|
|
assert(
|
|
$result instanceof Response,
|
|
sprintf(
|
Toggle Arguments
-
|
$args = $this->getActionArgs(
|
|
$action,
|
|
array_values((array)$controller->getRequest()->getParam('pass')),
|
|
);
|
|
$controller->invokeAction($action, $args);
|
|
|
|
$result = $controller->shutdownProcess();
|
|
if ($result !== null) {
|
|
return $result;
|
Toggle Arguments
[
(int) 0 => 'phpstorm:',
(int) 1 => 'open',
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this);
|
|
}
|
|
|
|
return $this->handle($controller->getRequest());
|
|
}
|
|
|
|
/**
|
|
* Invoke the action.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(App\Controller\PagesController) id:0 {
protected skipAuthorization => [
(int) 0 => 'login',
(int) 1 => 'logout',
(int) 2 => 'resetPassword',
(int) 3 => 'register',
(int) 4 => 'display',
(int) 5 => 'confirmEmail',
(int) 6 => 'setResetCode',
(int) 7 => 'registerEvent',
(int) 8 => 'getScript',
]
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:1 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:2 {
}
protected uri => object(Laminas\Diactoros\Uri) id:3 {
}
protected session => object(Cake\Http\Session) id:4 {
}
protected flash => object(Cake\Http\FlashMessage) id:5 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:6 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:7 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected paginate => [
]
protected autoRender => false
protected _components => object(Cake\Controller\ComponentRegistry) id:8 {
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Authentication',
]
'_Controller' => object(App\Controller\PagesController) id: 0 {}
'container' => object(Cake\Core\Container) id:9 {
}
'_eventManager' => object(Cake\Event\EventManager) id:10 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 10 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Pages'
protected _tableLocator => null
protected _viewBuilder => object(Cake\View\ViewBuilder) id:11 {
protected _templatePath => 'Pages'
protected _template => 'phpstorm:/open'
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => 'Pages'
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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
}
-
|
$request = $request->withAttribute('authentication', $service);
|
|
$request = $request->withAttribute('authenticationResult', $result);
|
|
|
|
try {
|
|
$response = $handler->handle($request);
|
|
$authenticator = $service->getAuthenticationProvider();
|
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface && $result->getData()) {
|
|
$return = $service->persistIdentity($request, $response, $result->getData());
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
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 => '/var/www/html/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 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/var/www/html/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 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => 'phpstorm:',
(int) 1 => 'open',
],
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
'_matchedRoute' => '/pages/*',
'?' => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/var/www/html/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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/var/www/html/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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/var/www/html/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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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(Authentication\Middleware\AuthenticationMiddleware) 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 => [
'file' => '/var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => '362',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'affiliate.beta.seed4.me',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_VIA' => '2.0 Caddy',
'HTTP_X_FORWARDED_FOR' => '216.73.216.162',
'HTTP_X_FORWARDED_HOST' => 'affiliate.beta.seed4.me',
'HTTP_X_FORWARDED_PROTO' => 'https',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.66 (Debian) Server at affiliate.beta.seed4.me Port 8080</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.66 (Debian)',
'SERVER_NAME' => 'affiliate.beta.seed4.me',
'SERVER_ADDR' => '127.0.0.1',
'SERVER_PORT' => '8080',
'REMOTE_ADDR' => '127.0.0.1',
'DOCUMENT_ROOT' => '/var/www/html/webroot',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/webroot',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/webroot/index.php',
'REMOTE_PORT' => '53862',
'REDIRECT_URL' => '/pages/phpstorm:/open',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'REQUEST_URI' => '/pages/phpstorm:/open?file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1771944854.4091,
'REQUEST_TIME' => (int) 1771944854,
'argv' => [
(int) 0 => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362',
],
'argc' => (int) 1,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'affiliate.beta.seed4.me'
private port => null
private path => '/pages/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FHttp%2FBaseApplication.php&line=362'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/var/www/html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\PagesController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server.
|
|
$server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/missing_template.php