Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Unfamiliar Text on Welcome Emails

    When creating an account on my site, the welcome email that the customer receives shows as:

    EMAIL_SUBJECT

    EMAIL_GREET_NONEEMAIL_WELCOME

    EMAIL_TEXTEMAIL_CONTACTEMAIL_GV_CLOSURE

    EMAIL_DISCLAIMER_NEW_CUSTOMER

    This email address was given to us by you or by one of our customers. If you
    feel that you have received this email in error, .....


    The problem is that I don't know where to begin trying to fix this since I can't find any files with the codes EMAIL_GREET_NONEEMAIL_WELCOME or EMAIL_TEXTEMAIL_CONTACTEMAIL_GV_CLOSURE. My email transport option is currently on php.

    Anybody has any ideas? Thanks

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Unfamiliar Text on Welcome Emails

    Quote Originally Posted by bigjoed View Post
    I can't find any files with the codes
    This is likely to be the source of your problem. Looks like you're missing some define statements.

    These should be located in..
    includes/languages/english/create_account.php

    FTP to your server and check the integrity of that file.

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    Additionally, the SINGLE QUOTES that encase the text labels/strings may have been deleted too.

    Here's the first few lines of code in includes\languages\english\create_account_php

    PHP Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: create_account.php 3027 2006-02-13 17:15:51Z drbyte $
     */

    define('NAVBAR_TITLE''Create an Account');

    define('HEADING_TITLE''My Account Information');

    define('TEXT_ORIGIN_LOGIN''<strong class="note">NOTE:</strong> If you already have an account with us, please login at the <a href="%s">login page</a>.');

    // greeting salutation
    define('EMAIL_SUBJECT''Welcome to ' STORE_NAME);
    define('EMAIL_GREET_MR''Dear Mr. %s,' "\n\n");
    define('EMAIL_GREET_MS''Dear Ms. %s,' "\n\n");
    define('EMAIL_GREET_NONE''Dear %s' "\n\n");
    If you DELETE a label:-

    define('NAVBAR_TITLE', 'Create an Account');

    Then make sure the single quotes are retained.

    define('NAVBAR_TITLE', '');

    To make sure the integrity of your create_account.php file is intact, use WINMERGE to compare you copy with an original file.

  4. #4
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    Well, this one is really beating me up. I just realized that I was never going to find the code as it shows because it is supposed to be separated. It should be:

    EMAIL_SUBJECT
    EMAIL_GREET_NONE
    EMAIL_WELCOME
    EMAIL_TEXT
    EMAIL_CONTACT
    EMAIL_GV_CLOSURE
    EMAIL_DISCLAIMER_NEW_CUSTOMER

    instead of:

    EMAIL_SUBJECT
    EMAIL_GREET_NONEEMAIL_WELCOME
    EMAIL_TEXTEMAIL_CONTACTEMAIL_GV_CLOSURE
    EMAIL_DISCLAIMER_NEW_CUSTOMER

    Another problem I can't figure out is why is EMAIL_DISCLAIMER_NEW_CUSTOMER displayed on the email since the definition for it also shows right below it.

    Any help on this one...

    Thanks

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    Did you read Post #3 above...

    includes\languages\english\create_account_php

    is where you need to look.

    If this stumps you, just FTP upload a fresh copy of:

    (YOUR HARD DRIVE OF ZENCART)includes\languages\english\create_account_php

    to

    (YOUR WEBSERVER OF ZENCART)includes\languages\english\create_account_php

  6. #6
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    I did. I used "Beyond Compare" to compare files and they all match with a clean installation. Also, I just uploaded the create_account.php and the entire email folder through my cPanel (File Manager Upload) as opposed to my FTP software and I'm still getting the same results.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Unfamiliar Text on Welcome Emails

    What URL is this happening at?
    How many "create_account.php" files do you have under your /includes/languages/ area?
    If you search for "EMAIL_GREET_NONE" using the Developers Toolkit, where do you find it defined? (searching ALL files in Catalog)
    Do another search for ALL Catalog files for EMAIL_DISCLAIMER_NEW_CUSTOMER. Where do you find it?

    What version of Zen Cart?
    What addons/contributions do you have installed?

    You said you did a compare of files ... which files did you compare? Did you compare *everything* or just a few language files?
    .

    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.

  8. #8
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    Thanks for your help.

    I'm not quite sure what you mean by "What URL is this happening at?" It happens on the welcome email after signing up.

    I did a search on the developers tool kit and these are the results:

    When searching for EMAIL_GREET_NONE I get the following:


    /home/store/public_html/includes/languages/english/create_account.php

    Line #19 : define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

    /home/store/public_html/includes/languages/english/mytemplate/faqs_submit.php

    Line #9 : define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

    /home/store/public_html/includes/languages/english/mytemplate/links_submit.php

    Line #30 : define('EMAIL_GREET_NONE', 'Dear %s,' . "\n\n");

    /home/store/public_html/includes/languages/english/mytemplate/returns.php

    Line #26 : define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

    /home/store/public_html/includes/languages/english/mytemplate/testimonials_add.php

    Line #21 : define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

    /home/store/public_html/includes/modules/create_account.php

    Line #342 : $email_text = sprintf(EMAIL_GREET_NONE, $firstname);

    /home/store/public_html/includes/modules/pages/faqs_submit/header_php.php

    Line #114 : $email_text = sprintf(EMAIL_GREET_NONE, $name);

    /home/store/public_html/includes/modules/pages/links_submit/header_php.php

    Line #108 : $email_text = sprintf(EMAIL_GREET_NONE, $links_contact_name);

    /home/store/public_html/includes/modules/pages/returns/header_php.php

    Line #79 : $email_text = sprintf(EMAIL_GREET_NONE, $name);

    /home/store/public_html/includes/modules/pages/testimonials_add/header_php.php

    Line #81 : $email_text = sprintf(EMAIL_GREET_NONE, $name);

    /home/store/public_html/includes/modules/payment/paypalwpp.php

    Line #2113 : $email_text = sprintf(EMAIL_GREET_NONE, $paypal_ec_payer_info['payer_firstname']) . EMAIL_WELCOME . EMAIL_TEXT;

    /home/store/public_html/includes/modules/mytemplate/create_account.php

    Line #365 : $email_text = sprintf(EMAIL_GREET_NONE, $firstname);




    When searching for for: EMAIL_DISCLAIMER_NEW_CUSTOMER I get...

    /home/store/public_html/disk_usage_log/email_welcome.php

    Line #89 : $email_text .= "\n\n" . sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, STORE_OWNER_EMAIL_ADDRESS). "\n\n";

    Line #90 : $html_msg['EMAIL_DISCLAIMER'] = sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS .' </a>');

    /home/store/public_html/includes/functions/functions_email.php

    Line #101 : if (!strstr($email_text, sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS)) && $to_email_address != STORE_OWNER_EMAIL_ADDRESS && !defined('EMAIL_DISCLAIMER_NEW_CUSTOMER')) $email_text .= "\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS);

    /home/store/public_html/includes/languages/english/create_account.php

    Line #41 : define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'This email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to %s ');

    /home/store/public_html/includes/languages/english/mytemplate/faqs_submit.php

    Line #19 : define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'This question was submitted to us by you or by one of our users. If you did not submit a question, or feel that you have received this email in error, please send an email to %s ');

    /home/store/public_html/includes/languages/english/mytemplate/testimonials_add.php

    Line #30 : define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'This testimonial was submitted to us by you or by one of our users. If you did not submit a testimonial, or feel that you have received this email in error, please send an email to %s ');

    /home/store/public_html/includes/modules/create_account.php

    Line #398 : $email_text .= "\n\n" . sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, STORE_OWNER_EMAIL_ADDRESS). "\n\n";

    Line #399 : $html_msg['EMAIL_DISCLAIMER'] = sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS .' </a>');

    /home/store/public_html/includes/modules/pages/faqs_submit/header_php.php

    Line #141 : $email_text .= "\n\n" . sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, STORE_OWNER_EMAIL_ADDRESS). "\n\n";

    Line #142 : $html_msg['EMAIL_DISCLAIMER'] = sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS .' </a>');

    /home/store/public_html/includes/modules/pages/testimonials_add/header_php.php

    Line #95 : $email_text .= "\n\n" . sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, STORE_OWNER_EMAIL_ADDRESS). "\n\n";

    Line #96 : $html_msg['EMAIL_DISCLAIMER'] = sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS .' </a>');

    /home/store/public_html/includes/modules/mytemplate/create_account.php

    Line #421 : $email_text .= "\n\n" . sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, STORE_OWNER_EMAIL_ADDRESS). "\n\n";

    Line #422 : $html_msg['EMAIL_DISCLAIMER'] = sprintf(EMAIL_DISCLAIMER_NEW_CUSTOMER, '<a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS .' </a>');


    I'm running zencart 1.3.8a and have the following contributions installed:

    1.3.6 Telephone Not Required on Signup
    1.3.8 Simple Google Analytics
    1.3.8 Ask A Question
    1.3.6 Cross Sell
    1.3.8 Order Steps - Tableless
    1.3.7 Recover Cart Sales
    1.3.6 Cart Upsell/CrossSell on Shopping-Cart Page
    1.3.8 Supertracker Author: Mark Stephens (ported by a_berezin)
    1.3.7 Export Shipping Information
    1.3.X AWeber Signup Sidebox
    1.3.7 Best Sellers Reloaded
    1.3.7 Shopping Cart Free-Shipping-Qualifier Sidebox
    1.3.7 shopping_cart_totals_in_header_1.0
    1.3.8 Search in Categories Header
    1.3.8 Column Layout Grid for Product Listing
    1.3.8 Column Divider Pro (CDP)
    1.3.8 Windows Live Product Search Feeder
    1.3.8 Yahoo! Product Submit Feeder
    1.3.8 Amazon Inventory Loader
    1.3.8 Bidhopper Dynalist Generator
    1.3.8 eBay Exporter
    1.3.8 Feeder for DealGates Pipelines
    1.3.6 MAP Pricing ( m.a.p ) : Add to Cart to See Price
    1.3.8 captcha-number-subject-combo-in-one-1.0
    1.3.5 Admin-based Copyright Setting Control
    1.3.8 Google Base (Froogle) Feeder
    1.3.8 Google Sitemap
    1.3.8 Best Sellers Page
    1.3.6 Better Together Promotional Page
    1.3.7 FAQ Module
    1.3.8 Testimonial Manager
    1.3.8 Links Manager
    News & Article Management for Zen Cart – version 2.110
    1.3.8 Fast and Easy Checkout for Zen Cart
    1.3.8 Google Checkout module for Zen Cart


    I did a comparison of all the language files using beyond compare but none of the files mentioned above have any differences.

    Have no idea what else to do...

  9. #9
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: Unfamiliar Text on Welcome Emails

    I have a create_account.php and create_account _success.php on the includes/languages/english folder and no repeats on my template folder.

    Thanks again...

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Unfamiliar Text on Welcome Emails

    Quote Originally Posted by bigjoed View Post
    I'm not quite sure what you mean by "What URL is this happening at?" It happens on the welcome email after signing up.
    I just meant: Where can we witness it? ie: the website URL
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Stop sending Welcome Emails
    By shrimp-gumbo-mmmhhh in forum General Questions
    Replies: 3
    Last Post: 15 Oct 2010, 04:59 PM
  2. Welcome emails stopped working!
    By soskuthy in forum General Questions
    Replies: 9
    Last Post: 12 Aug 2009, 06:34 PM
  3. Welcome Emails
    By Neil725 in forum General Questions
    Replies: 4
    Last Post: 7 Jan 2009, 09:23 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