Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by mc12345678 View Post
    Yeah, that's because I requested the wrong information. :) Oops..

    FILENAME_EMAIL_EXTRAS is the constant that should be expected... Under normal installations this should resolve to a define providing email_extras but...

    Now because the create account works correctly, it would help to then search for the constant that provides that replacement, so try searching for: SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT using the above methodology.
    found these but look ok to me?/home/sites/25a.co.uk/public_html/includes/languages/english/email_extras.php

    Line #40 : define('SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT','[CREATE ACCOUNT]');

    /home/sites/25a.co.uk/public_html/includes/languages/english/email_extrasold.php

    Line #40 : define('SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT','[CREATE ACCOUNT]');

    /home/sites/25a.co.uk/public_html/includes/modules/create_account.php

    Line #426 : if (trim(SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT) != 'n/a') zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT . ' ' . EMAIL_SUBJECT,

  2. #12
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by Congerman View Post
    found these but look ok to me?/home/sites/25a.co.uk/public_html/includes/languages/english/email_extras.php

    Line #40 : define('SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT','[CREATE ACCOUNT]');

    /home/sites/25a.co.uk/public_html/includes/languages/english/email_extrasold.php

    Line #40 : define('SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT','[CREATE ACCOUNT]');

    /home/sites/25a.co.uk/public_html/includes/modules/create_account.php

    Line #426 : if (trim(SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT) != 'n/a') zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_SUBJECT . ' ' . EMAIL_SUBJECT,
    Ah ha.. There might be the issue...

    Rename: includes/languages/english/email_extrasold.php
    to: includes/languages/english/email_extrasold.php.old
    Or to have some extension other than .php... (Preferably to be removed from the server entirely, but there may be content therein that you may want even though it is incorrectly renamed as "old".)

    Though now I question that as a solution... Looking through the code there doesn't appear to be any way to pull the email_extras file using email_extrasold.php unless the constant FILENAME_EMAIL_EXTRAS has been reassigned to view that file... Seeing as that file doesn't return the "missing" constant it seems to be the one being loaded for some reason.
    Last edited by mc12345678; 14 Oct 2015 at 09:48 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #13
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by mc12345678 View Post
    Ah ha.. There might be the issue...

    Rename: includes/languages/english/email_extrasold.php
    to: includes/languages/english/email_extrasold.php.old
    Or to have some extension other than .php... (Preferably to be removed from the server entirely, but there may be content therein that you may want even though it is incorrectly renamed as "old".)

    Though now I question that as a solution... Looking through the code there doesn't appear to be any way to pull the email_extras file using email_extrasold.php unless the constant FILENAME_EMAIL_EXTRAS has been reassigned to view that file... Seeing as that file doesn't return the "missing" constant it seems to be the one being loaded for some reason.
    Nice thought but did not work admin email subject still says SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT Order Confirmation No: 6470

  4. #14
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by Congerman View Post
    Nice thought but did not work admin email subject still says SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT Order Confirmation No: 6470
    What process is generating this? Is this a from a plugin on the admin side, or is this when a customer purchases from the store front?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #15
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,878
    Plugin Contributions
    96

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Do you, by any chance, have a file named /includes/languages/english/YOUR_TEMPLATE/email_extras.php? If so, check to make sure that the constant in question is defined in that file.

  6. #16
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    This is a customer order. I have just tried using the classic template and all was resolved.

    It is a problem with "bana" template I guess

  7. #17
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by lat9 View Post
    Do you, by any chance, have a file named /includes/languages/english/YOUR_TEMPLATE/email_extras.php? If so, check to make sure that the constant in question is defined in that file.
    no i don't

  8. #18
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by Congerman View Post
    no i don't
    And you understand that YOUR_TEMPLATE represents the template override for your bana template correct?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #19
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by mc12345678 View Post
    And you understand that YOUR_TEMPLATE represents the template override for your bana template correct?
    I am a zen follower, I have developed over 25 carts. I understand the override system

    Thanks

  10. #20
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT and starnge charecter

    Quote Originally Posted by mc12345678 View Post
    And you understand that YOUR_TEMPLATE represents the template override for your bana template correct?
    And to clarify (for fear of the above seeming rude) 1. We haven't talked about which version of ZC is involved,
    2) The results of searching on FILENAME_EMAIL_EXTRAS hasn't been provided,
    3) Haven't discussed how if at all includes/languages/english.php has been modified.

    These three things in and of themselves can vary the default behaviour which should load the default version of the email_extras.php file if one does not exist in the template override directory at least in the latest ZC version (which this obviously is not based on the difference in line numbers for the same code provided above...)

    So... That led both lat9 and I to ask about the same file in attempting a solution.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Starnge Payment Issue
    By holsterland in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2011, 03:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg