Error: Your routing resulted in _modulos as a controller name.
strpos($controller, '/') !== false || |
|
strpos($controller, '.') !== false || |
|
$firstChar === strtolower($firstChar) |
|
) { |
|
$this->missingController($request); |
|
} |
|
|
|
return App::className($pluginPath . $controller, $namespace, 'Controller') ?: null; |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null }
* @return \Cake\Controller\Controller |
|
*/ |
|
public function create(ServerRequest $request, Response $response) |
|
{ |
|
$className = $this->getControllerClass($request); |
|
if (!$className) { |
|
$this->missingController($request); |
|
} |
|
$reflection = new ReflectionClass($className); |
object(Cake\Http\ServerRequest) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null }
// event handler if there is one. |
|
if ($beforeEvent->getData('controller') instanceof Controller) { |
|
$controller = $beforeEvent->getData('controller'); |
|
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
object(Cake\Http\ServerRequest) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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' => '' }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { params => [ 'controller' => '_modulos', 'action' => 'vendas', 'pass' => [ (int) 0 => '_upload', (int) 1 => 'venda_303', (int) 2 => '(10).jpg' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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 (Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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' => '' }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$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 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => '_modulos/vendas/_upload/venda_303/(10).jpg' base => '' webroot => '/' here => '/_modulos/vendas/_upload/venda_303/(10).jpg' trustProxy => false [protected] _environment => [ 'DOCUMENT_ROOT' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_HOST' => 'maristelaimoveis.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_FORWARDED_CLIENTPORT' => '51194', 'HTTP_X_FORWARDED_FOR' => '35.172.110.179', 'HTTP_X_VARNISH' => '21478188', 'LOG_SUBDIR' => 'maristelaimoveis', 'PATH' => '/bin:/usr/bin', 'PHPRC' => '/home/maristelaimoveis/public_html/2017', 'QUERY_STRING' => '', 'REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_LOG_SUBDIR' => 'maristelaimoveis', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_REDIRECT_forwarded' => '1', 'REDIRECT_SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'REDIRECT_URL' => '/webroot/_modulos/vendas/_upload/venda_303/(10).jpg', 'REDIRECT_forwarded' => '1', 'REMOTE_ADDR' => '35.172.110.179', 'REMOTE_PORT' => '58732', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_FILENAME' => '/home/storage/e/de/8d/maristelaimoveis/public_html/2017/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'http://maristelaimoveis.com.br/_modulos/vendas/_upload/venda_303/(10).jpg', 'SCRIPT_URL' => '/_modulos/vendas/_upload/venda_303/(10).jpg', 'SERVER_ADDR' => '187.45.193.229', 'SERVER_ADMIN' => 'webmaster@maristelaimoveis.com.br', 'SERVER_NAME' => 'maristelaimoveis.com.br', 'SERVER_PORT' => '80', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SUPHP_URI' => '/webroot/index.php', 'UNIQUE_ID' => 'ZgbkzLstweUAAAzUi3gAAAAX', 'forwarded' => '1', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727820.4521, 'REQUEST_TIME' => (int) 1711727820, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => [] [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 => 'http' [private] userInfo => '' [private] host => 'maristelaimoveis.com.br' [private] port => null [private] path => '/_modulos/vendas/_upload/venda_303/(10).jpg' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } 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
The controller name _modulos has not been properly inflected, and could not be resolved to a controller that exists in your application.
Ensure that your URL /_modulos/vendas/_upload/venda_303/(10).jpg is
using the same inflection style as your routes do. By default applications use DashedRoute
and URLs should use - to separate multi-word controller names.
If you want to customize this error message, create src/Template/Error/missing_controller.ctp