WARNING: Cannot find applicable e-mail template for [send_pending_admin,en,,] in line

Discussion in 'Troubleshooting' started by outofnowhere, Jun 15, 2009.

  1. outofnowhere

    outofnowhere New Member

    Joined:
    Oct 8, 2007
    Messages:
    3
    I am about to go crazy setting this up!

    I am testing a new installation. My goal is to offer free membership to a protected directory. I want admin to approve membership before allowing access to the directory.

    I have set for the admin to receive an email notice stating that a membership is pending (Setup > Email > Send Pending E-Mail to Admin > Free Signup).

    I have set the visitor to received an email (Setup > Email > Send Pending E-Mail > Free Signup) indicating that their membership is pending.

    When a new visitor signs up (signup.php), he/she is redirected to a page that shows these messages:

    WARNING: Cannot find applicable e-mail template for [send_pending_admin,en,,] in line 1216 of file common.inc.php
    WARNING: Cannot modify header information - headers already sent by (output started at /home/content/p/e/t/petropoulos/html/amember/rconfig.inc.php(19) : eval()'d code(1) : eval()'d code:385) in line 43 of file free.inc.php

    The visitor successfully receives his email; the admin doesn't.

    (I have the admin email set; I am using email via sendmail path and it works.)

    Please help. Thanks, Mary Beth
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please check that template aMember CP -> Setup -> Email -> Send pending Email -> Edit template and make sure it is not empty.
    If it is empty just create new template, and error will be fixed.
  3. catalinse

    catalinse New Member

    Joined:
    Apr 19, 2009
    Messages:
    17
    I just update amember to last verssion
    I have the same problem but i have all the templates and still receive
    WARNING: Cannot find applicable e-mail template for [send_payment_admin,en,,] in line 1216 of file common.inc.php
    Also when i test the signup with paypal payment i receive the error from image.
    After i complect the payment i dont receive any email from amember, just one email from paypal.
    What can i do?
    I folow the instruction but all my templates are not empty.
    Regards
    Catalin
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Sounds like you may have missing or corrupted template files?

    Have you made changes to your templates? If not, for a test you should try uploading the stock amember\templates folder back up to your server.

    If you have made changes, you may want to try backing up your changes, uploading the stock amember\templates folder and then adding back your changed files one at a time until you find out which one caused the problem.
  5. catalinse

    catalinse New Member

    Joined:
    Apr 19, 2009
    Messages:
    17
    Thanks for reply but what means stock amember\templates
    Im confuse.
    Regards
    Catalin
  6. catalinse

    catalinse New Member

    Joined:
    Apr 19, 2009
    Messages:
    17
    Hi again Alexander
    I did exactly what you said but even with original files i get the same error.
    WARNING: Cannot find applicable e-mail template for [send_signup_mail,en,3,] in line 1199 of file common.inc.php
    WARNING: Cannot find applicable e-mail template for [send_payment_admin,en,,] in line 1216 of file common.inc.php

    So what else i can do ?
    Catalin
  7. catalinse

    catalinse New Member

    Joined:
    Apr 19, 2009
    Messages:
    17
    No one can help please?
    After upgrade i get these errors and i made how alexander say but the same problem

    Thanks
    Catalin
  8. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Have you actually submitted a support ticket to aMamber??
  9. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    What I mean is that you download aMember from amember. That zip file has all of the original files. If you replace the contents of your server with the original files, does the problem go away?

Share This Page