- 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: 667
- 663. * @param string Coluna do count
- 664. * @return int Número de linhas resultante da query
- 665. */
- 666. public function count($col = '*') {
- 667. $this->_setupMetadata();
- 668. $rowCount = clone $this->_select;
- 669. // adiciona as campos das chaves estrangeiras
- 670. if ($this->_loadForeigns && $col != '*') {
- 671. $rowCount->from($this->_table, $this->_table . '.' .$col);
- 672. foreach ($this->_foreigns as $col => $model) {
- FICHEIRO: /home/sopequeninos/application/Catalogo/Controller.php
- LINHA: 930
- 926. if ($categoriaId == 0 || ($this->_validateId($categoriaId) && $this->_categoriaModel->find($categoriaId) && $this->_categoriaModel->activo)) {
- 927. $this->_categoriaModel->order('ordem');
- 928. $this->_categoriaModel->where($this->_categoriaModel->getTableName() . '.pai_id = ?', $categoriaId);
- 929. $this->_categoriaModel->where($this->_categoriaModel->getTableName() . '.activo = 1');
- 930. $this->_resultCategorias = $this->_categoriaModel->count();
- 931. if ($this->_resultCategorias > 0) {
- 932. //return $this->listCategoriasAction($categoriaId);
- 933. return $this->listProdutosAction();
- 934. } else {
- 935. return $this->listProdutosAction();
- FICHEIRO: /home/sopequeninos/library/Goweb/Controller/Action.php
- LINHA: 276
- 272. */
- 273. /*if ($this->getInvokeArg('useCaseSensitiveActions')) {
- 274. trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
- 275. }*/
- 276. $this->$action();
- 277. } else {
- 278. $this->__call($action, array());
- 279. }
- 280. $this->postDispatch();
- 281. }
- FICHEIRO: /home/sopequeninos/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 308
- 304. ob_start();
- 305. }
- 306.
- 307. try {
- 308. $controller->dispatch($action);
- 309. } catch (Exception $e) {
- 310. // Clean output buffer on error
- 311. $curObLevel = ob_get_level();
- 312. if ($curObLevel > $obLevel) {
- 313. do {
- 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. */