• FICHEIRO: /home/werenfri/library/Zend/Db/Statement/Pdo.php
  • LINHA:    234
  • MENSAGEM: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'goweb.pt' in 'where clause'
  •  230.                 return $this->_stmt->execute();
  •  231.             }
  •  232.         } catch (PDOException $e) {
  •  233.             require_once 'Zend/Db/Statement/Exception.php';
  •  234.             throw new Zend_Db_Statement_Exception($e->getMessage(), $e->getCode(), $e);
  •  235.         }
  •  236.     }
  •  237.
  •  238.     /**
  •  239.      * Fetches a row from the result set.

  • FICHEIRO: /home/werenfri/library/Zend/Db/Statement.php
  • LINHA:    300
  •  296.         /*
  •  297.          * Simple case - no query profiler to manage.
  •  298.          */
  •  299.         if ($this->_queryId === null) {
  •  300.             return $this->_execute($params);
  •  301.         }
  •  302.
  •  303.         /*
  •  304.          * Do the same thing, but with query profiler
  •  305.          * management before and after the execute.

  • FICHEIRO: /home/werenfri/library/Zend/Db/Adapter/Abstract.php
  • LINHA:    468
  •  464.         }
  •  465.
  •  466.         // prepare and execute the statement with profiling
  •  467.         $stmt = $this->prepare($sql);
  •  468.         $stmt->execute($bind);
  •  469.
  •  470.         // return the results embedded in the prepared statement object
  •  471.         $stmt->setFetchMode($this->_fetchMode);
  •  472.         return $stmt;
  •  473.     }

  • FICHEIRO: /home/werenfri/library/Zend/Db/Adapter/Pdo/Abstract.php
  • LINHA:    238
  •  234.             }
  •  235.         }
  •  236.
  •  237.         try {
  •  238.             return parent::query($sql, $bind);
  •  239.         } catch (PDOException $e) {
  •  240.             /**
  •  241.              * @see Zend_Db_Statement_Exception
  •  242.              */
  •  243.             require_once 'Zend/Db/Statement/Exception.php';

  • FICHEIRO: /home/werenfri/library/Zend/Db/Adapter/Abstract.php
  • LINHA:    706
  •  702.     {
  •  703.         if ($fetchMode === null) {
  •  704.             $fetchMode = $this->_fetchMode;
  •  705.         }
  •  706.         $stmt = $this->query($sql, $bind);
  •  707.         $result = $stmt->fetchAll($fetchMode);
  •  708.         return $result;
  •  709.     }
  •  710.
  •  711.     /**

  • FICHEIRO: /home/werenfri/application/Galeria/GenericController.php
  • LINHA:    213
  •  209.          * cache nesta sucatisse, implementar menu como deve ser, com cerca de 100 categorias são feitas mais de 400 queries, o que é incomportável
  •  210.          * @todo refazer e manter compatibilidades
  •  211.          */
  •  212.         if(($result = $this->_customCache->load(md5($query))) === false) {
  •  213.             $result = $db->fetchAll($query);
  •  214.             $this->_customCache->save($result, md5($query));
  •  215.         }
  •  216.         
  •  217.         if ($result) {
  •  218.             $this->view->total      = count($result);

  • FICHEIRO: /home/werenfri/application/Galeria/GenericController.php
  • LINHA:    103
  •  99.             $this->_categoriaModel->where($this->_categoriaModel->getTableName() . '.pai_id = ?', $categoriaId);
  •  100.             $this->_categoriaModel->where($this->_categoriaModel->getTableName() . '.activo = 1');
  •  101.             $this->_resultCategorias = $this->_categoriaModel->count();
  •  102.             if ($this->_resultCategorias > 0) {
  •  103.                 return $this->listCategoriasAction($categoriaId);
  •  104.             } else {
  •  105.                 return $this->listImagensAction();
  •  106.             }
  •  107.         } else {
  •  108.             return $this->listImagensAction();

  • FICHEIRO: /home/werenfri/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/werenfri/library/Zend/Controller/Dispatcher/Standard.php
  • LINHA:    289
  •  285.             ob_start();
  •  286.         }
  •  287.
  •  288.         try {
  •  289.             $controller->dispatch($action);
  •  290.         } catch (Exception $e) {
  •  291.             // Clean output buffer on error
  •  292.             $curObLevel = ob_get_level();
  •  293.             if ($curObLevel > $obLevel) {
  •  294.                 do {

  • FICHEIRO: /home/werenfri/library/Zend/Controller/Front.php
  • LINHA:    946
  •  942.                 /**
  •  943.                  * Dispatch request
  •  944.                  */
  •  945.                 try {
  •  946.                     $dispatcher->dispatch($this->_request, $this->_response);
  •  947.                 } catch (Exception $e) {
  •  948.                     if ($this->throwExceptions()) {
  •  949.                         throw $e;
  •  950.                     }
  •  951.                     $this->_response->setException($e);

  • FICHEIRO: /home/werenfri/library/Goweb/Application.php
  • LINHA:    428
  •  424.     }
  •  425.
  •  426.     public function runApp(){
  •  427.         $frontController = Zend_Controller_Front::getInstance();
  •  428.         $frontController->dispatch();
  •  429.     }
  •  430. }

  • FICHEIRO: /home/werenfri/public_html/index.php
  • LINHA:    53
  •  49. $application->initSession('_FRONT', true);
  •  50. $application->initPainel();
  •  51. $application->initLanguage(isset($_GET['lang']) ? $_GET['lang'] : null, true, false);
  •  52. $application->initLanguageAdmin(isset($_GET['lang']) ? $_GET['lang'] : null, true, true);
  •  53. $application->runApp();
  •  54.
  •  55.
  •  56. /**
  •  57.  * Efectua a traducao de uma string.
  •  58.  */