Error: The requested address '/event/?page=2' 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);
}
object(Event) { displayField => 'title' whiteList => array([maximum depth reached]) groupKey => array([maximum depth reached]) order => array( [maximum depth reached] ) attaches => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) uploadDirCreate => true uploadDirMask => (int) 511 uploadFileMask => (int) 438 convertPath => '/usr/bin/convert' convertParams => '-thumbnail' useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'kanumalib' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Event' alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'status' => 'publish', 'start_date <=' => '2024-03-29 07:07:15', 'end_date >=' => '2024-03-29 07:07:15' ) array()
'paramType' => 'querystring',
'order' => 'Event.position asc',
);
$datas = $this->paginate($this->{$this->modelName}, $cond);
$this->set(compact('datas'));
object(Event) { displayField => 'title' whiteList => array([maximum depth reached]) groupKey => array([maximum depth reached]) order => array( [maximum depth reached] ) attaches => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) uploadDirCreate => true uploadDirMask => (int) 511 uploadFileMask => (int) 438 convertPath => '/usr/bin/convert' convertParams => '-thumbnail' useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'kanumalib' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Event' alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'status' => 'publish', 'start_date <=' => '2024-03-29 07:07:15', 'end_date >=' => '2024-03-29 07:07:15' )
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(EventsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Events' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'simple' 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 => 'Event' modelKey => 'event' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Pc' modelName => 'Event' Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array()
$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 => 'event/' base => '' webroot => '/' here => '/event/' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(EventsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Events' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'simple' 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 => 'Event' modelKey => 'event' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Pc' modelName => 'Event' Event => object(Event) {} [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 => 'event/' base => '' webroot => '/' here => '/event/' [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::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'event/' base => '' webroot => '/' here => '/event/' [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]) }