error on thanks page

Discussion in 'Customization & add-ons' started by bluenetworx, May 1, 2009.

  1. bluenetworx

    bluenetworx New Member

    Joined:
    Feb 6, 2009
    Messages:
    21
    Hi,

    My thanks page has stopped working and says:

    ERROR [256] Smarty error: [in thanks.html line 40]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1357) in line 1102 of file /home/XXXXX/public_html/XXXXXXX.com/amember/smarty/Smarty.class.php

    Can anyone help me as I am not a programmer but
    can make simple code changes when needed.

    Cheers

    M
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Have you made a change to the templates/thanks.html file?

    If so, try reverting the change(s) and seeing if that resolved your problem.
  3. bluenetworx

    bluenetworx New Member

    Joined:
    Feb 6, 2009
    Messages:
    21
    Hi,

    Thanks for your reply,

    and yes i did chnage the templates page
    but i changed things back and saved it
    and it is still giving error and now I can't
    revert back.

    Any ideas

    M
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    how about the one that ships with aMember (ie. from the original .zip file)
  5. bluenetworx

    bluenetworx New Member

    Joined:
    Feb 6, 2009
    Messages:
    21
    Dude you are a legend, I found that
    original file and was able to get the thanks
    page back to what it was.

    One more step and I am there, which is
    putting this paragraph on the page:

    <p"ClickBank is a registered trademark of Keynetics Inc., a Delaware corporation. your site name.com is not affiliated with Keynetics Inc. in any way, nor does Keynetics Inc. sponsor or approve any your site name.com product. Keynetics Inc. expresses no opinion as to the correctness of any of the statements made by your site name.com in the materials on this Web page."</p>

    Can you explain where I should be putting this?

    Is it in template/thanks.php or somewhere else?

    Thanks so much

    M
  6. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You need to put it in your template file: amember/templates/receipt.inc.html

    David

Share This Page