Warning (2)
: file_put_contents(/var/www/html/estadisticasdspace/logs/error.log): Failed to open stream: Permission denied [in
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
137]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 137
Cake\Log\Engine\FileLog->log() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Log.php, line 382
Cake\Log\Log::write() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Log.php, line 467
Cake\Log\Log::warning() /var/www/html/estadisticasdspace/vendor/cakephp/debug_kit/src/ToolbarService.php, line 181
DebugKit\ToolbarService->isSuspiciouslyProduction() /var/www/html/estadisticasdspace/vendor/cakephp/debug_kit/src/ToolbarService.php, line 115
DebugKit\ToolbarService->isEnabled() /var/www/html/estadisticasdspace/vendor/cakephp/debug_kit/src/DebugKitPlugin.php, line 50
DebugKit\DebugKitPlugin->bootstrap() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 199
Cake\Http\BaseApplication->pluginBootstrap() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 125
Cake\Http\Server->bootstrap() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 85
Cake\Http\Server->run() /var/www/html/estadisticasdspace/webroot/index.php, line 37
[main]
Warning (2)
: file_put_contents(/var/www/html/estadisticasdspace/logs/error.log): Failed to open stream: Permission denied [in
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
137]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 137
Cake\Log\Engine\FileLog->log() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Log/Log.php, line 382
Cake\Log\Log::write() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 63
Cake\Error\ErrorLogger->log() /var/www/html/estadisticasdspace/vendor/psr/log/src/LoggerTrait.php, line 50
Cake\Error\ErrorLogger->error() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 101
Cake\Error\ErrorLogger->logException() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 355
Cake\Error\ExceptionTrap->logException() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135
Cake\Error\Middleware\ErrorHandlerMiddleware->handleException() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 119
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /var/www/html/estadisticasdspace/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/var/www/html/estadisticasdspace/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/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/estadisticasdspace/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
163]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 163
Cake\Http\ResponseEmitter->emitStatusLine() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/estadisticasdspace/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /var/www/html/estadisticasdspace/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /var/www/html/estadisticasdspace/webroot/index.php, line 37
[main]
Connection to Postgres could not be established: SQLSTATE[08006] [7] could not connect to server: Permission denied
Is the server running on host "biteca-rds-02.cqfklem6azjo.us-east-1.rds.amazonaws.com" (10.0.0.202) and accepting
TCP/IP connections on port 5432?
CORE/src/Database/Driver.php at line 194
(edit)
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
|
try { |
|
return $retry->run($action); |
|
} catch (PDOException $e) { |
|
throw new MissingConnectionException( |
|
[ |
|
'driver' => App::shortName(static::class, 'Database/Driver'), |
|
'reason' => $e->getMessage(), |
|
], |
-
|
} else { |
|
$dsn = "pgsql:dbname={$config['database']}"; |
|
} |
|
|
|
$this->pdo = $this->createPdo($dsn, $config); |
|
if (!empty($config['encoding'])) { |
|
$this->setEncoding($config['encoding']); |
|
} |
|
|
Toggle Arguments
'pgsql:host=biteca-rds-02.cqfklem6azjo.us-east-1.rds.amazonaws.com;port=5432;dbname=fedepalma_dspace'
[
'_role' => 'write',
'persistent' => false,
'timezone' => 'UTC',
'encoding' => 'UTF8',
'flags' => [
(int) 12 => false,
(int) 20 => false,
(int) 3 => (int) 2,
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'host' => 'biteca-rds-02.cqfklem6azjo.us-east-1.rds.amazonaws.com',
'username' => 'postgres',
'password' => 'bESPhn2fpFGzhqqrWA7z',
'database' => 'fedepalma_dspace',
'url' => null,
'schema' => 'public',
'port' => (int) 5432,
'init' => [
],
]
-
|
* @param \Cake\Database\Driver $driver The driver to use. |
|
*/ |
|
public function __construct(Driver $driver) |
|
{ |
|
$driver->connect(); |
|
$this->_driver = $driver; |
|
} |
|
|
|
/** |
Toggle Arguments
-
|
* @inheritDoc |
|
*/ |
|
public function schemaDialect(): SchemaDialect |
|
{ |
|
return $this->_schemaDialect ?? ($this->_schemaDialect = new PostgresSchemaDialect($this)); |
|
} |
|
|
|
/** |
|
* Sets connection encoding |
Toggle Arguments
object(Cake\Database\Driver\Postgres) id:0 {
'connected' => false
'role' => 'write'
}
-
|
*/ |
|
public function __construct(Connection $connection) |
|
{ |
|
$this->_connection = $connection; |
|
$this->_dialect = $connection->getDriver()->schemaDialect(); |
|
} |
|
|
|
/** |
|
* Get the list of tables, excluding any views, available in the current connection. |
Toggle Arguments
-
|
} |
|
|
|
if (!empty($this->_config['cacheMetadata'])) { |
|
return $this->_schemaCollection = new CachedCollection( |
|
new SchemaCollection($this), |
|
empty($this->_config['cacheKeyPrefix']) ? $this->configName() : $this->_config['cacheKeyPrefix'], |
|
$this->getCacher() |
|
); |
|
} |
Toggle Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Postgres',
'persistent' => false,
'timezone' => 'UTC',
'encoding' => 'UTF8',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'name' => 'default',
]
'readDriver' => object(Cake\Database\Driver\Postgres) id:1 {
'connected' => false
'role' => 'write'
}
'writeDriver' => object(Cake\Database\Driver\Postgres) id: 1 {}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
}
-
|
public function getSchema(): TableSchemaInterface |
|
{ |
|
if ($this->_schema === null) { |
|
$this->_schema = $this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
Toggle Arguments
-
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
Toggle Arguments
-
|
{ |
|
parent::__construct($table->getConnection()); |
|
|
|
$this->setRepository($table); |
|
$this->addDefaultTypes($table); |
|
} |
|
|
|
/** |
|
* Set the result set for a query. |
Toggle Arguments
object(App\Model\Table\HandleTable) id:0 {
'registryAlias' => 'Handle'
'table' => 'handle'
'alias' => 'Handle'
'entityClass' => 'App\Model\Entity\Handle'
'associations' => [
(int) 0 => 'Dspaceobject',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery |
|
*/ |
|
public function select(Table $table): SelectQuery |
|
{ |
|
return new SelectQuery($table); |
|
} |
|
|
|
/** |
|
* Create a new InsertQuery instance. |
Toggle Arguments
object(App\Model\Table\HandleTable) id:0 {
'registryAlias' => 'Handle'
'table' => 'handle'
'alias' => 'Handle'
'entityClass' => 'App\Model\Entity\Handle'
'associations' => [
(int) 0 => 'Dspaceobject',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery |
|
*/ |
|
public function selectQuery(): SelectQuery |
|
{ |
|
return $this->queryFactory->select($this); |
|
} |
|
|
|
/** |
|
* Creates a new insert query |
Toggle Arguments
object(App\Model\Table\HandleTable) id:0 {
'registryAlias' => 'Handle'
'table' => 'handle'
'alias' => 'Handle'
'entityClass' => 'App\Model\Entity\Handle'
'associations' => [
(int) 0 => 'Dspaceobject',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery The query builder |
|
*/ |
|
public function find(string $type = 'all', mixed ...$args): SelectQuery |
|
{ |
|
return $this->callFinder($type, $this->selectQuery(), ...$args); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
Toggle Arguments
-
|
|
|
if(is_null($id)){ |
|
$handle = $this->request->getQuery("handle"); |
|
if($handle){ |
|
$handle = $this->fetchTable("Handle")->find()->where(["handle" => $handle])->first(); |
|
$id = $handle->resource_id; |
|
} |
|
} |
|
|
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
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'nGpsozg10pyvW7kIPODH3FmM+9hVydCzoznV2Fbvuvx+YvE0ud5LxKivBPQPnw+AsjLp7h0xqk5GFbuRm0E7EeGWUFh4jzC+au2a4WOrtdDFAeS6b9ren0lbxACN6H3xn5o2wmusNrDQUN/ee1TPeQ==',
]
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\ItemController) id:0 {
id => null
array => [
'total' => (int) 0,
'visitas' => (int) 0,
'descargas' => [
'total' => (int) 0,
'registros' => [
'' => [maximum depth reached],
],
'meses' => [
'' => [maximum depth reached],
],
],
'documentos' => [
],
'meses' => [
],
]
protected name => 'Item'
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 => '/estadisticas'
protected webroot => '/estadisticas/'
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 => true
protected _components => object(Cake\Controller\ComponentRegistry) id:8 {
'_loaded' => [
(int) 0 => 'Flash',
]
'_Controller' => object(App\Controller\ItemController) 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 => 'Item'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:11 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:12 {
}
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => object(Cake\View\ViewBuilder) id:13 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
-
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'nGpsozg10pyvW7kIPODH3FmM+9hVydCzoznV2Fbvuvx+YvE0ud5LxKivBPQPnw+AsjLp7h0xqk5GFbuRm0E7EeGWUFh4jzC+au2a4WOrtdDFAeS6b9ren0lbxACN6H3xn5o2wmusNrDQUN/ee1TPeQ==',
]
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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'nGpsozg10pyvW7kIPODH3FmM+9hVydCzoznV2Fbvuvx+YvE0ud5LxKivBPQPnw+AsjLp7h0xqk5GFbuRm0E7EeGWUFh4jzC+au2a4WOrtdDFAeS6b9ren0lbxACN6H3xn5o2wmusNrDQUN/ee1TPeQ==',
]
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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'nGpsozg10pyvW7kIPODH3FmM+9hVydCzoznV2Fbvuvx+YvE0ud5LxKivBPQPnw+AsjLp7h0xqk5GFbuRm0E7EeGWUFh4jzC+au2a4WOrtdDFAeS6b9ren0lbxACN6H3xn5o2wmusNrDQUN/ee1TPeQ==',
]
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/estadisticasdspace/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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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/html/estadisticasdspace/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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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' => 'Item',
'action' => 'view',
'pass' => [
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'?' => [
'handle' => '12345/9556',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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/html/estadisticasdspace/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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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/html/estadisticasdspace/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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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/html/estadisticasdspace/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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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 => [
'handle' => '12345/9556',
]
protected cookies => [
'JSESSIONID' => '346BC0E1C900B32ECD9ABE7AE309BD05',
]
protected _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'SCRIPT_NAME' => '/estadisticas/webroot/index.php',
'REQUEST_URI' => '/estadisticas/item/view?handle=12345%2F9556',
'QUERY_STRING' => 'handle=12345%2F9556',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'handle=12345%2F9556',
'REDIRECT_URL' => '/estadisticas/index.php',
'REMOTE_PORT' => '63239',
'SCRIPT_FILENAME' => '/var/www/html/estadisticasdspace/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/estadisticasdspace',
'CONTEXT_PREFIX' => '/estadisticas',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/html',
'REMOTE_ADDR' => '18.119.121.170',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.169',
'SERVER_NAME' => 'repositorio.fedepalma.org',
'SERVER_SOFTWARE' => 'Apache/2.4.51 (codeit) OpenSSL/1.1.1l',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_HOST' => 'repositorio.fedepalma.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'JSESSIONID=346BC0E1C900B32ECD9ABE7AE309BD05',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'REDIRECT_REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID' => 'ZyzrQZq3SxjSzlnnN_JYkQAAAc8',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/estadisticas/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1730997057.1723,
'REQUEST_TIME' => (int) 1730997057,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
]
protected base => '/estadisticas'
protected webroot => '/estadisticas/'
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 #156
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'repositorio.fedepalma.org'
private port => null
private path => '/item/view'
private query => 'handle=12345%2F9556'
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/html/estadisticasdspace/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\ItemController) 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
-
CORE/src/Database/Driver.php at line 187
(edit)
|
$action = fn (): PDO => new PDO( |
|
$dsn, |
|
$config['username'] ?: null, |
|
$config['password'] ?: null, |
|
$config['flags'] |
|
); |
|
|
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
|
try { |
-
|
$action = fn (): PDO => new PDO( |
|
$dsn, |
|
$config['username'] ?: null, |
|
$config['password'] ?: null, |
|
$config['flags'] |
|
); |
|
|
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
|
try { |
Toggle Arguments
'pgsql:host=biteca-rds-02.cqfklem6azjo.us-east-1.rds.amazonaws.com;port=5432;dbname=fedepalma_dspace'
[
(int) 12 => false,
(int) 20 => false,
(int) 3 => (int) 2,
]
-
|
{ |
|
$this->numRetries = 0; |
|
while (true) { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
if ( |
|
$this->numRetries < $this->maxRetries && |
|
$this->strategy->shouldRetry($e, $this->numRetries) |
Toggle Arguments
-
|
); |
|
|
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
|
try { |
|
return $retry->run($action); |
|
} catch (PDOException $e) { |
|
throw new MissingConnectionException( |
|
[ |
|
'driver' => App::shortName(static::class, 'Database/Driver'), |
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/missing_connection.php