• FICHEIRO: /home/capamodular/application/Catalogo/GenericController.php
  • LINHA:    337
  • MENSAGEM: Undefined variable: tabela
  •  333.
  •  334.
  •  335.                     //vai buscar os translates para a lingua do foreach
  •  336.
  •  337.                     $query_translate = "select * from " . $tabela . "_" . $lang. " where id = '".$idTranslate."' and activo = 1";
  •  338.
  •  339.                     $res_translate = $db->fetchAll($query_translate);
  •  340.
  •  341.
  •  342.

  • FICHEIRO: /home/capamodular/application/Catalogo/GenericController.php
  • LINHA:    337
  •  333.
  •  334.
  •  335.                     //vai buscar os translates para a lingua do foreach
  •  336.
  •  337.                     $query_translate = "select * from " . $tabela . "_" . $lang. " where id = '".$idTranslate."' and activo = 1";
  •  338.
  •  339.                     $res_translate = $db->fetchAll($query_translate);
  •  340.
  •  341.
  •  342.

  • FICHEIRO: /home/capamodular/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/capamodular/library/Goweb/Controller/Action.php
  • LINHA:    171
  •  167.         $this->_auth = Zend_Auth::getInstance();
  •  168.
  •  169.         $response->setHeader('Content-Type', 'text/html; charset=' . CHARSET);
  •  170.
  •  171.         parent::__construct($request, $response, $invokeArgs);
  •  172.
  •  173.         $this->view->assign('baseUrl', str_replace('/admin', '', str_replace('/index.php', '', $this->_request->getBaseUrl())));
  •  174.
  •  175.         $this->_helper->viewRenderer->setNoController(true);
  •  176.

  • FICHEIRO: /home/capamodular/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/capamodular/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/capamodular/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/capamodular/public_html/index.php
  • LINHA:    54
  •  50. $application->initPainel();
  •  51. $lang = isset($_GET['lang']) ? $_GET['lang'] : null;
  •  52. $application->initLanguage($lang, true, false);
  •  53. $application->initLanguageAdmin($lang, true, true);
  •  54. $application->runApp();
  •  55.
  •  56.
  •  57. /**
  •  58.  * Efectua a traducao de uma string.
  •  59.  */