jjnadoux Posted March 21, 2016 Share Posted March 21, 2016 Bonjour Depuis ce matin, j'ai une erreur sur mon site. Hier j'ai voulu changer de solution de chat sur mon site. Passant de livezilla à LiveEngage. Je ne sais pas si c'est lié mais voilà le message d'erreur que j'ai: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/faireparqo/www/themes/specialdev317-bootstrap/header.tpl" on line 81 "<script type="text/javascript"> window.lpTag=window.lpTag||{};if(typeof window.lpTag._tagCount==='undefined'){window.lpTag={site:'44035704'||'',section:lpTag.section||'',autoStart:lpTag.autoStart===false?false:true,ovr:lpTag.ovr||{},_v:'1.5.1',_tagCount:1,protocol:location.protocol,events:{bind:function(app,ev,fn){lpTag.defer(function(){lpTag.events.bind(app,ev,fn);},0);},trigger:function(app,ev,json){lpTag.defer(function(){lpTag.events.trigger(app,ev,json);},1);[spam-filter],defer:function(fn,fnType){if(fnType==0){this._defB=this._defB||[];this._defB.push(fn);}else if(fnType==1){this._defT=this._defT||[];this._defT.push(fn);}else{this._defL=this._defL||[];this._defL.push(fn);[spam-filter],load:function(src,chr,id){var t=this;setTimeout(function(){t._load(src,chr,id);},0);},_load:function(src,chr,id){var url=src;if(!src){url=this.protocol+'//'+((this.ovr&&this.ovr.domain)?this.ovr.domain:'lptag.live in /home/faireparqo/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 81 Que dois je faire ?? Merci d'avance Link to comment Share on other sites More sharing options...
tuk66 Posted March 21, 2016 Share Posted March 21, 2016 Utilisez-vous un module pour LiveEngage? Are you using a module for LiveEngage? Link to comment Share on other sites More sharing options...
jjnadoux Posted March 21, 2016 Author Share Posted March 21, 2016 Oui je l'ai désactivé pour voir si ça remarche mais non. Hier il était actif et tout fonctionnait Link to comment Share on other sites More sharing options...
tuk66 Posted March 21, 2016 Share Posted March 21, 2016 Malgré cela, je pense qu'il est le module. code JavaScript a besoin d'un traitement spécial dans les modèles .tpl. Even so, I think it is the module. JavaScript code needs some special handling in .tpl templates. Link to comment Share on other sites More sharing options...
Eolia Posted March 21, 2016 Share Posted March 21, 2016 Vous pourriez collez le message d'erreur dans une balise code (bouton <>) parce que là, j'ai l'impression que le forum modifie le code du texte ? Link to comment Share on other sites More sharing options...
jjnadoux Posted March 21, 2016 Author Share Posted March 21, 2016 voilà l'erreur Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/faireparqo/www/themes/specialdev317-bootstrap/header.tpl" on line 81 "<script type="text/javascript"> window.lpTag=window.lpTag||{};if(typeof window.lpTag._tagCount==='undefined'){window.lpTag={site:'44035704'||'',section:lpTag.section||'',autoStart:lpTag.autoStart===false?false:true,ovr:lpTag.ovr||{},_v:'1.5.1',_tagCount:1,protocol:location.protocol,events:{bind:function(app,ev,fn){lpTag.defer(function(){lpTag.events.bind(app,ev,fn);},0);},trigger:function(app,ev,json){lpTag.defer(function(){lpTag.events.trigger(app,ev,json);},1);[spam-filter],defer:function(fn,fnType){if(fnType==0){this._defB=this._defB||[];this._defB.push(fn);}else if(fnType==1){this._defT=this._defT||[];this._defT.push(fn);}else{this._defL=this._defL||[];this._defL.push(fn);[spam-filter],load:function(src,chr,id){var t=this;setTimeout(function(){t._load(src,chr,id);},0);},_load:function(src,chr,id){var url=src;if(!src){url=this.protocol+'//'+((this.ovr&&this.ovr.domain)?this.ovr.domain:'lptag.live in /home/faireparqo/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 81 Link to comment Share on other sites More sharing options...
jjnadoux Posted March 21, 2016 Author Share Posted March 21, 2016 Malgré cela, je pense qu'il est le module. code JavaScript a besoin d'un traitement spécial dans les modèles .tpl. Even so, I think it is the module. JavaScript code needs some special handling in .tpl templates. et que dois-je faire ?? Link to comment Share on other sites More sharing options...
tuk66 Posted March 21, 2016 Share Posted March 21, 2016 Cela dépend des fichiers de ce module. It depends on the files of that module. Link to comment Share on other sites More sharing options...
Eolia Posted March 21, 2016 Share Posted March 21, 2016 ce sont les accolades qui font crasher smarty, vous devez encadrer votre script avec {literal}...{/literal} Ou la simple quote dans this.ovr.domain:'lptag.live Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now