Fernando_buytop Posted March 24, 2014 Share Posted March 24, 2014 Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/buytop/public_html/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl" on line 46 "<span>{mailto address=$blockcontactinfos_email|escape:'html':'UTF-8' encode="hex"}</span>" unknown tag "mailto"' in /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ma...', 46) #1 /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('mailto', Array) #2 /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_tem in /home/buytop/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 Link to comment Share on other sites More sharing options...
PhpMadman Posted March 24, 2014 Share Posted March 24, 2014 Hi did you change anything in the /public_html/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl file? Beacuse this error means that there is something wrong in that file. On line 46. Link to comment Share on other sites More sharing options...
Fernando_buytop Posted March 24, 2014 Author Share Posted March 24, 2014 No i didnt change anything, back office its ok, but front office shows the error Link to comment Share on other sites More sharing options...
Fernando_buytop Posted March 24, 2014 Author Share Posted March 24, 2014 In smarty folder the file blockmailto is missing because ftp program detect a virus on it Link to comment Share on other sites More sharing options...
PhpMadman Posted March 24, 2014 Share Posted March 24, 2014 I assume you mean blockcontacts and not blockmailto file. Then that might be it. Get a new copy, make sure your anti virus software does not mess with the file, and hopefully it will work. Link to comment Share on other sites More sharing options...
Fernando_buytop Posted March 24, 2014 Author Share Posted March 24, 2014 (edited) Sorry, its function.mailto.php in tools/smarty/plugins/ this is the error when i try to upload the file: Ha ocurrido un error al intentar copiar los archivos a la ubicación remota Virus Detected and Removed: HTMLeval(unescape.UNOFFICIAL Edited March 24, 2014 by Fernando_buytop (see edit history) Link to comment Share on other sites More sharing options...
PhpMadman Posted March 24, 2014 Share Posted March 24, 2014 You need to disable virus check on PrestaShop, and re-install it. 1 Link to comment Share on other sites More sharing options...
Fernando_buytop Posted March 24, 2014 Author Share Posted March 24, 2014 ok, finally... what must i do to disable virus check on Prestashop ?? Lot Lot of thanks! Link to comment Share on other sites More sharing options...
PhpMadman Posted March 24, 2014 Share Posted March 24, 2014 That depends on your virus software... Generally they have an exclude field in settings. Link to comment Share on other sites More sharing options...
Fernando_buytop Posted March 24, 2014 Author Share Posted March 24, 2014 OK madman, dont worry, i upload the file using the hosting control panel and the shop is running, lot lot of thanks !!!! Link to comment Share on other sites More sharing options...
cortese14 Posted April 8, 2014 Share Posted April 8, 2014 I fixed the error, i changed this string: <li{ifisset($last)&&$last=='true'}class="last"{/if}> width <li {if isset($last) && $last == 'true'}class="last"{/if}> The problem in the code are the spaces. I don't know the origin ... Link to comment Share on other sites More sharing options...
PhpMadman Posted April 8, 2014 Share Posted April 8, 2014 Hi. In what file did you find that string? And did you do an upgrade or a new install? And what PS version? Link to comment Share on other sites More sharing options...
cortese14 Posted April 8, 2014 Share Posted April 8, 2014 In what file did you find that string? themes/xxxx/category-tree-branch.tpl And did you do an upgrade or a new install? new install And what PS version? 1.5 Link to comment Share on other sites More sharing options...
PhpMadman Posted April 8, 2014 Share Posted April 8, 2014 I see, so yours is not a PrestaShop error, but a theme error. Still good info tho. 1 Link to comment Share on other sites More sharing options...
cortese14 Posted April 8, 2014 Share Posted April 8, 2014 yes, of course, this is a theme error, in another theme the string is correct Link to comment Share on other sites More sharing options...
Recommended Posts