Error: The view for PagesController::display() was not found.
$defaultLayout = $this->layout; |
|
$this->layout = $layout; |
|
} |
|
|
|
$viewFileName = $view !== false ? $this->_getViewFileName($view) : null; |
|
if ($viewFileName) { |
|
$this->_currentType = static::TYPE_TEMPLATE; |
|
$this->dispatchEvent('View.beforeRender', [$viewFileName]); |
|
$this->Blocks->set('content', $this->_render($viewFileName)); |
'Pages/curso_tecnico_em_estetica'
$builder->setTemplate($this->request->getParam('action')); |
|
} |
|
|
|
$this->View = $this->createView(); |
|
$contents = $this->View->render($view, $layout); |
|
$this->response = $this->View->response->withStringBody($contents); |
|
|
|
return $this->response; |
|
} |
'Site.curso-tecnico-em-estetica' null
$this->set(compact('params', 'page')); |
|
|
|
try { |
|
$render = 'Site.' . $page; |
|
if (!$this->render($render)) { |
|
$this->checkCanonicals(); |
|
} |
|
} catch (MissingTemplateException $exception) { |
|
if (Configure::read('debug')) { |
'Site.curso-tecnico-em-estetica'
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\PagesController) { my_controller => 'Pages' my_action => 'display' my_plugin => false my_prefix => false my_dev_status => false my_url_admin => 'Pages::display' AuthUser => false helpers => [] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [[maximum depth reached]] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => object(Site\View\SiteView) { Blocks => object(Cake\View\ViewBlock) {} plugin => null name => 'Pages' passedArgs => [[maximum depth reached]] helpers => [[maximum depth reached]] templatePath => 'Pages' template => 'display' layout => 'Site.default' layoutPath => null autoLayout => true subDir => null theme => 'Site' hasRendered => false uuids => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} elementCache => 'default' viewClass => null viewVars => [ [maximum depth reached] ] Seo => object(App\View\Helper\SeoHelper) {} Enum => object(App\View\Helper\EnumHelper) {} Less => object(Less\View\Helper\LessHelper) {} Format => object(App\View\Helper\FormatHelper) {} Form => object(Bootstrap\View\Helper\FormHelper) {} [protected] _helpers => object(Cake\View\HelperRegistry) {} [protected] _ext => '.ctp' [protected] _passedVars => [ [maximum depth reached] ] [protected] _paths => [ [maximum depth reached] ] [protected] _pathsForPlugin => [ [maximum depth reached] ] [protected] _parents => [[maximum depth reached]] [protected] _current => null [protected] _currentType => '' [protected] _stack => [[maximum depth reached]] [protected] _viewBlockClass => 'Cake\View\ViewBlock' [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _viewBuilder => null } passedArgs => [] modelClass => 'Pages' viewClass => null viewVars => [ 'SEO' => object(App\View\Helper\SeoHelper) {}, 'AuthUser' => false, 'my_controller' => 'Pages', 'my_action' => 'display', 'my_prefix' => false, 'my_dev_status' => false, 'params' => [], 'page' => 'curso-tecnico-em-estetica' ] Security => object(Cake\Controller\Component\SecurityComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Errors => object(App\Controller\Component\ErrorsComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Csrf => object(Cake\Controller\Component\CsrfComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Upload => object(App\Controller\Component\UploadComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } [protected] name => 'Pages' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => false [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\PagesController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => 'Pages' [protected] _template => 'display' [protected] _plugin => null [protected] _theme => 'Site' [protected] _layout => 'Site.default' [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => 'Pages' [protected] _className => 'Site.Site' [protected] _options => [ [maximum depth reached] ] [protected] _helpers => [[maximum depth reached]] } }
* @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) { trustProxy => false [protected] params => [ 'page' => 'curso-tecnico-em-estetica', 'pass' => [], 'controller' => 'Pages', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/:page', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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, 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'ssl' => true, 'requested' => 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 => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [ 'page' => 'curso-tecnico-em-estetica', 'pass' => [], 'controller' => 'Pages', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/:page', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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, 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'ssl' => true, 'requested' => 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 => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'page' => 'curso-tecnico-em-estetica', 'pass' => [], 'controller' => 'Pages', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/:page', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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, 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'ssl' => true, 'requested' => 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 => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [ 'page' => 'curso-tecnico-em-estetica', 'pass' => [], 'controller' => 'Pages', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/:page', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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, 'put' => false, 'post' => false, 'delete' => false, 'patch' => false, 'ssl' => true, 'requested' => 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 => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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 => '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'setecursos.com.br', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/setecursoscom/public_html', 'REMOTE_ADDR' => '54.84.65.73', 'REMOTE_PORT' => '54456', 'SERVER_ADDR' => '31.170.162.94', 'SERVER_NAME' => 'setecursos.com.br', 'SERVER_ADMIN' => 'webmaster@setecursos.com.br', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/curso-tecnico-em-estetica', 'REDIRECT_URL' => '/webroot/curso-tecnico-em-estetica', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'CRAWLER_USLEEP' => '1000', 'CRAWLER_LOAD_LIMIT_ENFORCE' => '25', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/setecursoscom/public_html/webroot/index.php', 'QUERY_STRING' => '', 'SCRIPT_URI' => 'https://setecursos.com.br/curso-tecnico-em-estetica', 'SCRIPT_URL' => '/curso-tecnico-em-estetica', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on,crawler,esi,combine', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710811290,159, 'REQUEST_TIME' => (int) 1710811290, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'curso-tecnico-em-estetica' [protected] base => '' [protected] webroot => '/' [protected] here => '/curso-tecnico-em-estetica' [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 => 'https' [private] userInfo => '' [private] host => 'setecursos.com.br' [private] port => null [private] path => '/curso-tecnico-em-estetica' [private] query => '' [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
Confirm you have created the file: "Pages/curso_tecnico_em_estetica.ctp" in one of the following paths:
If you want to customize this error message, create src/Template/Error/missing_template.ctp