Jump to content

Sign in/My account/My order error on page


Recommended Posts

When I click Sign in/My account/My order  I get an error on page.

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/xxxxx/themes/default-bootstrap/authentication.tpl" on line 374 "{else}" unexpected closing tag <-- thrown in/xxxx/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 374

 

Can anyone guide me where to find this error?

 

smarty_internal_templatecompilerbase.php   lines near 374 are:

 

        } else {

            // map_named attributes
            if (isset($args['_attr'])) {
                foreach ($args['_attr'] as $key => $attribute) {
                    if (is_array($attribute)) {                                               This is line 374  
                        $args = array_merge($args, $attribute);
                    }
                }
            }
Link to comment
Share on other sites

authentication,tpl file looks like this near 374

 

{else}
<!--{if isset($account_error)}
<div class="error">
{if {$account_error|@count} == 1}
<p>{l s='There\'s at least one error'} :</p>                             ----------------Line 374
{else}
<p>{l s='There are %s errors' sprintf=[$account_error|@count]} :</p>
{/if}
<ol>
 
Is anythng wrong there?
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...