- 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/cache/cms/cms_5_pt.tpl
- LINHA: 1
- 1.
<?php echo $this->component('/catalogo/list/categoria_id/0/'); ?>
- FICHEIRO: /home/placonascente/cache/cms/cms_5_pt.tpl
- LINHA: 1
- 1.
<?php echo $this->component('/catalogo/list/categoria_id/0/'); ?>
- 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/application/Cms/Controller.php
- LINHA: 225
- 221. preg_match('/<h1.*?>(.*?)<\/h1>/',$html2,$match);
- 222. if($match){ $this->view->titulo_principal = ''; }
- 223.
- 224. if ($canal) {
- 225. $this->view->output = $this->view->render($filename);
- 226. $this->view->setViewsPath(VIEWS_PATH);
- 227. $this->_helper->viewRenderer->setNoController(true);
- 228. $this->_helper->viewRenderer->setRender(str_replace('.' . $this->_helper->viewRenderer->getViewSuffix(), '', $canal));
- 229. } else {
- 230. $this->_helper->viewRenderer->setNoController(true);
- FICHEIRO: /home/placonascente/application/Cms/GenericController.php
- LINHA: 230
- 226. if ($pathInfo &&
- 227. ($this->_model->findBy('url', $pathInfo) ||
- 228. $this->_model->findBy('url', substr($pathInfo, 1)))) {
- 229. if (!$this->_model->homepage) {
- 230. return $this->viewAction($this->_model->id);
- 231. }
- 232. }
- 233. if ($this->_model->findBy('homepage', '1')) {
- 234. if (($this->_getLinkStart() && strlen($pathInfo) == 0 && $this->_getParam('lang')) || (strcmp($pathInfo, $this->_getLinkStart()) != 0 &&
- 235. strcmp($pathInfo, $this->_getLinkStart() . '/') != 0)) {
- FICHEIRO: /home/placonascente/library/Goweb/Controller/Action.php
- LINHA: 280
- 276. */
- 277. /*if ($this->getInvokeArg('useCaseSensitiveActions')) {
- 278. trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
- 279. }*/
- 280. $this->$action();
- 281. } else {
- 282. $this->__call($action, array());
- 283. }
- 284. $this->postDispatch();
- 285. }
- 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() {