• FICHEIRO: /home/obrigadoprofesso/views/Galeria/detail.tpl
  • LINHA:    250
  • MENSAGEM: Trying to get property of non-object
  •  246.                   <div class="share">
  •  247.                     <a class="addthis_button_compact" addthis:url="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/' . $session->lang.'/galeria/go/'.$imagem->url; ?>" addthis:title="<?php echo $imagem->titulo; ?>">
  •  248.                       <img alt="" src="/media/images/social-depoimentos/share.png">
  •  249.                     </a>
  •  250.                     <!--<div><?php echo $tempcount->total; ?></div>-->
  •  251.                   </div>
  •  252.                 </div>
  •  253.
  •  254.                 <div class="share-wrap share">
  •  255.                   <div class="like">

  • FICHEIRO: /home/obrigadoprofesso/views/Galeria/detail.tpl
  • LINHA:    250
  •  246.                   <div class="share">
  •  247.                     <a class="addthis_button_compact" addthis:url="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/' . $session->lang.'/galeria/go/'.$imagem->url; ?>" addthis:title="<?php echo $imagem->titulo; ?>">
  •  248.                       <img alt="" src="/media/images/social-depoimentos/share.png">
  •  249.                     </a>
  •  250.                     <!--<div><?php echo $tempcount->total; ?></div>-->
  •  251.                   </div>
  •  252.                 </div>
  •  253.
  •  254.                 <div class="share-wrap share">
  •  255.                   <div class="like">

  • 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/Galeria/Controller.php
  • LINHA:    420
  •  416.                                            'detail.tpl',
  •  417.                                            'Galeria',
  •  418.                                            'galeria-detail',
  •  419.                                            $this->_imagemModel->titulo,
  •  420.                                            $this->_getParam('print'));
  •  421.               $this->_helper->viewRenderer->setRender("galeria");
  •  422.           } else {
  •  423.               $this->_helper->viewRenderer->setRender('detail');
  •  424.           }
  •  425.       } else {

  • 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.  */