Jump to content

[SOLUCIONADO] Error al activar "Forzar compilacion"


Recommended Posts

Buenas tardes,

 

Desde ayer me está pasando lo siguiente:

 

Cuando activo la opción de "Forzar compilación", la web muestra el siguiente error:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/miservidor/domains/midominio.com/public_html/themes/mitheme/header.tpl" on line 121 "" - Unexpected " "' in /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(0, 0) #2 /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(59): Smarty_Internal_Templateparser->doParse(0, 0) #3 /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Interna in /home/miservidor/domains/midominio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

El Backoffice, funciona perfectamente. Es el front, el que muestra el error.

 

 

Aunque no estoy segura al 100%, creo que este error empiezó a salir, desde que subí al servidor un módulo (extraproducttab) que dió error al intentar instalar. 

 

He buscado soluciones pero ninguna parece coincidir con el error que me da a mi.

 

¿Alguna idea?.

 

Mil gracias te antemano.

 

 

 

Edited by GD_foro (see edit history)
Link to comment
Share on other sites


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">

<head>

<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>

{if isset($meta_description) AND $meta_description}

<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />

{/if}

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta name="author" content="Nosotros" />

<meta name="classification" content="Arte floral y decoracion" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />

<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />

<script async="" src="//www.googletagmanager.com/gtm.js?id=GTM-DRHC6X"></script>

<script type="text/javascript">

var baseDir = '{$content_dir}';

var static_token = '{$static_token}';

var token = '{$token}';

var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

var priceDisplayMethod = {$priceDisplay};

var roundMode = {$roundMode};

</script>

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

{/foreach}

{/if}

{if isset($js_files)}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri}"></script>

{/foreach}

{/if}

 

 

{$HOOK_HEADER}

 

 

</head>

 

<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>

 

{literal}<!-- Google Tag Manager -->

<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-DRHC6X"

height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<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=

'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

})(window,document,'script','dataLayer','GTM-DRHC6X');</script>

<!-- End Google Tag Manager -->{literal}

 

<div id="fb-root"></div>

<script>(function(d, s, id) {

var js, fjs = d.getElementsByTagName(s)[0];

if (d.getElementById(id)) return;

js = d.createElement(s); js.id = id;

js.src = "//connect.facebook.net/es_ES/all.js#xfbml=1";

fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

 

 

 

 

{if !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>

</div>

{/if}

<div id="page">

 

<!-- Header -->

<div id="header">

<a href="http://www.misitio.com" style="border:0px;text-decoration:none;"><img src="http://www.misitio.com/themes/mitheme/img/logo.gif" style="border:0px;"></a>

<div id="header_right">

{$HOOK_TOP}

</div>

</div>

 

<div id="columns">

<!-- Left -->

<div id="left_column" class="column">

{$HOOK_LEFT_COLUMN}

</div>

 

<!-- Center -->

<div id="center_column">

{$HOOK_CENTER_COLUMN}

{/if}

 

Link to comment
Share on other sites

  • 4 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...