Skip to main content
adicionou 269 caracteres ao conteúdo
Fonte Link
Ivan Ferrer
  • 12,3mil
  • 3
  • 35
  • 94

Parece que a versão que está compilando é a 3 do smarty:

@link http://www.smarty.net/
 * @copyright 2008 New Digital Group, Inc.
 * @author Monte Ohrt <monte at ohrt dot com> 
 * @author Uwe Tews 
 * @package Smarty
 * @version 3.0.7

Parece que a versão que está compilando é a 3 do smarty:

@link http://www.smarty.net/
 * @copyright 2008 New Digital Group, Inc.
 * @author Monte Ohrt <monte at ohrt dot com> 
 * @author Uwe Tews 
 * @package Smarty
 * @version 3.0.7
adicionou 243 caracteres ao conteúdo
Fonte Link
Ivan Ferrer
  • 12,3mil
  • 3
  • 35
  • 94

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 67 "<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}87 "<nav>{if $content_onlyhook h="displayNav"} content_only{</if} lang_{$lang_iso}">"nav>" unknown tag "implode"'"hook"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Esta é a linha que está dando erro (6787):

<body<div class="header-container">
                <header id="header">
                    <div class="banner">
                        <div class="container">
                            <div class="row">
                                {ifhook isset($page_name)h="displayBanner"} 
 id="                           </div>
                        </div>
                    </div>
                    <div class="nav">
                        <div class="container">
                            <div class="row">
                                <nav>{$page_name|escape:'html':'UTF-8'hook h="displayNav"}"{</if}nav>
 class="{if isset($page_name)                          </div>
                        </div>
                    </div>
                    <div>
                        <div class="container">
                            <div class="row">
                                <div id="header_logo">
                                    <a href="{$base_dir}" title="{$page_name|escape$shop_name|escape:'html':'UTF-8'}{/if}{if">
 isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '                                 <img class="logo img-responsive" src="{$logo_url}" alt="{/if$shop_name|escape:'html':'UTF-8'}"{if $hide_left_column$logo_image_width} hide-left-columnwidth="{$logo_image_width}"{/if}{if $hide_right_column$logo_image_height} hide-right-columnheight="{$logo_image_height}"{/if}/>
                                    </a>
                                </div>
                                {if $content_onlyisset($HOOK_TOP)} content_only{$HOOK_TOP}{/if} 
 lang_{$lang_iso}">                           </div>
                        </div>
                    </div>
                </header>

O erro parece ser aqui:Nessa parte...

{implode value=$body_classes separator='{hook 'h="displayBanner"}

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 67 "<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">" unknown tag "implode"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Esta é a linha que está dando erro (67):

<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">

O erro parece ser aqui:

{implode value=$body_classes separator=' '}

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 87 "<nav>{hook h="displayNav"}</nav>" unknown tag "hook"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Esta é a linha que está dando erro (87):

<div class="header-container">
                <header id="header">
                    <div class="banner">
                        <div class="container">
                            <div class="row">
                                {hook h="displayBanner"} 
                            </div>
                        </div>
                    </div>
                    <div class="nav">
                        <div class="container">
                            <div class="row">
                                <nav>{hook h="displayNav"}</nav>
                            </div>
                        </div>
                    </div>
                    <div>
                        <div class="container">
                            <div class="row">
                                <div id="header_logo">
                                    <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
                                        <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
                                    </a>
                                </div>
                                {if isset($HOOK_TOP)}{$HOOK_TOP}{/if} 
                            </div>
                        </div>
                    </div>
                </header>

Nessa parte...

  {hook h="displayBanner"}
adicionou 5 caracteres ao conteúdo
Fonte Link
Ivan Ferrer
  • 12,3mil
  • 3
  • 35
  • 94

Instalei um tema usando o módulo: export/import theme, conforme mostra nesse vídeo : e agora estou recebendo essa mensagem no cabeçalho:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 67 "<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">" unknown tag "implode"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Alguém tem ideia do que pode ser esse erro?

Esta é a linha que está dando erro (67):

<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">

O erro parece ser aqui:

{implode value=$body_classes separator=' '}

Instalei um tema usando o módulo: export/import theme, conforme mostra nesse vídeo : e agora estou recebendo essa mensagem no cabeçalho:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 67 "<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">" unknown tag "implode"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Alguém tem ideia do que pode ser esse erro?

Esta é a linha que está dando erro:

<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">

Instalei um tema usando o módulo: export/import theme, conforme mostra nesse vídeo : e agora estou recebendo essa mensagem no cabeçalho:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/html/myproject/themes/food-store/header.tpl" on line 67 "<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">" unknown tag "implode"' in /var/www/html/myproject/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

Alguém tem ideia do que pode ser esse erro?

Esta é a linha que está dando erro (67):

<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">

O erro parece ser aqui:

{implode value=$body_classes separator=' '}
Fonte Link
Ivan Ferrer
  • 12,3mil
  • 3
  • 35
  • 94
Carregando