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;11631164 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 }11711172 if ($sources) {1173 $this->_schema = null;
-
Model
➝
setSource
(
sitemaps
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Model/Model.php : 36603653 * Gets the DataSource to which this model is bound.3654 *3655 * @return DataSource A DataSource object3656 */3657 public function getDataSource() {3658 if (!$this->_sourceConfigured && $this->useTable !== false) {3659 $this->_sourceConfigured = true;3660 $this->setSource($this->useTable);3661 }36623663 return ConnectionManager::getDataSource($this->useDbConfig);3664 }36653666 /**3667 * Get associations3668 * -
Model
➝
getDataSource
(
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Model/Model.php : 13871380 * $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 field1383 * @return array|null Array of table metadata1384 */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 }13931394 if (!is_string($field)) {1395 return $this->_schema; -
Model
➝
schema
(
parent_id
)
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Controller/AppController.php : 185178179 # Set values for all hasSet associations180 if ($this->{$this->modelClass}->hasMethod('getOptionsForSetFields')) {181 $this->set($this->{$this->modelClass}->getOptionsForSetFields());182 }183184 # Parents185 if ($this->{$this->modelClass}->schema('parent_id')) {186 $parents = $this->{$this->modelClass}->getNodeList();187 $this->set('parents', [ '' => '' ] + $parents);188 }189190 # Set administrator related lists191 $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 : 92 App::uses('Controller', 'Controller');3 App::uses('AppController', 'Controller');45 class SeoAppController extends AppController {678 public function beforeFilter() {9 parent::beforeFilter();10 $this->Auth->allow();11 }1213 }14 -
SeoAppController
➝
beforeFilter
(
CakeEvent Object
(
[_name:protected] => Controller.initializ…
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Event/CakeEventManager.php : 243236 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 : 677670 * - triggers Component `startup` methods.671 *672 * @return void673 * @triggers Controller.initialize $this674 * @triggers Controller.startup $this675 */676 public function startupProcess() {677 $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));678 $this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));679 }680681 /**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 `shutdown` callback. -
Controller
➝
startupProcess
(
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Routing/Dispatcher.php : 189182 *183 * @param Controller $controller Controller to invoke184 * @param CakeRequest $request The request object to invoke the controller for.185 * @return CakeResponse the resulting response object186 */187 protected function _invoke(Controller $controller, CakeRequest $request) {188 $controller->constructClasses();189 $controller->startupProcess();190191 $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 : 167160 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 }166167 $response = $this->_invoke($controller, $request);168 if (isset($request->params['return'])) {169 return $response->body();170 }171172 $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 : 156149 # Cronjob handler150 if (isset($argc) && $argc == 2 && isCLI()) {151 define('CRONJOB', $argv[1]);152 $Dispatcher->dispatch(new CakeRequest($argv[1]), new CakeResponse());153 exit;154 }155156 $Dispatcher->dispatch(new CakeRequest(), new CakeResponse([ 'charset' => Configure::read('App.encoding') ]));157