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,162
    Plugin Contributions
    0

    Default Re: Emails not using language files

    Report back any error logs in this folder:

    root directory/ cache
    Mark
    Hare Do

  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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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. v151 Using php code in payment module language files?
    By gilby in forum Addon Payment Modules
    Replies: 1
    Last Post: 16 Apr 2013, 05:10 AM
  2. v151 Auto Emails not in right language
    By brodreneolsen in forum Managing Customers and Orders
    Replies: 14
    Last Post: 23 Feb 2013, 08:47 AM
  3. 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
  4. order emails to admin language/config files
    By JimmyV in forum General Questions
    Replies: 4
    Last Post: 14 Jul 2010, 06:07 PM
  5. Confirmation emails not using template?
    By rlparker in forum General Questions
    Replies: 2
    Last Post: 14 May 2008, 05:32 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR