Error: A route matching "id=33.php&link=view-article" could not be found.
if (!static::$initialized) { |
|
static::_loadRoutes(); |
|
} |
|
|
|
return static::$_collection->parseRequest($request); |
|
} |
|
|
|
/** |
|
* Takes parameter and path information back from the Dispatcher, sets these |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
$parsedBody = $request->getParsedBody(); |
|
if (is_array($parsedBody) && isset($parsedBody['_method'])) { |
|
$request = $request->withMethod($parsedBody['_method']); |
|
} |
|
$params = Router::parseRequest($request) + $params; |
|
if (isset($params['_middleware'])) { |
|
$middleware = $params['_middleware']; |
|
unset($params['_middleware']); |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
|
return $next($request, $response); |
|
} |
|
|
|
$file = new File($assetFile); |
|
$modifiedTime = $file->lastChange(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
$response = $next($request, $response); |
|
$row = $this->service->saveData($request, $response); |
|
if (!$row) { |
|
return $response; |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'id' => '33.php', 'link' => 'view-article' ] [protected] cookies => [] [protected] _environment => [ 'ENV_DB_TIMEZONE' => 'UTC', 'HOSTNAME' => 'e0ef9b12e69c', 'PHP_CGI_FIX_PATHINFO' => '0', 'ENV_DEBUG' => 'true', 'ENV_DB_PASSWORD' => 'psYwFLmqKxKQtYr5', 'ENV_DB_HOST' => '172.17.0.1', 'PHP_INI_FILE' => '/etc/php.ini', 'PHP_MEMORY_LIMIT' => '512M', 'PHP_FPM_USER' => 'nginx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'ENV_DB_USERNAME' => 'website_dprotecao_prd', 'PHP_DISPLAY_STARTUP_ERRORS' => 'On', 'PWD' => '/www', 'PHP_FPM_FILE' => '/etc/php-fpm.d/www.conf', 'ENV_DEBUGKIT_FORCE_ENABLE' => 'true', 'PHP_DISPLAY_ERRORS' => 'On', 'PHP_MAX_POST' => '100M', 'PHP_MAX_UPLOAD' => '50M', 'HOME' => '/var/lib/nginx', 'SHLVL' => '2', 'ENV_DB_DATABASE' => 'website_dprotecao_prd', 'PHP_FPM_LISTEN_MODE' => '0660', 'ENV_WK_BINARY' => '/usr/bin/wkhtmltopdf', 'PHP_MAX_FILE_UPLOAD' => '200', 'PHP_ERROR_REPORTING' => 'E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR', 'ENV_DB_ENCODING' => 'utf8', 'LIGHTWIDGET_URL' => '//lightwidget.com/widgets/1c47cf46ebc1574eb733f47f21d56c15.html', 'PHP_FPM_GROUP' => 'nginx', 'APPLICATION' => 'MinhaLoja', 'APP_DEFAULT_TIMEZONE' => 'UTC', 'ENV_DOMINIO_SYSTEM' => 'https://dprotecao.com.br', '_' => '/usr/sbin/php-fpm', 'USER' => 'nginx', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_FOR' => '54.152.5.73', 'HTTP_X_REAL_IP' => '54.152.5.73', 'HTTP_HOST' => 'dprotecao.com.br', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => '_', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '172.25.0.2', 'REMOTE_PORT' => '45354', 'REMOTE_ADDR' => '172.25.0.1', 'SERVER_SOFTWARE' => 'nginx/1.20.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REQUEST_SCHEME' => 'http', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'DOCUMENT_ROOT' => '/www/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/index.php?id=33.php&link=view-article', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=33.php&link=view-article', 'SCRIPT_FILENAME' => '/www/webroot/index.php', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640507.4142, 'REQUEST_TIME' => (int) 1711640507, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'd=33.php&link=view-article' [protected] base => '' [protected] webroot => '/' [protected] here => '/d=33.php&link=view-article' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dprotecao.com.br' [private] port => null [private] path => 'id=33.php&link=view-article' [private] query => 'id=33.php&link=view-article' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
None of the currently connected routes match the provided parameters. Add a matching route to config/routes.php
Template | Defaults | Options |
---|---|---|
/ | [ 'controller' => 'Site', 'action' => 'index', (int) 0 => 'index', 'plugin' => null ] | [ '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/admin | [ 'controller' => 'Users', 'action' => 'home', 'plugin' => null ] | [ '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/{controller} | [ 'action' => 'index', 'plugin' => null ] | [ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ] |
/{controller}/{action}/* | [ 'plugin' => null, 'action' => 'index' ] | [ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ] |
/debug-kit/toolbar/clear-cache | [ 'controller' => 'Toolbar', 'action' => 'clearCache', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/toolbar/* | [ 'controller' => 'Requests', 'action' => 'view', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/panels/view/* | [ 'controller' => 'Panels', 'action' => 'view', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/panels/* | [ 'controller' => 'Panels', 'action' => 'index', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/composer/check-dependencies | [ 'controller' => 'Composer', 'action' => 'checkDependencies', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/mail-preview | [ 'action' => 'index', 'controller' => 'MailPreview', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/mail-preview/preview | [ 'action' => 'email', 'controller' => 'MailPreview', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/mail-preview/preview/* | [ 'action' => 'email', 'controller' => 'MailPreview', 'plugin' => 'DebugKit' ] | [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/mail-preview/sent/:panel/:id | [ 'action' => 'sent', 'controller' => 'MailPreview', 'plugin' => 'DebugKit' ] | [ 'pass' => [ (int) 0 => 'panel', (int) 1 => 'id' ], '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit | [ 'controller' => 'Dashboard', 'action' => 'index', '_method' => 'GET', 'plugin' => 'DebugKit' ] | [ '_name' => null, '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/dashboard | [ 'controller' => 'Dashboard', 'action' => 'index', '_method' => 'GET', 'plugin' => 'DebugKit' ] | [ '_name' => null, '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
/debug-kit/dashboard/reset | [ 'controller' => 'Dashboard', 'action' => 'reset', '_method' => 'POST', 'plugin' => 'DebugKit' ] | [ '_name' => null, '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] |
If you want to customize this error message, create src/Template/Error/missing_route.ctp