Not Found
Error: The requested address '/pages/home/page:4' was not found on this server.
Stack Trace
- APP/Controller/PagesController.php line 242 → PaginatorComponent->paginate(string)
} else{
$this->Paginator->settings = $this->paginate;
}
$veiculos = $this->Paginator->paginate('Veiculo');
foreach($veiculos as $i => $veiculo){
'Veiculo'
- APP/Controller/PagesController.php line 37 → PagesController->getVeiculos()
$precos = $this->getPrecos();
$marcas = $this->getMarcas();
$modelos = $this->getModelos();
$veiculos = $this->getVeiculos();
$banners = $this->Banner->find('all', array('order'=>'Banner.id DESC'));
- [internal function] → PagesController->display(string)
'home'
- CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(PagesController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) paginateBusca => array([maximum depth reached]) name => 'Pages' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Banner' modelKey => 'page' validationErrors => null Session => object(SessionComponent) {} Paginator => object(PaginatorComponent) {} Dado => object(Dado) {} Veiculo => object(Veiculo) {} VeiculoMontadora => object(VeiculoMontadora) {} VeiculoModelo => object(VeiculoModelo) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'home' )
- CORE/Cake/Routing/Dispatcher.php line 185 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/home/page:4' base => '' webroot => '/' here => '/pages/home/page:4' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
- CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) paginateBusca => array([maximum depth reached]) name => 'Pages' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Banner' modelKey => 'page' validationErrors => null Session => object(SessionComponent) {} Paginator => object(PaginatorComponent) {} Dado => object(Dado) {} Veiculo => object(Veiculo) {} VeiculoMontadora => object(VeiculoMontadora) {} VeiculoModelo => object(VeiculoModelo) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/home/page:4' base => '' webroot => '/' here => '/pages/home/page:4' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
- APP/webroot/index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/home/page:4' base => '' webroot => '/' here => '/pages/home/page:4' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }