AnsweredAssumed Answered

Can't add dashlets

Question asked by Freek Sijmons on Mar 30, 2016
Latest reply on Apr 1, 2016 by Freek Sijmons

Hello folks,


After a clean install of sugar i'm not able to add any dashlets. When i look at the apache error logs i get te following error:


PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/include/Smarty/Smarty_Compiler.class.php on line 268


When i change the preg_replace to preg_replace_callback smarty starts flipping the error message:


PHP Fatal error:  Smarty error: [in themes/Sugar5/tpls/header.tpl line 63]: syntax error: unrecognized tag: YAHOO.util.History.register('ajaxUILoc', "", SUGAR.ajaxUI.go);\n    {/literal (Smarty_Compiler.class.php, line 434) in /var/www/html/include/Smarty/Smarty.class.php on line 1095


And sugar gives a white page.


Any ideas?


Kind regards,


Freek Sijmons.