Jump to content

Página en blanco después de cambio de dominio


MarcusRB

Recommended Posts

Hola,

ya como dice el titulo, no veo el sitio desde cuando he cambiado solamente el dominio y seguido los pasos como post anteriores:

 

-revisar ps_configuration

-vaciar cache y smarty en la carpeta /tools

-activar la consola de errores y veo esto (he efectuado solamente un cambio de dominio, -anteriormente funcionaba correctamente sin errores)

 

Que más puedo revisar? Gracias

Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/homez.425/lerotiqu/b2b-lenceriaobsessive/themes/theme283/header.tpl" on line 18 "{elseif $page_name=='id_cms=3}" - Unexpected "id_cms"' in /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(18, 'id_cms') #2 /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(18, 'id_cms') #3 /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler-> in /homez.425/lerotiqu/b2b-lenceriaobsessive/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431
Link to comment
Share on other sites

  On 4/7/2014 at 9:59 AM, nadie said:

Basicamente lo que dice el error, es que tienes un error, en el fichero:

/themes/theme283/header.tpl

En esta linea:

{elseif $page_name=='id_cms=3}

(Que por cierto esta mal)

 

Este es raro, con el anterior dominio esto funcionaba:

 

{if $page_name=='id_cms=2}
<meta name="robots" content="noindex,follow" />
{elseif $page_name=='id_cms=3}
<meta name="robots" content="noindex,follow" />
{elseif $page_name=='id_cms=4}
<meta name="robots" content="noindex,follow" />
{else}
<meta name="robots" content="index,follow" />
{/if}
 
y ahora, no?! Quitando y dejando solo el último tag funciona, pero y si quiero crear la misma secuencia, porqué antes funcionaba?
Link to comment
Share on other sites

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