9 hours ago, Rodrigo B Laurindo said:What do you have in
/jxheaderaccount/controllers/front/facebooklink.php
Line 67?
Error: Authentication failed.
at line 1109 in file classes/Tools.php
1104. ->getTranslator()
1105. ->trans('Fatal error', [], 'Admin.Notifications.Error');
1106. }
1107.
1108. if (_PS_MODE_DEV_) {
1109. throw new PrestaShopException($errorMessage);
1110. }
1111.
1112. return $errorMessage;
1113. }
1114.
-
ToolsCore::displayError - [line 67 - modules/jxheaderaccount/controllers/front/facebooklink.php] - [1 Arguments]
62. 63. try { 64. $session = $helper->getSessionFromRedirect(); 65. } catch (FacebookRequestException $ex) { 66. // When Facebook returns an error 67. $this->errors[] = Tools::displayError('Error: Authentication failed.'); 68. } catch (Exception $ex) { 69. // When validation fails or other local issues 70. $this->errors[] = Tools::displayError('Error: Authentication failed.'); 71. } 72.
-
JxHeaderAccountFacebookLinkModuleFrontController->initContent - [line 281 - classes/controller/Controller.php]
276. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 277. $this->initHeader(); 278. } 279. 280. if ($this->viewAccess()) { 281. $this->initContent(); 282. } else { 283. $this->errors[] = $this->trans('Access denied.', array(), 'Admin.Notifications.Error'); 284. } 285. 286. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
-
ControllerCore->run - [line 511 - classes/Dispatcher.php]
506. if (isset($params_hook_action_dispatcher)) { 507. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 508. } 509. 510. // Running controller 511. $controller->run(); 512. 513. // Execute hook dispatcher after 514. if (isset($params_hook_action_dispatcher)) { 515. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 516. }
-
DispatcherCore->dispatch - [line 28 - index.php]
23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch