Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: Email Welcome stack error

    I set to "blank" this function

    $langfolder = (strtolower($_SESSION['languages_code']) == ' ') ? '' : strtolower($_SESSION['languages_code']) . '/';

    And I got the button_check_new_version.gif right in both languages, but the StackError again in that page only.

    I can't have both, can I?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email Welcome stack error

    The modified functions_email code that you posted shows a syntax error:
    Code:
        // Identify and Read the template file for the type of message being sent
        $langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'pt') ? '' : strtolower($_SESSION['languages_code']) . '/';
    Removing the "or 'pt'" would be a good starting point.

    But, I should point out that the "Email Welcome Preview" feature is removed in the next version of Zen Cart. There are no plans to support it, nor to fix any issues which may exist with it.
    As I've already indicated, the correct way to test the sending of (any) emails is to actually send them.
    .

    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.

 

 

Similar Threads

  1. Inserting message stack error in confirmation email
    By rjspomer in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Jan 2011, 08:46 PM
  2. Error in welcome email
    By srwebguy in forum Basic Configuration
    Replies: 5
    Last Post: 20 Aug 2010, 06:59 PM
  3. Welcome Email Error
    By Aderra in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Oct 2009, 07:27 PM
  4. "header" Message Stack Error in welcome email tool
    By koolos.com in forum General Questions
    Replies: 0
    Last Post: 8 Jan 2008, 03:24 AM
  5. Email Welcome goes through but creates error
    By frankiepol in forum General Questions
    Replies: 1
    Last Post: 4 Nov 2007, 08:53 AM

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