- FICHEIRO: /home/absinfor/library/Zend/Db/Table/Abstract.php
- LINHA: 830
- MENSAGEM: Failed saving metadata to metadataCache
- 826. /**
- 827. * @see Zend_Db_Table_Exception
- 828. */
- 829. require_once 'Zend/Db/Table/Exception.php';
- 830. throw new Zend_Db_Table_Exception('Failed saving metadata to metadataCache');
- 831. }
- 832. }
- 833.
- 834. // Assign the metadata to $this
- 835. $this->_metadata = $metadata;
- FICHEIRO: /home/absinfor/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/absinfor/library/Goweb/Form/Generic/Barebone.php
- LINHA: 54
- 50. $moduleConfig = new Goweb_Config(Goweb_Config_Ini::load(APPLICATION_PATH . '/' . $this->_moduleDir . '/config.ini', 'base'));
- 51. $elementModel = Goweb::getModelInstance($this->_moduleModelElement, $this->_moduleAdapter, false);
- 52. $elementModel->where($elementModel->getTableName() . '.' . $this->_moduleElement . '=?', $moduleElementId);
- 53. $elementModel->order('ordem');
- 54. $elements = $elementModel->fetchAll();
- 55. if ($elements) {
- 56. $availableValidators = $elementModel->getValidators();
- 57. foreach ($elements as $element) {
- 58. $name = 'element_' . $element->id;
- 59. $elementType = ucfirst($element->element);
- FICHEIRO: /home/absinfor/application/Form/GenericController.php
- LINHA: 345
- 341. */
- 342. protected function _getForm($formId) {
- 343. Goweb::loadClass('Form_Barebone', dirname(__FILE__));
- 344. $form = new Form_Barebone('form_' . $formId, '/form/submit/id/' . $formId . '/');
- 345. $form->setup($formId);
- 346. if ($this->_formModel->colExists('with_captcha') && $this->_formModel->find($formId) && $this->_formModel->with_captcha){
- 347. $baseUrl = str_replace(array('/admin', '/index.php'), '', Zend_Controller_Front::getInstance()->getBaseUrl());
- 348. goweb::loadClass('Goweb_Form_Element_Captcha');
- 349. $captcha = new Goweb_Form_Element_Captcha('verificacao', array(
- 350. 'label' => translate("Por favor introduza o código na imagem"),
- FICHEIRO: /home/absinfor/application/Form/GenericController.php
- LINHA: 81
- 77. $this->view->form = false;
- 78. if (!$this->_validateId($id) || !$this->_formModel->find($id)) {
- 79. return false;
- 80. }
- 81. $form = $this->_getForm($id);
- 82. $form->render();
- 83. $this->view->form_id = $id;
- 84. $this->view->form = $form;
- 85. $this->view->model = $this->_getFormModel($id);
- 86. $this->view->error = $this->_error;
- FICHEIRO: /home/absinfor/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/absinfor/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/absinfor/library/Zend/View/Helper/Action.php
- LINHA: 131
- 127. ->setControllerName($controller)
- 128. ->setActionName($action)
- 129. ->setDispatched(true);
- 130.
- 131. $this->dispatcher->dispatch($this->request, $this->response);
- 132.
- 133. // reset the viewRenderer object to it's original state
- 134. Zend_Controller_Action_HelperBroker::addHelper($viewRendererObj);
- 135.
- 136.
- FICHEIRO: /home/absinfor/library/Goweb/View/Helper/Component.php
- LINHA: 56
- 52. $params['directRequest'] = false;
- 53.
- 54. //$controllerName = $this->_formatControllerName($controller);
- 55. //$actionName = $this->_formatActionName($action);
- 56. $return = $this->action($action, $controller, null, $params);
- 57. //goweb::dump($return);
- 58. //exit();
- 59. return $return;
- 60. }
- 61. }
- FICHEIRO: /home/absinfor/library/Zend/View/Abstract.php
- LINHA: 340
- 336. // call the helper method
- 337. return call_user_func_array(
- 338. array($helper, $name),
- 339. $args
- 340. );
- 341. }
- 342.
- 343. /**
- 344. * Given a base path, sets the script, helper, and filter paths relative to it
- 345. *
- FICHEIRO: /home/absinfor/cache/cms/cms_84_pt.tpl
- LINHA: 124
- 120. <td> </td>
- 121. <td> </td>
- 122. <td style="background-color: #ffffff; border-radius: 20px; box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 5px; padding-top: 30px; padding-left: 20px; padding-right: 20px; border: 1px solid #ffffff;" colspan="5" rowspan="8" valign="top">
- 123. <div style="text-align: center;"><span style="font-size: large;"><span style="color: #000000;"><strong>Contacte-nos</strong></span></span></div>
- 124. <span style="font-size: large;"><span style="font-size: small;"><span style="color: #000000;"><br /><br /></span></span><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><?php echo $this->component('/form/view/id/1/'); ?></span> </span><br /></span></span></td>
- 125. <td style="width: 20px;"> </td>
- 126. </tr>
- 127. <tr style="height: 30px;">
- 128. <td> </td>
- 129. <td> </td>
- FICHEIRO: /home/absinfor/cache/cms/cms_84_pt.tpl
- LINHA: 124
- 120. <td> </td>
- 121. <td> </td>
- 122. <td style="background-color: #ffffff; border-radius: 20px; box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 5px; padding-top: 30px; padding-left: 20px; padding-right: 20px; border: 1px solid #ffffff;" colspan="5" rowspan="8" valign="top">
- 123. <div style="text-align: center;"><span style="font-size: large;"><span style="color: #000000;"><strong>Contacte-nos</strong></span></span></div>
- 124. <span style="font-size: large;"><span style="font-size: small;"><span style="color: #000000;"><br /><br /></span></span><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><?php echo $this->component('/form/view/id/1/'); ?></span> </span><br /></span></span></td>
- 125. <td style="width: 20px;"> </td>
- 126. </tr>
- 127. <tr style="height: 30px;">
- 128. <td> </td>
- 129. <td> </td>
- FICHEIRO: /home/absinfor/library/Goweb/View.php
- LINHA: 49
- 45. extract(get_object_vars($this));
- 46. if ($this->_useViewStream && $this->useStreamWrapper()) {
- 47. include 'zend.view://' . func_get_arg(0);
- 48. } else {
- 49. include func_get_arg(0);
- 50. }
- 51. }
- 52.
- 53. /**
- 54. * Escapes a value for output in a view script.
- FICHEIRO: /home/absinfor/library/Zend/View/Abstract.php
- LINHA: 831
- 827. $this->_file = $this->_script($name);
- 828. unset($name); // remove $name from local scope
- 829.
- 830. ob_start();
- 831. $this->_run($this->_file);
- 832.
- 833. return $this->_filter(ob_get_clean()); // filter output
- 834. }
- 835.
- 836. /**
- FICHEIRO: /home/absinfor/application/Cms/GenericController.php
- LINHA: 202
- 198.
- 199. $this->_session->lastId = $this->_model->id;
- 200.
- 201. if ($canal) {
- 202. $this->view->output = $this->view->render($filename);
- 203. $this->view->setViewsPath(VIEWS_PATH);
- 204. $this->_helper->viewRenderer->setNoController(true);
- 205. $this->_helper->viewRenderer->setRender(str_replace('.' . $this->_helper->viewRenderer->getViewSuffix(), '', $canal));
- 206. } else {
- 207. $this->_helper->viewRenderer->setNoController(true);
- FICHEIRO: /home/absinfor/application/Cms/GenericController.php
- LINHA: 94
- 90. if ($pathInfo &&
- 91. ($this->_model->findBy('url', $pathInfo) ||
- 92. $this->_model->findBy('url', substr($pathInfo, 1)))){
- 93. if (!$this->_model->homepage){
- 94. return $this->viewAction($this->_model->id);
- 95. }
- 96. }
- 97. if ($this->_model->findBy('homepage', '1')) {
- 98. if ((strlen($pathInfo) == 0 && $this->_getParam('lang')) || (strcmp($pathInfo, $this->_getLinkStart()) != 0 &&
- 99. strcmp($pathInfo, $this->_getLinkStart() . '/') != 0) ){
- FICHEIRO: /home/absinfor/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/absinfor/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/absinfor/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/absinfor/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/absinfor/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. */