Warning (2)
: rename(/var/www/archivos.stuker.com.ar/logs/error.log,/var/www/archivos.stuker.com.ar/logs/error.log.1733280714): Permission denied [in
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
203]
Code
} else {
$result = rename($filePath, $filePath . '.' . time());
}
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 203
Cake\Log\Engine\FileLog->_rotateFile() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 131
Cake\Log\Engine\FileLog->log() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Log.php, line 381
Cake\Log\Log::write() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Log.php, line 466
Cake\Log\Log::warning() /var/www/archivos.stuker.com.ar/vendor/cakephp/debug_kit/src/ToolbarService.php, line 182
DebugKit\ToolbarService->isSuspiciouslyProduction() /var/www/archivos.stuker.com.ar/vendor/cakephp/debug_kit/src/ToolbarService.php, line 116
DebugKit\ToolbarService->isEnabled() /var/www/archivos.stuker.com.ar/vendor/cakephp/debug_kit/src/DebugKitPlugin.php, line 50
DebugKit\DebugKitPlugin->bootstrap() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 124
Cake\Http\Server->bootstrap() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/archivos.stuker.com.ar/webroot/index.php, line 37
[main]
Warning (2)
: rename(/var/www/archivos.stuker.com.ar/logs/error.log,/var/www/archivos.stuker.com.ar/logs/error.log.1733280714): Permission denied [in
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
203]
Code
} else {
$result = rename($filePath, $filePath . '.' . time());
}
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 203
Cake\Log\Engine\FileLog->_rotateFile() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 131
Cake\Log\Engine\FileLog->log() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Log.php, line 381
Cake\Log\Log::write() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Log/Log.php, line 450
Cake\Log\Log::error() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 90
Cake\Error\ErrorLogger->logException() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 354
Cake\Error\ExceptionTrap->logException() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135
Cake\Error\Middleware\ErrorHandlerMiddleware->handleException() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 119
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 103
Cake\Http\Server->run() /var/www/archivos.stuker.com.ar/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/var/www/archivos.stuker.com.ar/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);
}
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /var/www/archivos.stuker.com.ar/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
163]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 163
Cake\Http\ResponseEmitter->emitStatusLine() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /var/www/archivos.stuker.com.ar/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /var/www/archivos.stuker.com.ar/vendor/cakephp/cakephp/src/Http/Server.php, line 139
Cake\Http\Server->emit() /var/www/archivos.stuker.com.ar/webroot/index.php, line 37
[main]
Error
SearchController could not be found.
In the case you tried to access a plugin controller make sure you added it to your composer file or you use the autoload option for the plugin.
Suggestion
Create the class SearchController below in file: src/Controller/SearchController.php
<?php
namespace App\Controller;
use App\Controller\AppController;
class SearchController extends AppController
{
}
CORE/src/Controller/ControllerFactory.php at line 308
(edit)
|
* @return \Cake\Http\Exception\MissingControllerException |
|
*/ |
|
protected function missingController(ServerRequest $request): MissingControllerException |
|
{ |
|
return new MissingControllerException([ |
|
'controller' => $request->getParam('controller'), |
|
'plugin' => $request->getParam('plugin'), |
|
'prefix' => $request->getParam('prefix'), |
|
'_ext' => $request->getParam('_ext'), |
-
|
{ |
|
assert($request instanceof ServerRequest); |
|
$className = $this->getControllerClass($request); |
|
if ($className === null) { |
|
throw $this->missingController($request); |
|
} |
|
|
|
$reflection = new ReflectionClass($className); |
|
if ($reflection->isAbstract()) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 {
},
'csrfToken' => 'riX4FHXnEiiVU7NMYCJxUarNppsaYpWIOGEeuD5zwfjUHkfGoECkAtMjWM7rAjewsDXPK7dqXX2/PMfbAovvn9PPIbhFrKY/m6vHoiwE87sJAiqJDRWgyeZ4c6CRd8VgshdvqNI7AoTWBqxNhw44TQ==',
]
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
}
-
|
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 => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 {
},
'csrfToken' => 'riX4FHXnEiiVU7NMYCJxUarNppsaYpWIOGEeuD5zwfjUHkfGoECkAtMjWM7rAjewsDXPK7dqXX2/PMfbAovvn9PPIbhFrKY/m6vHoiwE87sJAiqJDRWgyeZ4c6CRd8VgshdvqNI7AoTWBqxNhw44TQ==',
]
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 => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 {
},
'csrfToken' => 'riX4FHXnEiiVU7NMYCJxUarNppsaYpWIOGEeuD5zwfjUHkfGoECkAtMjWM7rAjewsDXPK7dqXX2/PMfbAovvn9PPIbhFrKY/m6vHoiwE87sJAiqJDRWgyeZ4c6CRd8VgshdvqNI7AoTWBqxNhw44TQ==',
]
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 => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 {
},
'csrfToken' => 'riX4FHXnEiiVU7NMYCJxUarNppsaYpWIOGEeuD5zwfjUHkfGoECkAtMjWM7rAjewsDXPK7dqXX2/PMfbAovvn9PPIbhFrKY/m6vHoiwE87sJAiqJDRWgyeZ4c6CRd8VgshdvqNI7AoTWBqxNhw44TQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 {
},
'csrfToken' => 'riX4FHXnEiiVU7NMYCJxUarNppsaYpWIOGEeuD5zwfjUHkfGoECkAtMjWM7rAjewsDXPK7dqXX2/PMfbAovvn9PPIbhFrKY/m6vHoiwE87sJAiqJDRWgyeZ4c6CRd8VgshdvqNI7AoTWBqxNhw44TQ==',
]
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/archivos.stuker.com.ar/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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/archivos.stuker.com.ar/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$container = $this->app instanceof ContainerApplicationInterface |
|
? $this->app->getContainer() |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 => [
'controller' => 'Search',
'action' => 'index.php',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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/archivos.stuker.com.ar/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !is_file($assetFile)) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$file = new SplFileInfo($assetFile); |
|
$modifiedTime = $file->getMTime(); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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/archivos.stuker.com.ar/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 => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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 => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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/archivos.stuker.com.ar/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 => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
]
protected container => object(Cake\Core\Container) id:6 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:7 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:8 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:9 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/search/index.php',
'REDIRECT_SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/search/index.php',
'SCRIPT_URI' => 'http://moodle.stuker.com.ar/search/index.php',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Wed, 14 Aug 2024 23:07:56 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'moodle.stuker.com.ar',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.57 (Debian) Server at moodle.stuker.com.ar Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.57 (Debian)',
'SERVER_NAME' => 'moodle.stuker.com.ar',
'SERVER_ADDR' => '45.79.163.85',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.97.14.82',
'DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/archivos.stuker.com.ar',
'SERVER_ADMIN' => 'stukerramon@gmail.com',
'SCRIPT_FILENAME' => '/var/www/archivos.stuker.com.ar/webroot/index.php',
'REMOTE_PORT' => '49528',
'REDIRECT_URL' => '/webroot/search/index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/search/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1733280714.9281,
'REQUEST_TIME' => (int) 1733280714,
'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 #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'moodle.stuker.com.ar'
private port => null
private path => '/search/index.php'
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 => 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/archivos.stuker.com.ar/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/missing_controller.php