Warning (2): Invalid argument supplied for foreach() [ROOT/VectorCMS/Config/functions.conf.php, line 142]
VectorCMS error

Not Found


  • /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Component/PaginatorComponent.php : 240
    233         
    234         $this->Controller->request['paging'] = array_merge
    235             (array)$this->Controller->request['paging'], 
    236             array($object->alias => $paging
    237         ); 
    238  
    239         if ($requestedPage $page) { 
    240             throw new NotFoundException(); 
    241         
    242  
    243         if (!in_array('Paginator'$this->Controller->helpers) && 
    244             !array_key_exists('Paginator'$this->Controller->helpers
    245         ) { 
    246             $this->Controller->helpers[] = 'Paginator'
    247         
    248         return $results
  • PaginatorComponent paginate ( BusinessNews Object ( [isMod… , Array ( ) , Array ( ) )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Controller.php : 1087
    1080  * @param Model|string $object Model to paginate (e.g: model instance, or 'Model', or 'Model.InnerModel') 
    1081  * @param string|array $scope Conditions to use while paginating 
    1082  * @param array $whitelist List of allowed options for paging 
    1083  * @return array Model query results 
    1084  * @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate 
    1085  */ 
    1086     public function paginate($object = null, $scope = array(), $whitelist = array()) { 
    1087         return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist); 
    1088     } 
    1089  
    1090 /** 
    1091  * Called before the controller action. You can use this method to configure and customize components 
    1092  * or perform logic that needs to happen before each controller action. 
    1093  * 
    1094  * @return void 
    1095  * @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks 
  • Controller paginate ( BusinessNews )
    /home/bbsoft/public_html/bbsoft.rs/VectorCMS/Controller/FrontController.php : 163
    156                 $query $order $limit $offset $conditions
    157  
    158                 # Pagination parameters 
    159                 $query $this->Module->alterPaginationParams($query$this->request); 
    160                 if (!empty($params['paginate'])) { 
    161                     $query['limit'] = (int) $params['paginate']; 
    162                     $this->paginate[$params['module']] = [ 'recursive' => ] + $query
    163                     $this->set($plural$this->paginate($params['module'])); 
    164                 } else { 
    165                     $this->set($plural$this->Module->find('all'$query)); 
    166                 
    167             
    168         
    169         $this->request->pageLinks $this->pageLinks
    170  
    171         $this->set('page'$this->page); 
  • FrontController beforeFilter ( CakeEvent Object ( [_name:pr… )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Event/CakeEventManager.php : 243
    236         foreach ($listeners as $listener) { 
    237             if ($event->isStopped()) { 
    238                 break; 
    239             
    240             if ($listener['passParams'] === true) { 
    241                 $result call_user_func_array($listener['callable'], $event->data); 
    242             } else { 
    243                 $result call_user_func($listener['callable'], $event); 
    244             
    245             if ($result === false) { 
    246                 $event->stopPropagation(); 
    247             
    248             if ($result !== null) { 
    249                 $event->result $result
    250             
    251         
  • CakeEventManager dispatch ( CakeEvent Object ( [_name:pr… )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Controller.php : 677
    670  * - triggers Component `startupmethods
    671  
    672  * @return void 
    673  * @triggers Controller.initialize $this 
    674  * @triggers Controller.startup $this 
    675  */ 
    676     public function startupProcess() { 
    677         $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize'$this)); 
    678         $this->getEventManager()->dispatch(new CakeEvent('Controller.startup'$this)); 
    679     
    680  
    681 /** 
    682  Perform the various shutdown processes for this controller
    683  Fire the Components and Controller callbacks in the correct order
    684  
    685  * - triggers the component `shutdowncallback
  • Controller startupProcess ( )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Routing/Dispatcher.php : 189
    182  
    183  * @param Controller $controller Controller to invoke 
    184  * @param CakeRequest $request The request object to invoke the controller for. 
    185  * @return CakeResponse the resulting response object 
    186  */ 
    187     protected function _invoke(Controller $controllerCakeRequest $request) { 
    188         $controller->constructClasses(); 
    189         $controller->startupProcess(); 
    190  
    191         $response $controller->response
    192         $render true
    193         $result $controller->invokeAction($request); 
    194         if ($result instanceof CakeResponse) { 
    195             $render false
    196             $response $result
    197         
  • Dispatcher _invoke ( FrontController Object ( [pa… , CakeRequest Object ( [params… )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Routing/Dispatcher.php : 167
    160         if (!($controller instanceof Controller)) { 
    161             throw new MissingControllerException(array( 
    162                 'class' => Inflector::camelize($request->params['controller']) . 'Controller', 
    163                 'plugin' => empty($request->params['plugin']) ? null : Inflector::camelize($request->params['plugin']) 
    164             )); 
    165         } 
    166  
    167         $response = $this->_invoke($controller, $request); 
    168         if (isset($request->params['return'])) { 
    169             return $response->body(); 
    170         } 
    171  
    172         $afterEvent = new CakeEvent('Dispatcher.afterDispatch', $this, compact('request', 'response')); 
    173         $this->getEventManager()->dispatch($afterEvent); 
    174         $afterEvent->data['response']->send(); 
    175     } 
  • Dispatcher dispatch ( CakeRequest Object ( [params… , CakeResponse Object ( [_stat… )
    /home/bbsoft/public_html/bbsoft.rs/VectorCMS/webroot/index.php : 146
    139 # Cronjob handler 
    140 if (isset($argc) && $argc == 2 && isCLI()) { 
    141     define('CRONJOB', $argv[1]); 
    142     $Dispatcher->dispatch(new CakeRequest($argv[1]), new CakeResponse()); 
    143     exit; 
    144 } 
    145  
    146 $Dispatcher->dispatch(new CakeRequest(), new CakeResponse([ 'charset' => Configure::read('App.encoding') ])); 
    147