Error: The requested address '/photo/term/durham-university/44/palatine-centre-002' 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);
}
'Node' array() array()
$cacheConfig = 'nodes_term';
$nodes = Cache::read($cacheName, $cacheConfig);
if (!$nodes) {
$nodes = $this->paginate('Node');
Cache::write($cacheName, $nodes, $cacheConfig);
'Node'
'44' 'palatine-centre-002'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(NodePhotosController) { name => 'NodePhotos' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => 'JdPhotographer' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'NodePhotos' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'term' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'NodePhotos' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Node' modelKey => 'node_photo' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} NodeTypeLister => object(NodeTypeListerComponent) {} Node => object(Node) {} Setting => object(Setting) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '44', (int) 1 => 'palatine-centre-002' )
$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 => 'photo/term/durham-university/44/palatine-centre-002' base => '' webroot => '/' here => '/photo/term/durham-university/44/palatine-centre-002' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(NodePhotosController) { name => 'NodePhotos' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => 'JdPhotographer' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'NodePhotos' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'term' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'NodePhotos' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Node' modelKey => 'node_photo' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} NodeTypeLister => object(NodeTypeListerComponent) {} Node => object(Node) {} Setting => object(Setting) {} [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 => 'photo/term/durham-university/44/palatine-centre-002' base => '' webroot => '/' here => '/photo/term/durham-university/44/palatine-centre-002' [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 => 'photo/term/durham-university/44/palatine-centre-002' base => '' webroot => '/' here => '/photo/term/durham-university/44/palatine-centre-002' [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]) }