Fatal error: Smarty error:

Discussion in 'Troubleshooting' started by cewncew, Jan 26, 2006.

  1. cewncew

    cewncew Guest

    After upgrading to the new version I am getting the following error:


    Fatal error: Smarty error: [in admin/user_payment.html line 85]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1232) in /var/www/xxxxxxxxx/xxxxxxxxxxxxx/httpdocs/amember/smarty/Smarty.class.php on line 1102

    Anybody have a fix?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please try to re-upload file amember/templates/admin/user_payment.html
  3. cewncew

    cewncew Guest

    More errors

    Our customers are getting error messages sent to them like this one:
    Similar emails for cc expires, sign up, renew, account expiring etc..


    Warning: Smarty error: unable to read resource: "cc/card_expires.txt" in
    /var/www/vhosts/EDITTED.com/httpdocs/amember/smarty/Smarty.class.php
    on line 1102

    and Send Automatic Emails is blank. How do I fix this?
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I recommend you to check entire templates folder and make sure all templates from recent version are present in your installation. Now copy file
    amember/templates/cc/card_expires.txt that was added to new version.

Share This Page