Results 1 to 10 of 32

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default costumer account reg. email sent in two languages but not the third

    Hi All!

    Making trial registrations and everything goes fine with english and german. Costumer registers
    gets email about his/her account, welcome and everything.
    But in hungarian no email is sent.
    Can the problem be in some of the php files? Or in admin?

    Thanks in advance

    Nandor

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,874
    Plugin Contributions
    96

    Default Re: costumer account reg. email sent in two languages but not the third

    Is there an /email/xx directory (where xx is the 2-letter code for Hungarian) containing your Hungarian email templates? Are there any debug log files in your /cache folder?

  3. #3
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    Is there an /email/xx directory (where xx is the 2-letter code for Hungarian) containing your Hungarian email templates? Are there any debug log files in your /cache folder?

    Hello!

    i checked the log files and the last ones are from 8th march. This email issue is from yesterday. I mean i tried the trial registrations yesterday in all three
    languages. So there is nothing there about this welcome email issue.

    By email directory did you mean like includes/languages/hungarian/email extras.php?

    Or where should i look for this? Sorry for not knowing right away.....

    thanks in advance

    Nandor

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,874
    Plugin Contributions
    96

    Default Re: costumer account reg. email sent in two languages but not the third

    nandor, there should be a directory named /email at the same level within your store's directory structure as the /images directory. That directory will contain the default/english templates and then have two subdirectories /email/de for your German email templates and /email/xx for your Hungarian email templates ... even if the files are identical inside each subdirectory.

  5. #5
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    nandor, there should be a directory named /email at the same level within your store's directory structure as the /images directory. That directory will contain the default/english templates and then have two subdirectories /email/de for your German email templates and /email/xx for your Hungarian email templates ... even if the files are identical inside each subdirectory.
    i have found it but there are only html and image files in there. Can this be the reason why no hungarian reg. welcome emails are sent out? Then why are english and german emails sent?
    made two screenshots:


    Click image for larger version. 

Name:	email dir.jpg 
Views:	75 
Size:	83.1 KB 
ID:	12186

    Click image for larger version. 

Name:	files in email dir.jpg 
Views:	69 
Size:	82.6 KB 
ID:	12187

    thanks in advance

    Nandor

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,874
    Plugin Contributions
    96

    Default Re: costumer account reg. email sent in two languages but not the third

    Nandor, I just found your other thread (http://www.zen-cart.com/showthread.p...o-works-fine); I'm guessing that these two issues are related. Would you post back the contents of your /includes/languages/english.php, /includes/languages/german.php and /includes/languages/hungarian.php files, showing the following information:
    Code:
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat try 'en_US'
    // on FreeBSD try 'en_US.ISO_8859-1'
    // on Windows try 'en', or 'English'
      @setlocale(LC_TIME, 'en_US.ISO_8859-1');
      define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
      define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
      define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
      define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    
    ////
    // Return date in raw format
    // $date should be in format mm/dd/yyyy
    // raw date is in format YYYYMMDD, or DDMMYYYY
      if (!function_exists('zen_date_raw')) {
        function zen_date_raw($date, $reverse = false) {
          if ($reverse) {
            return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
          } else {
            return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
          }
        }
      }
    
    // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
      define('LANGUAGE_CURRENCY', 'USD');
    
    // Global entries for the <html> tag
      define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
      define('CHARSET', 'iso-8859-1');
    and then also the contents of the same three filenames in the /YOUR_ADMIN/includes/includes/languages directory:
    Code:
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy');  //Use only 'dd', 'MM' and 'yyyy' here in any order
    
    ////
    // Return date in raw format
    // $date should be in format mm/dd/yyyy
    // raw date is in format YYYYMMDD, or DDMMYYYY
    function zen_date_raw($date, $reverse = false) {
      if ($reverse) {
        return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
      } else {
        return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
      }
    }
    
    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');
    
    // include template specific meta tags defines
      if (file_exists(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/meta_tags.php')) {
        $template_dir_select = $template_dir . '/';
      } else {
        $template_dir_select = '';
      }
      require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');
    
    // meta tags
    define('ICON_METATAGS_ON', 'Meta Tags Defined');
    define('ICON_METATAGS_OFF', 'Meta Tags Undefined');
    define('TEXT_LEGEND_META_TAGS', 'Meta Tags Defined:');
    define('TEXT_INFO_META_TAGS_USAGE', '<strong>NOTE:</strong> The Site/Tagline is your defined definition for your site in the meta_tags.php file.');
    
    // Global entries for the <html> tag
    define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');
    There's an inconsistency between the character sets your store is using for English and German when compared to Hungarian. Would you also let us know what version of PHP your store is running?

 

 

Similar Threads

  1. Copy of Create Account Email not being sent after switching to Paypal Express
    By Dreamer40 in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 11 Mar 2015, 01:01 AM
  2. v151 Order confirmation email not sent to customers but I get a copy
    By Olet in forum General Questions
    Replies: 1
    Last Post: 13 May 2014, 08:02 PM
  3. v139e Orders not shown in admin, and no email sent to costumer and to admin email
    By Nandor in forum Managing Customers and Orders
    Replies: 26
    Last Post: 5 Mar 2013, 02:48 PM
  4. Wellcome Email, on two languages ?
    By sicness in forum General Questions
    Replies: 1
    Last Post: 18 Jul 2006, 07:58 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