public function create(ServerRequest $request, Response $response) |
|
{ |
|
$className = $this->getControllerClass($request); |
|
if (!$className) { |
|
$this->missingController($request); |
|
} |
|
$reflection = new ReflectionClass($className); |
|
if ($reflection->isAbstract() || $reflection->isInterface()) { |
|
$this->missingController($request); |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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 }
protected function _getController($request, $response) |
|
{ |
|
$factory = new ControllerFactory(); |
|
|
|
return $factory->create($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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' => '' }
public function beforeDispatch(Event $event) |
|
{ |
|
$request = $event->getData('request'); |
|
$response = $event->getData('response'); |
|
$event->setData('controller', $this->_getController($request, $response)); |
|
} |
|
|
|
/** |
|
* Gets controller to use, either plugin or application controller. |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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' => '' }
{ |
|
$name = $event->getName(); |
|
list(, $method) = explode('.', $name); |
|
if (empty($this->_config['for']) && empty($this->_config['when'])) { |
|
return $this->{$method}($event); |
|
} |
|
if ($this->matches($event)) { |
|
return $this->{$method}($event); |
|
} |
object(Cake\Event\Event) { result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Cake\Http\ActionDispatcher) { [protected] filters => [ [maximum depth reached] ] [protected] factory => object(Cake\Http\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' } [protected] _data => [ 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} ] [protected] _stopped => false }
protected function _callListener(callable $listener, Event $event) |
|
{ |
|
$data = $event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* Returns a list of all listeners for an eventKey in the order they should be called |
object(Cake\Event\Event) { result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Cake\Http\ActionDispatcher) { [protected] filters => [ [maximum depth reached] ] [protected] factory => object(Cake\Http\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' } [protected] _data => [ 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} ] [protected] _stopped => false } object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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' => '' }
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
[ (int) 0 => object(Cake\Routing\Filter\ControllerFactoryFilter) { [protected] _priority => (int) 50 [protected] _defaultConfig => [ 'when' => null, 'for' => null, 'priority' => null ] [protected] _config => [ 'when' => null, 'for' => null, 'priority' => (int) 50 ] [protected] _configInitialized => true }, (int) 1 => 'handle' ] object(Cake\Event\Event) { result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Cake\Http\ActionDispatcher) { [protected] filters => [ [maximum depth reached] ] [protected] factory => object(Cake\Http\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' } [protected] _data => [ 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} ] [protected] _stopped => false }
$subject = $this; |
|
} |
|
|
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
object(Cake\Event\Event) { result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Cake\Http\ActionDispatcher) { [protected] filters => [ [maximum depth reached] ] [protected] factory => object(Cake\Http\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' } [protected] _data => [ 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} ] [protected] _stopped => false }
{ |
|
if (Router::getRequest(true) !== $request) { |
|
Router::pushRequest($request); |
|
} |
|
$beforeEvent = $this->dispatchEvent('Dispatcher.beforeDispatch', compact('request', 'response')); |
|
|
|
$request = $beforeEvent->getData('request'); |
|
if ($beforeEvent->getResult() instanceof Response) { |
|
return $beforeEvent->getResult(); |
'Dispatcher.beforeDispatch' [ 'request' => object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ [maximum depth reached] ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [[maximum depth reached]], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ [maximum depth reached] ], 'post' => [ [maximum depth reached] ], 'put' => [ [maximum depth reached] ], 'patch' => [ [maximum depth reached] ], 'delete' => [ [maximum depth reached] ], 'head' => [ [maximum depth reached] ], 'options' => [ [maximum depth reached] ], 'ssl' => [ [maximum depth reached] ], 'ajax' => [ [maximum depth reached] ], 'flash' => [ [maximum depth reached] ], 'requested' => [ [maximum depth reached] ], 'json' => [ [maximum depth reached] ], 'xml' => [ [maximum depth reached] ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Network\Session) {} [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null }, 'response' => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '' } ]
*/ |
|
public function dispatch(ServerRequest $request, Response $response) |
|
{ |
|
$actionDispatcher = new ActionDispatcher(null, $this->getEventManager(), $this->_filters); |
|
$response = $actionDispatcher->dispatch($request, $response); |
|
if (isset($request->params['return'])) { |
|
return $response->body(); |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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' => '' }
|
|
$dispatcher = DispatcherFactory::create(); |
|
$dispatcher->dispatch( |
|
Request::createFromGlobals(), |
|
new Response() |
|
); |
|
|
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => 'PtBr', 'action' => '2012', '_ext' => null, 'pass' => [ (int) 0 => '12', (int) 1 => '14', (int) 2 => 'gerhard-l-salinger' ], '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'pt-br/2012/12/14/gerhard-l-salinger/' base => '' webroot => '/' here => '/pt-br/2012/12/14/gerhard-l-salinger/' trustProxy => false [protected] _environment => [ 'TZ' => 'America/Detroit', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'REDIRECT_SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'REDIRECT_HANDLER' => 'application/x-httpd-ea-php70', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgX-XZYVNwZBjrFrnd7iuwAAAAs', 'SCRIPT_URL' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_URI' => 'http://sales.physicsdemos.com/pt-br/2012/12/14/gerhard-l-salinger/', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'sales.physicsdemos.com', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'sales.physicsdemos.com', 'SERVER_ADDR' => '68.66.234.147', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '100.26.35.111', 'DOCUMENT_ROOT' => '/home/pdemos/sales.physicsdemos/webroot', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '/cgi-sys', 'CONTEXT_DOCUMENT_ROOT' => '/usr/local/cpanel/cgi-sys/', 'SERVER_ADMIN' => 'webmaster@sales.physicsdemos.com', 'SCRIPT_FILENAME' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'REMOTE_PORT' => '38420', 'REDIRECT_URL' => '/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/pt-br/2012/12/14/gerhard-l-salinger/', 'SCRIPT_NAME' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/local/cpanel/cgi-sys/ea-php70', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_PATH_TRANSLATED' => '/home/pdemos/sales.physicsdemos/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/cgi-sys/ea-php70', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711668829.7524, 'REQUEST_TIME' => (int) 1711668829, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null, 'HTTP_REFERER' => 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 => 'sales.physicsdemos.com' [private] port => null [private] path => '/pt-br/2012/12/14/gerhard-l-salinger/' [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' => '' }
Controller class PtBr could not be found.
If you want to customize this error message, create src/Template/Error/error500.ctp