- 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: 286
- 282. }
- 283. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.activo=1');
- 284. $select = $this->_produtoModel->getSelect();
- 285. $paginator = new Goweb_Paginator(Goweb::link('/catalogo/list/' . $link . $this->view->rows . '/', 'page='),
- 286. $this->_produtoModel->count(),
- 287. $page,
- 288. $rows ? $rows : $this->_moduleConfig->paginator->rows_per_page,
- 289. $this->_moduleConfig->paginator->links_per_page);
- 290.
- 291. $this->view->paginator = $paginator;
- FICHEIRO: /home/sopequeninos/application/Catalogo/Controller.php
- LINHA: 938
- 934. } else {
- 935. return $this->listProdutosAction();
- 936. }
- 937. } else {
- 938. return $this->listProdutosAction();
- 939. }
- 940. }
- 941.
- 942.
- 943.
- 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. */