Hello everyone. I’ve recently encountered an issue with our SuiteCRM installation that I was hoping someone could shed some light on. When trying to access the login page, I get the following stack trace error:
: Undefined index: HEADERSYNC occurred in /opt/bitnami/apps/suitecrm/htdocs/cache/smarty/templates_c/%%79^79D^79D9896D%%displayLoginJS.tpl.php on line 27 [2019-04-25 12:17:56] display_stack_trace caller, file: /opt/bitnami/apps/suitecrm/htdocs/include/utils.php line#: 3543
/opt/bitnami/apps/suitecrm/htdocs/cache/smarty/templates_c/%%79^79D^79D9896D%%displayLoginJS.tpl.php[L:27](:StackTraceErrorHandler)
/opt/bitnami/apps/suitecrm/htdocs/include/Smarty/Smarty.class.php[L:1270](:include)
/opt/bitnami/apps/suitecrm/htdocs/include/Sugar_Smarty.php[L:158](Smarty:fetch)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/View/SugarView.php[L:872](Sugar_Smarty:fetch)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/View/SugarView.php[L:1260](SugarView:_displayLoginJS)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/View/SugarView.php[L:409](SugarView:renderJavascript)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/View/SugarView.php[L:199](SugarView:displayHeader)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/Controller/SugarController.php[L:432](SugarView:process)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/Controller/SugarController.php[L:375](SugarController:processView)
/opt/bitnami/apps/suitecrm/htdocs/include/MVC/SugarApplication.php[L:109](SugarController:execute)
/opt/bitnami/apps/suitecrm/htdocs/index.php[L:51](SugarApplication:execute)
I’ve been doing some digging through the code of the stack trace and found that the SugarView.php file is supposed to set the headersync variable to point to a file called modules/Sync/headersync.js, which does not exist on my server. Any ideas? Thanks!