Not Found
Error: The requested address '/locations/view/11/page:2' was not found on this server.
Stack Trace
- CORE/Cake/Controller/Controller.php line 1080 → PaginatorComponent->paginate(Item, array, array)
* @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(Item) { actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'items' id => false data => array([maximum depth reached]) schemaName => 'masoncountyresearch' table => 'items' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Item' alias => 'Item' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null 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] ) Category => object(Category) {} User => object(User) {} Donor => object(Donor) {} Location => object(Location) {} Condition => object(Condition) {} Status => object(Status) {} Log => object(Log) {} [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( 'Location.id' => '11' ) array()
- APP/Controller/LocationsController.php line 99 → Controller->paginate(Item, array)
$lim = $this->Location->Item->find('count', array('conditions' => array('Location.id' => $id)));
$this->set('lim',$lim);
$this->Paginator->settings = array('limit' => 100, 'order' => array('Item.name' => 'asc'));
$this->set('items', $this->paginate($this->Location->Item, array('Location.id'=> $id)));
$categories = $this->Location->Item->Category->find('list');
object(Item) { actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'items' id => false data => array([maximum depth reached]) schemaName => 'masoncountyresearch' table => 'items' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Item' alias => 'Item' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null 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] ) Category => object(Category) {} User => object(User) {} Donor => object(Donor) {} Location => object(Location) {} Condition => object(Condition) {} Status => object(Status) {} Log => object(Log) {} [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( 'Location.id' => '11' )
- [internal function] → LocationsController->view(string)
'11'
- CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(LocationsController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(LocationsController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Locations' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Locations' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' 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 => 'Location' modelKey => 'location' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Paginator => object(PaginatorComponent) {} Location => object(Location) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '11' )
- CORE/Cake/Routing/Dispatcher.php line 191 → Controller->invokeAction(CakeRequest)
$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 => 'locations/view/11/page:2' base => '' webroot => '/' here => '/locations/view/11/page:2' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
- CORE/Cake/Routing/Dispatcher.php line 165 → Dispatcher->_invoke(LocationsController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(LocationsController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Locations' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Locations' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' 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 => 'Location' modelKey => 'location' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Paginator => object(PaginatorComponent) {} Location => object(Location) {} [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 => 'locations/view/11/page:2' base => '' webroot => '/' here => '/locations/view/11/page:2' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
- 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 => 'locations/view/11/page:2' base => '' webroot => '/' here => '/locations/view/11/page:2' [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]) }