Error in receipt to user

Discussion in 'Troubleshooting' started by dereck_j2, Mar 1, 2007.

  1. dereck_j2

    dereck_j2 Member

    Joined:
    Aug 22, 2006
    Messages:
    42
    Hi all

    If I send a customer a receipt I get the following error:
    +++++++++++++++++++++++++++++++++++++++++++
    ERROR [256] Smarty error: [in memory:text line 65]: syntax error: unrecognized tag: $p.title|string_format:";%-50s"; (Smarty_Compiler.class.php, line 403) in line 1102 of file /homepages/41/d43000764/htdocs/baggagepin/amember/smarty/Smarty.class.php
    +++++++++++++++++++++++++++++++++++++++++++

    If I then look at the email template and fine the line concerned I see this

    +++++++++++++++++++++++++++++++++++++++++++
    {foreach from=$products item=p}
    {$p.title|string_format:";%-50s";} {$config.currency|default:";$";}{$p.price}
    {/foreach}

    ++++++++++++++++++++++++++++++++++++++++++

    Can anuone see what is wrong with the line.

    Many thanks

    Dereck
  2. dereck_j2

    dereck_j2 Member

    Joined:
    Aug 22, 2006
    Messages:
    42
    Resolved My Typing
  3. kcarey

    kcarey Member

    Joined:
    Dec 27, 2009
    Messages:
    42
    Can you point out your typo... I'm getting a similar error and trying to find the mistake.

    thanks,

    k-carey
    ________
    KISSING ADVICE FORUMS

Share This Page