Drumstock Posted May 25, 2020 Share Posted May 25, 2020 Buenas, tengo varios errores tras activar el modulo Menu For Mobile, he activado el modo depuración y me da los errores que os adjunto He intentado volver a desactivar el modulo y borrar cache pero no consigo hacerlo funcionar. Un saludo y gracias Quote (1/1) SmartyCompilerException Syntax error in template "file:/var/www/themes/theme_kobe1/templates/_partials/head.tpl" on line 62 "'userId': '{/literal}{$cookie->;id_customer}{literal}'," - Unexpected ";", expected one of: "{" , DOLLARID , "id, name" , "$" in smarty_internal_templatecompilerbase.php line 62 at Smarty_Internal_TemplateCompilerBase->trigger_template_error()in smarty_internal_templateparser.php line 3425 at Smarty_Internal_Templateparser->yy_syntax_error(23, ';')in smarty_internal_templateparser.php line 3490 at Smarty_Internal_Templateparser->doParse(23, ';')in smarty_internal_smartytemplatecompiler.php line 128 at Smarty_Internal_SmartyTemplateCompiler->doCompile('{** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2017 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {block name=\'head_charset\'} <meta charset="utf-8"> {/block} {block name=\'head_ie_compatibility\'} <meta http-equiv="x-ua-compatible" content="ie=edge"> {/block} {block name=\'head_seo\'} <title>{block name=\'head_seo_title\'}{$page.meta.title}{/block}</title> <meta name="description" content="{block name=\'head_seo_description\'}{$page.meta.description}{/block}"> <meta name="keywords" content="{block name=\'head_seo_keywords\'}{$page.meta.keywords}{/block}"> {if $page.meta.robots !== \'index\'} <meta name="robots" content="{$page.meta.robots}"> {/if} {if $page.canonical} <link rel="canonical" href="{$page.canonical}"> {/if} {/block} {block name=\'head_viewport\'} <meta name="viewport" content="width=device-width, initial-scale=1"> {/block} {block name=\'head_icons\'} <link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}"> <link rel="shortcut icon" type="image/x-icon" href="{$shop.favicon}?{$shop.favicon_update_time}"> {/block} <link href="https://fonts.googleapis.com/css?family=Libre+Franklin:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=latin-ext" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!--Si el usuario está logado, mandamos a la capa de datos el usuario y el mail--> {if $logged} {literal} <script> window.dataLayer = window.dataLayer || []; dataLayer.push({ \'userId\': \'{/literal}{$cookie->;id_customer}{literal}\', \'emailUsuario\': \'{/literal}{$cookie->;email}{literal}\' }); </script> {/literal} {/if} <!-- Google Tag Manager --> {literal}<script>;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= \'https://www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); })(window,document,\'script\',\'dataLayer\',\'GTM-KBZ5RMH\');</script>{/literal} <!-- End Google Tag Manager --> {block name=\'stylesheets\'} {include file="_partials/stylesheets.tpl" stylesheets=$stylesheets} {/block} {block name=\'javascript_head\'} {include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars} {/block} {block name=\'hook_header\'} {$HOOK_HEADER nofilter} {/block} {block name=\'hook_extra\'}{/block} ', true)in smarty_internal_templatecompilerbase.php line 481 at Smarty_Internal_TemplateCompilerBase->compileTemplateSource(object(SmartyDevTemplate), false, null)in smarty_internal_templatecompilerbase.php line 404 at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(SmartyDevTemplate))in smarty_template_compiled.php line 184 at Smarty_Template_Compiled->compileTemplateSource(object(SmartyDevTemplate))in smarty_template_compiled.php line 141 at Smarty_Template_Compiled->process(object(SmartyDevTemplate))in smarty_template_compiled.php line 105 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:_partials/head.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)in 9e6c4f355c74f7ca6533767b1a31f433c40fad72_2.file.layout-both-columns.tpl.php line 195 at Block_2682580315ecbdce931bf86_59205868->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2682580315ecbdce931bf86_59205868), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2682580315ecbdce931bf86_59205868))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2682580315ecbdce931bf86_59205868', 'head')in 9e6c4f355c74f7ca6533767b1a31f433c40fad72_2.file.layout-both-columns.tpl.php line 40 at content_5ecbdce9329055_77476729(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 4fed48b330d637e0f74483b458bb72bb0e494fe2_2.file.layout-full-width.tpl.php line 42 at content_5ecbdce9319f85_34942567(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 67a1451c2b190c513ca8ad7fcd2c4ddea279ead0_2.file.page.tpl.php line 33 at content_5ecbdced0ca935_52368569(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in e94dc0427e42beefef1c5f0c62ef28ed04edfcc9_2.file.index.tpl.php line 33 at content_5ecbdced0c59f7_98558805(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 682 at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 666 at FrontControllerCore->display()in Controller.php line 301 at ControllerCore->run()in Dispatcher.php line 509 at DispatcherCore->dispatch()in index.php line 28 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