- FICHEIRO: /home/realboard/application/Catalogo/Controller.php
- LINHA: 618
- MENSAGEM: Undefined variable: categoria_id
- 614. // parametro para associar loja
- 615. $this->view->loja = $this->_moduleConfig->loja->activa;
- 616.
- 617. //categorias chamar o menu
- 618. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.categoria_id=?', $categoria_id);
- 619. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.id !=?', $produto_id);
- 620. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.activo=?', '1');
- 621. $this->_produtoModel->order('ordem');
- 622. /*
- 623. $this->_produtoModel->limitPage($paginator->getPage(), $paginator->getRowsPerPage());
- FICHEIRO: /home/realboard/application/Catalogo/Controller.php
- LINHA: 618
- 614. // parametro para associar loja
- 615. $this->view->loja = $this->_moduleConfig->loja->activa;
- 616.
- 617. //categorias chamar o menu
- 618. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.categoria_id=?', $categoria_id);
- 619. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.id !=?', $produto_id);
- 620. $this->_produtoModel->where($this->_produtoModel->getTableName() . '.activo=?', '1');
- 621. $this->_produtoModel->order('ordem');
- 622. /*
- 623. $this->_produtoModel->limitPage($paginator->getPage(), $paginator->getRowsPerPage());
- FICHEIRO: /home/realboard/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/realboard/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/realboard/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/realboard/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/realboard/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/realboard/views/Catalogo/detail.tpl
- LINHA: 245
- 241. <?php if($produto->descricao) echo $produto->descricao; ?>
- 242. </div>
- 243.
- 244. <div>
- 245. <?php echo $this->component('/catalogo/relacionados/produto_id/'.$produto->id); ?>
- 246. </div>
- 247.
- 248.
- 249. </div>
- 250.
- FICHEIRO: /home/realboard/views/Catalogo/detail.tpl
- LINHA: 245
- 241. <?php if($produto->descricao) echo $produto->descricao; ?>
- 242. </div>
- 243.
- 244. <div>
- 245. <?php echo $this->component('/catalogo/relacionados/produto_id/'.$produto->id); ?>
- 246. </div>
- 247.
- 248.
- 249. </div>
- 250.
- FICHEIRO: /home/realboard/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/realboard/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/realboard/application/Cms/GenericController.php
- LINHA: 1868
- 1864. $session = Goweb::registry('session');
- 1865. $view->id = $session->lastId;
- 1866.
- 1867. $view->titulo = $titulo;
- 1868. $view->output = $view->render($template);
- 1869. $view->setViewsPath(VIEWS_PATH);
- 1870. if ($print) $canal = 'print.tpl';
- 1871. $viewRenderer->setRender(str_replace('.' . $viewRenderer->getViewSuffix(), '', $canal));
- 1872. }
- 1873. }
- FICHEIRO: /home/realboard/application/Catalogo/Controller.php
- LINHA: 564
- 560. 'detail.tpl',
- 561. 'Catalogo',
- 562. 'catalogo-detail',
- 563. '<a class="link" href="/'.$this->_session->lang.'/cms/view/id/3" style="float:left">'. translate('Início').'</a><div class="breadcrumbsep"></div><a class="link" style="float:left" href="#">'.translate('Produtos').'</a><div class="breadcrumbsep"></div>' .$this->_caminho('0', $this->_produtoModel->categoria_id). '<div class="breadcrumbsep"></div><a class="link" style="float:left" href="#">'.$this->view->produto->titulo.'</a>',
- 564. $this->_getParam('print'));
- 565. if (!$this->_getParam('print'))
- 566. $this->_helper->viewRenderer->setRender('base-catalogo');
- 567. }
- 568. }
- 569. else
- FICHEIRO: /home/realboard/application/Catalogo/GenericController.php
- LINHA: 107
- 103. if ($pathInfo &&
- 104. ($this->_produtoModel->findBy('url', $pathInfo) ||
- 105. $this->_produtoModel->findBy('url', substr($pathInfo, 1)))){
- 106. $this->_setParam('id', $this->_produtoModel->id);
- 107. return $this->detailAction();
- 108. }
- 109. if ($this->_categoriaModel->colExists('url') && $pathInfo &&
- 110. ($this->_categoriaModel->findBy('url', $pathInfo) ||
- 111. $this->_categoriaModel->findBy('url', substr($pathInfo, 1)))){
- 112. $this->_setParam('categoria_id', $this->_categoriaModel->id);
- FICHEIRO: /home/realboard/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/realboard/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/realboard/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/realboard/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/realboard/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. */