Table sitemaps for model Sitemap was not found in datasource default.


  • /var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Model/Model.php : 1165
    1158         if (method_exists($db'listSources')) { 
    1159             $restore $db->cacheSources
    1160             $db->cacheSources = ($restore && $this->cacheSources); 
    1161             $sources $db->listSources(); 
    1162             $db->cacheSources $restore
    1163  
    1164             if (is_array($sources) && !in_array(strtolower($this->tablePrefix $tableName), array_map('strtolower'$sources))) { 
    1165                 throw new MissingTableException(array( 
    1166                     'table' => $this->tablePrefix $tableName
    1167                     'class' => $this->alias
    1168                     'ds' => $this->useDbConfig
    1169                 )); 
    1170             
    1171  
    1172             if ($sources) { 
    1173                 $this->_schema null
  • Model setSource ( sitemaps )
    /var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Model/Model.php : 3660
    3653  Gets the DataSource to which this model is bound
    3654  
    3655  * @return DataSource A DataSource object 
    3656  */ 
    3657     public function getDataSource() { 
    3658         if (!$this->_sourceConfigured && $this->useTable !== false) { 
    3659             $this->_sourceConfigured true
    3660             $this->setSource($this->useTable); 
    3661         
    3662  
    3663         return ConnectionManager::getDataSource($this->useDbConfig); 
    3664     
    3665  
    3666 /** 
    3667  Get associations 
    3668  
  • Model getDataSource ( )
    /var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Model/Model.php : 1387
    1380  * $field => keys(type, null, default, key, length, extra) 
    1381  * 
    1382  * @param bool|string $field Set to true to reload schema, or a string to return a specific field 
    1383  * @return array|null Array of table metadata 
    1384  */ 
    1385     public function schema($field = false) { 
    1386         if ($this->useTable !== false && (!is_array($this->_schema) || $field === true)) { 
    1387             $db = $this->getDataSource(); 
    1388             $db->cacheSources = ($this->cacheSources && $db->cacheSources); 
    1389             if (method_exists($db, 'describe')) { 
    1390                 $this->_schema = $db->describe($this); 
    1391             } 
    1392         } 
    1393  
    1394         if (!is_string($field)) { 
    1395             return $this->_schema; 
  • Model schema ( parent_id )
    /var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Controller/AppController.php : 185
    178  
    179                 # Set values for all hasSet associations 
    180                 if ($this->{$this->modelClass}->hasMethod('getOptionsForSetFields')) { 
    181                     $this->set($this->{$this->modelClass}->getOptionsForSetFields()); 
    182                 
    183  
    184                 # Parents 
    185                 if ($this->{$this->modelClass}->schema('parent_id')) { 
    186                     $parents $this->{$this->modelClass}->getNodeList(); 
    187                     $this->set('parents', [ '' => '' ] + $parents); 
    188                 
    189  
    190                 # Set administrator related lists 
    191                 $administrators $this->Administrator->find('list', [ 'conditions' => [ 'Administrator.is_active' => true ] ]); 
    192                 $this->set('createdBies'$administrators); 
    193                 $this->set('modifiedBies'$administrators); 
  • AppController beforeFilter ( )
    /var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Plugin/Seo/Controller/SeoAppController.php : 9
     App::uses('Controller''Controller'); 
     App::uses('AppController''Controller'); 
      
     class SeoAppController extends AppController 
      
      
         public function beforeFilter() { 
             parent::beforeFilter(); 
    10         $this->Auth->allow(); 
    11     
    12  
    13 
    14 
  • SeoAppController beforeFilter ( CakeEvent Object ( [_name:protected] => Controller.initializ… )
    /var/www/vhosts/mcf.rs/httpdocs/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:protected] => Controller.initializ… )
    /var/www/vhosts/mcf.rs/httpdocs/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 ( )
    /var/www/vhosts/mcf.rs/httpdocs/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 ( SitemapController Object ( [components] => Array ( … , CakeRequest Object ( [params] => Array ( … )
    /var/www/vhosts/mcf.rs/httpdocs/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] => Array ( … , CakeResponse Object ( [_statusCodes:protected] => Array … )
    /var/www/vhosts/mcf.rs/httpdocs/VectorCMS/webroot/index.php : 156
    149 # Cronjob handler 
    150 if (isset($argc) && $argc == 2 && isCLI()) { 
    151     define('CRONJOB', $argv[1]); 
    152     $Dispatcher->dispatch(new CakeRequest($argv[1]), new CakeResponse()); 
    153     exit; 
    154 } 
    155  
    156 $Dispatcher->dispatch(new CakeRequest(), new CakeResponse([ 'charset' => Configure::read('App.encoding') ])); 
    157