Error: The requested address '/produits/index/1/page:5' was not found on this server.
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
*/
public function paginate($object = null, $scope = array(), $whitelist = array()) {
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
}
'Produit' array() array()
'limit' => 10,
'order' => array('Produit.position' => 'ASC')
);
$produits = $this->paginate('Produit');
'Produit'
'1'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProduitsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Produits' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Produits' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' 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 => 'Produit' modelKey => 'produit' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Produit => object(AppModel) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '1' )
$response = $controller->response;
$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 => 'produits/index/1/page:5' base => '' webroot => '/' here => '/produits/index/1/page:5' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ProduitsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Produits' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Produits' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' 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 => 'Produit' modelKey => 'produit' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Produit => object(AppModel) {} [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 => 'produits/index/1/page:5' base => '' webroot => '/' here => '/produits/index/1/page:5' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'produits/index/1/page:5' base => '' webroot => '/' here => '/produits/index/1/page:5' [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]) }