Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / E-Mail Image Header Missing for Some E-mails

E-Mail Image Header Missing for Some E-mails

Views: 713

Results 1 to 4 of 4
15 Dec 2014, 9:58 PM
#1
panzc2020 avatar

panzc2020

New Zenner

Join Date:
May 2014
Posts:
68
Plugin Contributions:
0

E-Mail Image Header Missing for Some E-mails

Zen Cart Version 1.5.1

I find this one quite a bit puzzling me.

The first image link show the proper e-mail header with the logo image.
It works as it should.

This e-mail is generated as soon as customer successfully checking out.
http://imageshack.com/a/img673/526/MiGl26.png

However, the another e-mail show missing image with the link goes the "not found" path, which lead to missing images.

This e-mail is generated when web admin change the order status and this e-mail is generated.
http://imageshack.com/a/img910/9605/HjV7KG.png

Is there something that lead to this? It seems the 2nd e-mail used the admin's URL instead of the website's URL.

Sincerely, PanZC2020 (December 15th, 2014)

15 Dec 2014, 10:06 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: E-Mail Image Header Missing for Some E-mails

What's in your /admin/includes/configure.php file for HTTP_CATALOG_SERVER and DIR_WS_CATALOG ? I'm guessing they're wrong.

If you look at /includes/configure.php your HTTP_SERVER there should be copied into HTTP_CATALOG_SERVER for your admin configure.php. And DIR_WS_CATALOG should be the same in both files.

15 Dec 2014, 10:26 PM
#3
panzc2020 avatar

panzc2020

New Zenner

Join Date:
May 2014
Posts:
68
Plugin Contributions:
0

Re: E-Mail Image Header Missing for Some E-mails

I got it! I had to change HTTP_CATALOG_SERVER to non-HTTPS address.

I was reading while upgrading to Ver. 1.5.1 that admin areas needed to be all HTTPS, so I put HTTPS address on HTTP_SERVER, HTTPS_SERVER, HTTP_CATALOG_SERVER, and HTTPS_CATALOG_SERVER. Guess that means as long as the site is not HTTPS on everything, I will still have to set the HTTP_SERVER and HTTP_CATALOG_SERVER to non-HTTPS address.

Thank you for your time, DrByte! (I read a lot of your suggestions/answers on other problems, that helped me a lot.)

Sincerely, PanZC2020 (December 15th, 2014)

15 Dec 2014, 10:34 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: E-Mail Image Header Missing for Some E-mails

In your ADMIN configure.php, if you want your entire admin to be SSL, set both HTTP_SERVER and HTTPS_SERVER to your admin https URL.

The defines containing CATALOG are merely tools used to reference store-side URLs.