• FICHEIRO: /home/obrigadoprofesso/views/Noticias/list.tpl
  • LINHA:    18
  • MENSAGEM: Trying to get property of non-object
  •  14. <div class="col-lg-12 col-sm-12 paginator-wrap">
  •  15.
  •  16.     <div class="col-lg-12 col-sm-12 rem-padding">
  •  17.
  •  18.         <span>#<?php echo strtoupper($categoria->titulo); ?></span>
  •  19.
  •  20.         <?php echo $paginator_output; ?>
  •  21.
  •  22.     </div>
  •  23.

  • FICHEIRO: /home/obrigadoprofesso/views/Noticias/list.tpl
  • LINHA:    18
  •  14. <div class="col-lg-12 col-sm-12 paginator-wrap">
  •  15.
  •  16.     <div class="col-lg-12 col-sm-12 rem-padding">
  •  17.
  •  18.         <span>#<?php echo strtoupper($categoria->titulo); ?></span>
  •  19.
  •  20.         <?php echo $paginator_output; ?>
  •  21.
  •  22.     </div>
  •  23.

  • FICHEIRO: /home/obrigadoprofesso/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/obrigadoprofesso/library/Zend/View/Abstract.php
  • LINHA:    888
  •  884.         $this->_file = $this->_script($name);
  •  885.         unset($name); // remove $name from local scope
  •  886.
  •  887.         ob_start();
  •  888.         $this->_run($this->_file);
  •  889.
  •  890.         return $this->_filter(ob_get_clean()); // filter output
  •  891.     }
  •  892.
  •  893.     /**

  • FICHEIRO: /home/obrigadoprofesso/application/Cms/GenericController.php
  • LINHA:    2249
  •  2245.         $session = Goweb::registry('session');
  •  2246.         $view->id = $session->lastId;
  •  2247.
  •  2248.         $view->titulo = $titulo;
  •  2249.         $view->output = $view->render($template);
  •  2250.         $view->setViewsPath(VIEWS_PATH);
  •  2251.         if ($print)
  •  2252.             $canal = 'print.tpl';
  •  2253.         $viewRenderer->setRender(str_replace('.' . $viewRenderer->getViewSuffix(), '', $canal));
  •  2254.     }

  • FICHEIRO: /home/obrigadoprofesso/application/Noticias/Controller.php
  • LINHA:    93
  •  89.           Cms_Controller::renderOutput($this->view,
  •  90.                                       'list.tpl',
  •  91.                                       'Noticias',
  •  92.                                       'noticias-list',
  •  93.                                       (isset($categoria) && $categoria ? $categoria->titulo . $this->_goSeparator . translate('Not&iacute;cias') : translate('Not&iacute;cias') ) );
  •  94.           $this->_helper->viewRenderer->setRender($this->_canal);
  •  95.       }
  •  96.   }
  •  97.
  •  98.   /**

  • FICHEIRO: /home/obrigadoprofesso/application/Noticias/GenericController.php
  • LINHA:    247
  •  243.                         $this->_setParam('categoria_id', $this->_categoriaModel->id);
  •  244.                         return $this->listAction();
  •  245.             }
  •  246.         }
  •  247.         return $this->listAction();
  •  248.     }
  •  249.
  •  250.     /**
  •  251.      * Acao para listar as noticias registadas no sistema
  •  252.     */

  • FICHEIRO: /home/obrigadoprofesso/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/obrigadoprofesso/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/obrigadoprofesso/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/obrigadoprofesso/library/Goweb/Application.php
  • LINHA:    453
  •  449.     }
  •  450.
  •  451.     public function runApp(){
  •  452.         $frontController = Zend_Controller_Front::getInstance();
  •  453.         $frontController->dispatch();
  •  454.     }
  •  455. }
  •  456.

  • FICHEIRO: /home/obrigadoprofesso/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.  */