Smarty Errors After Installing Upgrade

Discussion in 'Installation' started by Footymalc, Mar 30, 2005.

  1. Footymalc

    Footymalc Guest

    I'm getting the following error after upgrading from 2.1.8 to 2.3.6:

    Fatal error: Smarty error: [in agreement.html line 137]: syntax error: unrecognized tag: assign var="title" value="User Agreement" (Smarty_Compiler.class.php, line 403) in /homepages/??/???????/htdocs/amember/smarty/Smarty.class.php on line 1102

    This is the standard agreement.html template with my agreement text added which was working fine until I upgraded.

    Any help or pointer would be greatly appreciated. :confused:

    Thanks.
    Footymalc.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Could you please paste contents of your amember/templates/agreement.html file here?
  3. Footymalc

    Footymalc Guest

    Hi Alex,

    The agreement.html file is too large to paste here so I have pasted the area of the code where the problem occurs. Please let me know if this is enough to determine what the problem is...

    ---------------------------------------------------------

    <body lang=EN-GB style='tab-interval:36.0pt'>

    <div class=Section1>

    <p class=MsoNormal>{<span class=GramE>assign</span> <span class=SpellE>var</span>=&quot;title&quot;
    value=&quot;User Agreement&quot;} {<span class=GramE>include</span>
    file=&quot;header.html&quot;} </p>

    <p class=MsoNormal align=center style='text-align:center'>{$title}</p>

    <div class=MsoNormal align=center style='text-align:center'>

    <hr size=2 width="100%" align=center>

    </div>

    -------------------------------------------------------------------

    Thanks
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    hey, what is it?

    <p class=MsoNormal>{<span class=GramE>assign</span> <span class=SpellE>var</span>=&quot;title&quot;
    value=&quot;User Agreement&quot;} {<span class=GramE>include</span>
    file=&quot;header.html&quot;} </p>

    it was very simple text:
    {include file="header.html"}

    kill your FrontPage! :)
  5. Footymalc

    Footymalc Guest

    How simple..... just like me... should have seen that really... oh well.

    Thanks for helping a simpleton.

Share This Page