PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

ERRORES DE CODIGO EN PAGINA PRINCIPAL


  • Please log in to reply
No replies to this topic
XavRov

    PrestaShop Apprentice

  • Members
  • PipPip
  • 133 posts

Posted 11 February 2014 - 12:40 AM

Al intentar instalar un modulo he visto que al activar los errores me aparecia esto:

 

Notice: Use of undefined constant �category� - assumed '�category�' in /var/www/vhosts/prosegtar.com/httpdocs/modules/ganalytics/ganalytics.php on line 162

Notice: Use of undefined constant �product� - assumed '�product�' in /var/www/vhosts/prosegtar.com/httpdocs/modules/ganalytics/ganalytics.php on line 163

Notice: Use of undefined constant �search� - assumed '�search�' in /var/www/vhosts/prosegtar.com/httpdocs/modules/ganalytics/ganalytics.php on line 164

Notice: Use of undefined constant �cms� - assumed '�cms�' in /var/www/vhosts/prosegtar.com/httpdocs/modules/ganalytics/ganalytics.php on line 165

Notice: Use of undefined constant �index� - assumed '�index�' in /var/www/vhosts/prosegtar.com/httpdocs/modules/ganalytics/ganalytics.php on line 166

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/prosegtar.com/httpdocs/themes/theme329/header.tpl" on line 39 "{if $page_name == ‘index’ or $page_name == ‘search’}" - Unexpected "�"' in /var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(10, '?') #2 /var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(10, '?') #3 /var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doC in/var/www/vhosts/prosegtar.com/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

-- 

y no tengo ni idea de que he de hacer. Alguien puede decirme como solucionar estos problemas.

 

Gracias






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users