Forums / General Questions / Strange Confirmation Email all of a sudden

Strange Confirmation Email all of a sudden

Locked

Views: 1,220

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
10 Nov 2008, 4:05 PM
#1
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Strange Confirmation Email all of a sudden

Everything was looking great but all of a sudden confirmation emails that we get look like this

EMAIL_TEXT_HEADER Forgiven Jewelry

Megan Kruse,
EMAIL_THANKS_FOR_SHOPPING
EMAIL_DETAILS_FOLLOW

EMAIL_TEXT_ORDER_NUMBER 163
EMAIL_TEXT_DATE_ORDERED Friday 07 November, 2008
EMAIL_TEXT_INVOICE_URL_CLICK
EMAIL_TEXT_PRODUCTS

Order info looks okay but not the headings.

10 Nov 2008, 4:23 PM
#2
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

Sounds like the e-mail Language file is missing - make sure

includes/languages/english/checkout_process.php

is present and the same as the original.

should look something like :-

define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
define('EMAIL_TEXT_HEADER', 'Order Confirmation');
define('EMAIL_TEXT_FROM',' from ');  //added to the EMAIL_TEXT_HEADER, above on text-only emails
define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!');
define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.');
define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
define('EMAIL_TEXT_INVOICE_URL_CLICK', 'Click here for a Detailed Invoice');
define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
define('EMAIL_TEXT_PRODUCTS', 'Products');
define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
define('EMAIL_TEXT_TAX', 'Tax:        ');
define('EMAIL_TEXT_SHIPPING', 'Shipping: ');
define('EMAIL_TEXT_TOTAL', 'Total:    ');
define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');
define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');
define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('TEXT_EMAIL_VIA', 'via');

// suggest not using # vs No as some spamm protection block emails with these subjects
define('EMAIL_ORDER_NUMBER_SUBJECT', ' No: ');
define('HEADING_ADDRESS_INFORMATION','Address Information');
define('HEADING_SHIPPING_METHOD','Shipping Method');
?>

Various Zen cart sites !

10 Nov 2008, 4:46 PM
#3
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

The checkout_process.php was all jumbled which happens sometimes when using FileZilla/notepad to edit files. Do you suppose that would cause it?

10 Nov 2008, 4:49 PM
#4
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

Not known filezilla and notepad doing that , I use dreamweaver which I sometimes blame for that . but corruption can occur over FTP on the odd occasion. Best bet is to grab that file from the original 1.3.8a zip file and re upload it.

Good luck

Various Zen cart sites !

10 Nov 2008, 5:02 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

Sometimes an FTP client (like Filezilla) will strip out the line breaks which will make the content look jumbled in Notepad, but that shouldn't make any difference.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

10 Nov 2008, 5:05 PM
#6
creativeone avatar

creativeone

New Zenner

Join Date:
Mar 2005
Posts:
58
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

I uploaded a copy of the file and hopefully that will fix it. It just started happening all of a sudden so it was kind of strange. Thanks.

22 Jan 2009, 6:08 AM
#7
tharina avatar

tharina

New Zenner

Join Date:
Oct 2008
Posts:
49
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

If I have $EMAIL_DETAILS_FOLLOW in my emails what must I do to fix this. I had a look at the checkout_process.php file and do not see anything wrong with it. Where can I start to fix this?

Tharina

22 Jan 2009, 11:51 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Strange Confirmation Email all of a sudden

When a CONSTANT displays in a broswer, it usually means a bad (incorrect) edit, or a missing php file - often a language file, but not always.

Use ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT to search for text strings in the php files.

In your case, look for:

$EMAIL_DETAILS_FOLLOW

you will find the file in which it appears, and you'll be able to see what's wrong there and fix it.

20 years a Zencart User