- FICHEIRO: /home/sopequeninos/library/Zend/Db/Table/Abstract.php
- LINHA: 839
- MENSAGEM: Failed saving metadata to metadataCache
- 835. // Fetch metadata from the adapter's describeTable() method
- 836. $metadata = $this->_db->describeTable($this->_name, $this->_schema);
- 837. // If $this has a metadata cache, then cache the metadata
- 838. if (null !== $this->_metadataCache && !$this->_metadataCache->save($metadata, $cacheId)) {
- 839. trigger_error('Failed saving metadata to metadataCache', E_USER_NOTICE);
- 840. }
- 841. }
- 842.
- 843. // Assign the metadata to $this
- 844. $this->_metadata = $metadata;
- FICHEIRO: /home/sopequeninos/library/Zend/Db/Table/Abstract.php
- LINHA: 839
- 835. // Fetch metadata from the adapter's describeTable() method
- 836. $metadata = $this->_db->describeTable($this->_name, $this->_schema);
- 837. // If $this has a metadata cache, then cache the metadata
- 838. if (null !== $this->_metadataCache && !$this->_metadataCache->save($metadata, $cacheId)) {
- 839. trigger_error('Failed saving metadata to metadataCache', E_USER_NOTICE);
- 840. }
- 841. }
- 842.
- 843. // Assign the metadata to $this
- 844. $this->_metadata = $metadata;
- FICHEIRO: /home/sopequeninos/library/Goweb/Db/Model.php
- LINHA: 1041
- 1037. * @return bool|Goweb_Db_Model_Rowset Retorna o objecto Goweb_Db_Rowset com os resultados ou
- 1038. * FALSE se não foi encontrado nenhuma linha na tabela
- 1039. */
- 1040. public function fetchAll($cols = null) {
- 1041. $this->_setupMetadata();
- 1042. if (is_array($cols) && in_array('*', $cols)) {
- 1043. unset($cols[array_search('*', $cols)]);
- 1044. $cols = array_merge(array_keys($this->_colsModel), $cols);
- 1045. }
- 1046.
- FICHEIRO: /home/sopequeninos/application/Catalogo/GenericController.php
- LINHA: 103
- 99. }
- 100.
- 101. $linguaSistema = Goweb::getModelInstance('Painel_Model_Config', 'db', false);
- 102. $linguaSistema->limit(1);
- 103. $res_linguas = $linguaSistema->fetchAll();
- 104.
- 105. if($res_linguas)
- 106. {
- 107. $res_linguas = $res_linguas->toArray();
- 108. $linguas_activas = unserialize($res_linguas[0]['linguas_activas']);
- FICHEIRO: /home/sopequeninos/application/Catalogo/Controller.php
- LINHA: 27
- 23. */
- 24. protected $_canal = 'base';
- 25.
- 26. public function init(){
- 27. parent::init();
- 28. $this->_wishModel = Goweb::getModelInstance('Loja_Model_Wish', 'db');
- 29. $this->_marcaModel = Goweb::getModelInstance('Catalogo_Model_Marcas', 'db');
- 30. $this->_coresModel = Goweb::getModelInstance('Catalogo_Model_Cores', 'db');
- 31. }
- 32.
- FICHEIRO: /home/sopequeninos/library/Zend/Controller/Action.php
- LINHA: 133
- 129. $this->setRequest($request)
- 130. ->setResponse($response)
- 131. ->_setInvokeArgs($invokeArgs);
- 132. $this->_helper = new Zend_Controller_Action_HelperBroker($this);
- 133. $this->init();
- 134. }
- 135.
- 136. /**
- 137. * Initialize object
- 138. *
- FICHEIRO: /home/sopequeninos/library/Goweb/Controller/Action.php
- LINHA: 86
- 82. if(!$response) $response = new Zend_Controller_Response_Http();
- 83. if(!$invokeArgs) $invokeArgs = array();
- 84. $this->_auth = Zend_Auth::getInstance();
- 85. $response->setHeader('Content-Type', 'text/html; charset=' . CHARSET);
- 86. parent::__construct($request, $response, $invokeArgs);
- 87. $this->view->assign('baseUrl', str_replace('/admin', '', str_replace('/index.php', '', $this->_request->getBaseUrl())));
- 88. $this->_helper->viewRenderer->setNoController(true);
- 89. $this->_session = Goweb::registry('session');
- 90. $this->view->session = $this->_session;
- 91. if($this->_getParam('lang') && $this->_getParam('lang') != $this->_session->lang && is_array($this->_session->langs) && in_array($this->_getParam('lang'), $this->_session->langs)){
- FICHEIRO: /home/sopequeninos/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 281
- 277. /**
- 278. * Instantiate controller with request, response, and invocation
- 279. * arguments; throw exception if it's not an action controller
- 280. */
- 281. $controller = new $moduleClassName($request, $this->getResponse(), $this->getParams());
- 282. if (!($controller instanceof Zend_Controller_Action_Interface) &&
- 283. !($controller instanceof Zend_Controller_Action)) {
- 284. require_once 'Zend/Controller/Dispatcher/Exception.php';
- 285. throw new Zend_Controller_Dispatcher_Exception(
- 286. 'Controller "' . $moduleClassName . '" is not an instance of Zend_Controller_Action_Interface'
- FICHEIRO: /home/sopequeninos/library/Zend/Controller/Front.php
- LINHA: 954
- 950. /**
- 951. * Dispatch request
- 952. */
- 953. try {
- 954. $dispatcher->dispatch($this->_request, $this->_response);
- 955. } catch (Exception $e) {
- 956. if ($this->throwExceptions()) {
- 957. throw $e;
- 958. }
- 959. $this->_response->setException($e);
- FICHEIRO: /home/sopequeninos/library/Goweb/Application.php
- LINHA: 449
- 445. }
- 446.
- 447. public function runApp(){
- 448. $frontController = Zend_Controller_Front::getInstance();
- 449. $frontController->dispatch();
- 450. }
- 451. }
- FICHEIRO: /home/sopequeninos/public_html/index.php
- LINHA: 55
- 51. $application->initPainel();
- 52. $lang = isset($_GET['lang']) ? $_GET['lang'] : null;
- 53. $application->initLanguage($lang, true, false);
- 54. $application->initLanguageAdmin($lang, true, true);
- 55. $application->runApp();
- 56.
- 57.
- 58. /**
- 59. * Efectua a traducao de uma string.
- 60. */