Escapes smarty error, need help fast

Discussion in 'Troubleshooting' started by seobeyzek, Jun 1, 2009.

  1. seobeyzek

    seobeyzek New Member

    Joined:
    May 26, 2009
    Messages:
    5
    this is what I get

    ERROR [256] Smarty error: [in admin/email_test.html line 5]: [plugin] modifier 'escapes' is not implemented (core.load_plugins.php, line 118) in line 1102 of file /home/uscdave/public_html/internetbusinessbuildersclub.com/membership/smarty/Smarty.class.php

    What do I do?

    Dave
  2. doubleplus

    doubleplus New Member

    Joined:
    Nov 28, 2007
    Messages:
    8
    I have the exact same problem. I just installed this morning. It gives that error on test email, but it sends the email anyway...
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This is just a typo in admin/email_test.html template.
    Edit this template then Find & Replace "|escapes" to "|escape"
  4. fzondlo

    fzondlo New Member

    Joined:
    Aug 2, 2008
    Messages:
    13
    I'm getting the same error and the fix did not work.

    "escapes" did not turn up any results, neither did "escape" within email_test.html

    I've attached my email_test.html so you could take a look.

    Thanks in advance,

    - Frank
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    fzondlo,

    You attached what appears to be the PHP version of the page.

    The template is at:

    \amember\templates\admin\email_test.html

    The line you want to change (assuming 3.1.8) is line 5:

  6. doubleplus

    doubleplus New Member

    Joined:
    Nov 28, 2007
    Messages:
    8
    So at least it's just a test, and the regular emails worked fine. Not a bad bug, if there was going to be a bug!

    Thanks for the fix!
  7. fzondlo

    fzondlo New Member

    Joined:
    Aug 2, 2008
    Messages:
    13
    Thanks for the fix!
  8. gizmofl

    gizmofl New Member

    Joined:
    Jul 15, 2009
    Messages:
    3
    Smarty Error [256]

    I just wanted to thank you for the post. I encountered the issue on a new install of the product today, and changing the escapes to escape worked perfectly.
  9. timothysykes

    timothysykes New Member

    Joined:
    Jun 24, 2009
    Messages:
    8
    fixed error but email not sent?

    hello all,

    I was getting the same 256 error mentioned above. I applied the fix to email_test.html and sure enough the error went away. However, when I send a test email from amember - no email is sent. In the popup window that asks me if I received the email I say no and then the popup window says:

    "Instruction of email settings."
    --close--

    So I cannot debug or tell where the problem is coming from?

    Any Help?

    Thanks
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    what configuration are you using for your Mail? SMTP, PHP_MAIL, etc?

    Does mail work from other scripts in your environment using that configuration?

    By default it uses PHP_MAIL. You can check with your host to ensure this is active for your account.
  11. timothysykes

    timothysykes New Member

    Joined:
    Jun 24, 2009
    Messages:
    8
    I am using the PHP_MAIL function - currently there are no other scripts?
    I'll send a note to my host to check if this in enabled -
    but I am curious if I can enable or activate this myself?
  12. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @timothysykes: If PHPMail is disabled in your environment, your host will need to get you sorted as I doubt they have way for you to do it yourself in a shared environment.

Share This Page