Home > Article > Web Front-end > Two ways to solve the conflict between {} and smarty delimiters in css and js_javascript skills
When the url address is entered, the web page appears: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "E:wampwwwcmssystem/templates/index.html" on line 79 "$("#job").load(". /system/templates/touch/test.php",{catid:3});" - Unexpected ":", expected one of: "}" , " "' in E:wampwwwcmssystemSmartyssyspluginssmarty_internal_templatecompilerbase.php on line 441 Such a problem, It is usually caused by the conflict between {} and smarty delimiters in css and js.
There are two solutions:
1. You can set the smarty delimiter to <{ }>