Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2009
    Posts
    80
    Plugin Contributions
    2

    Default Emails not using my language files

    Hi Guys

    I changed the admin configuration from not using MIME HTML to use it.

    Then noticed that emails were going out with the correct text.

    EMAIL_SPAM_DISCLAIMER, SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT, etc

    I have checked and there are language files in /includes/languages/english/email_extras.php which relate to this but don't seem to be working.

    Any ideas?

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Emails not using language files

    Report back any error logs in this folder:

    root directory/ cache
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    Nov 2009
    Posts
    80
    Plugin Contributions
    2

    Default Re: Emails not using language files

    Adding the defines to the default english.php fixes this, however it adds another 50 lines to the file so idealy I would still like to fix or find out why it wont use the email_extras.php. :S

  4. #4
    Join Date
    Nov 2009
    Posts
    80
    Plugin Contributions
    2

    Default Re: Emails not using language files

    Haredo

    Thanks for the reply, the only error I could find in there was this.

    [25-May-2011 09:11:02] PHP Warning: file_get_contents(/home/rvsco/public_html/includes/languages/english/rvs/email_extras.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home/rvsco/public_html/admin/email_welcome.php on line 208

    [25-May-2011 09:11:02] PHP Warning: copy(/home/rvsco/public_html/includes/languages/english/rvs/email_extras.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in /home/rvsco/public_html/admin/email_welcome.php on line 210

    the file /includes/languages/english/rvs/email_extras.php does exist. :S

    However I havent received this error again and it was still sending without translating the defines.

  5. #5
    Join Date
    Jan 2004
    Posts
    58,280
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Emails not using language files

    There are TWO files of the same name, but different locations. Evidently your admin file is missing.
    - /includes/languages/english/email_extras.php (and the custom override folder version of that file)
    - /renamed-admin/includes/languages/english/email_extras.php (no overrides for this file)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Nov 2009
    Posts
    80
    Plugin Contributions
    2

    Default Re: Emails not using my language files

    DrByte, Thankyou, problem solved.

 

 

Similar Threads

  1. language files
    By Soniccc in forum Addon Language Packs
    Replies: 3
    Last Post: 15 Jun 2011, 08:21 AM
  2. Where are the language files for HTML emails ?
    By drgr33n in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Oct 2010, 02:37 PM
  3. Emails language problem
    By PuxaTino in forum Addon Language Packs
    Replies: 3
    Last Post: 22 Jul 2010, 09:40 AM
  4. order emails to admin language/config files
    By JimmyV in forum General Questions
    Replies: 4
    Last Post: 14 Jul 2010, 06:07 PM

Bookmarks

Posting Permissions

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