- FICHEIRO: /home/placonascente/library/Goweb/Controller/Action.php
- LINHA: 857
- MENSAGEM: Unable to communicate securely with peer: requested domain name does not match the server's certificate.
- 853. curl_close($curl);
- 854.
- 855. if ($error) {
- 856.
- 857. throw new Goweb_Exception($error);
- 858.
- 859. } else {
- 860.
- 861. return json_decode($response);
- 862.
- FICHEIRO: /home/placonascente/application/Catalogo/Controller.php
- LINHA: 26
- 22. public function init() {
- 23.
- 24.
- 25.
- 26. $loginUserWebService = $this->_webServiceLogin();
- 27.
- 28. if (!$loginUserWebService->sucesso === true)
- 29. return $this->_redirect('/');
- 30.
- 31. $openCompanyWebService = $this->_webServiceOpenCompany();
- FICHEIRO: /home/placonascente/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/placonascente/library/Goweb/Controller/Action.php
- LINHA: 86
- 82. if(!$response) $response = new Zend_Controller_Response_Http();
- 83. if(!$invokeArgs) $invokeArgs = array();
- 84. $this->_auth = Zend_Auth::getInstance();
- 85. $response->setHeader('Content-Type', 'text/html; charset=' . CHARSET);
- 86. parent::__construct($request, $response, $invokeArgs);
- 87. $this->view->assign('baseUrl', str_replace('/admin', '', str_replace('/index.php', '', $this->_request->getBaseUrl())));
- 88. $this->_helper->viewRenderer->setNoController(true);
- 89. $this->_session = Goweb::registry('session');
- 90. $this->view->session = $this->_session;
- 91. if($this->_getParam('lang') && $this->_getParam('lang') != $this->_session->lang && is_array($this->_session->langs) && in_array($this->_getParam('lang'), $this->_session->langs)){
- FICHEIRO: /home/placonascente/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/placonascente/library/Zend/View/Helper/Action.php
- LINHA: 135
- 131. ->setControllerName($controller)
- 132. ->setActionName($action)
- 133. ->setDispatched(true);
- 134.
- 135. $this->dispatcher->dispatch($this->request, $this->response);
- 136.
- 137. // reset the viewRenderer object to it's original state
- 138. Zend_Controller_Action_HelperBroker::addHelper($viewRendererObj);
- 139.
- 140.
- FICHEIRO: /home/placonascente/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/placonascente/library/Zend/View/Abstract.php
- LINHA: 350
- 346. // call the helper method
- 347. return call_user_func_array(
- 348. array($helper, $name),
- 349. $args
- 350. );
- 351. }
- 352.
- 353. /**
- 354. * Given a base path, sets the script, helper, and filter paths relative to it
- 355. *
- FICHEIRO: /home/placonascente/views/homepage.tpl
- LINHA: 48
- 44. </div>
- 45.
- 46. <?php echo $this->component('/banners/carrossel/categoria_id/2'); ?>
- 47.
- 48. <?php echo $this->component('/catalogo/destaques/'); ?>
- 49.
- 50. <div class="cta-home">
- 51. <?php echo $this->component('/banners/bannersPagina/pagina_id/'.$id.'/categoria_id/3/'); ?>
- 52. </div>
- 53.
- FICHEIRO: /home/placonascente/views/homepage.tpl
- LINHA: 48
- 44. </div>
- 45.
- 46. <?php echo $this->component('/banners/carrossel/categoria_id/2'); ?>
- 47.
- 48. <?php echo $this->component('/catalogo/destaques/'); ?>
- 49.
- 50. <div class="cta-home">
- 51. <?php echo $this->component('/banners/bannersPagina/pagina_id/'.$id.'/categoria_id/3/'); ?>
- 52. </div>
- 53.
- FICHEIRO: /home/placonascente/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/placonascente/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/placonascente/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 912
- 908. $name = $this->getResponseSegment();
- 909. }
- 910.
- 911. $this->getResponse()->appendBody(
- 912. $this->view->render($script),
- 913. $name
- 914. );
- 915.
- 916. $this->setNoRender();
- 917. }
- FICHEIRO: /home/placonascente/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 933
- 929. public function render($action = null, $name = null, $noController = null)
- 930. {
- 931. $this->setRender($action, $name, $noController);
- 932. $path = $this->getViewScript();
- 933. $this->renderScript($path, $name);
- 934. }
- 935.
- 936. /**
- 937. * Render a script based on specification variables
- 938. *
- FICHEIRO: /home/placonascente/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 972
- 968. */
- 969. public function postDispatch()
- 970. {
- 971. if ($this->_shouldRender()) {
- 972. $this->render();
- 973. }
- 974. }
- 975.
- 976. /**
- 977. * Should the ViewRenderer render a view script?
- FICHEIRO: /home/placonascente/library/Zend/Controller/Action/HelperBroker.php
- LINHA: 277
- 273. */
- 274. public function notifyPostDispatch()
- 275. {
- 276. foreach (self::getStack() as $helper) {
- 277. $helper->postDispatch();
- 278. }
- 279. }
- 280.
- 281. /**
- 282. * getHelper() - get helper by name
- FICHEIRO: /home/placonascente/library/Goweb/Controller/Action.php
- LINHA: 290
- 286.
- 287. // whats actually important here is that this action controller is
- 288. // shutting down, regardless of dispatching; notify the helpers of this
- 289. // state
- 290. $this->_helper->notifyPostDispatch();
- 291. }
- 292.
- 293. /**
- 294. * Obter Caracteres especiais usados em windows
- 295. *
- FICHEIRO: /home/placonascente/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/placonascente/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/placonascente/library/Goweb/Application.php
- LINHA: 451
- 447. }
- 448.
- 449. public function runApp(){
- 450. $frontController = Zend_Controller_Front::getInstance();
- 451. $frontController->dispatch();
- 452. }
- 453. }
- FICHEIRO: /home/placonascente/public_html/index.php
- LINHA: 54
- 50. $application->initSession('_FRONT', true);
- 51. $application->initPainel();
- 52. $application->initLanguage(isset($_GET['lang']) ? $_GET['lang'] : null, true, false);
- 53. $application->initLanguageAdmin(isset($_GET['lang']) ? $_GET['lang'] : null, true, true);
- 54. $application->runApp();
- 55.
- 56. /**
- 57. * Efectua a traducao de uma string.
- 58. */
- 59. function translate() {