Results 1 to 4 of 4
  1. #1
    Join Date
    May 2014
    Posts
    68
    Plugin Contributions
    0

    Default 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)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    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.

  3. #3
    Join Date
    May 2014
    Posts
    68
    Plugin Contributions
    0

    Default 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)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    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. v151 Some image url's are missing their extensions.
    By RFree190 in forum General Questions
    Replies: 4
    Last Post: 2 Feb 2013, 12:21 AM
  2. Replies: 2
    Last Post: 4 May 2010, 05:05 PM
  3. Can't change header image in e-mail
    By VisExp in forum General Questions
    Replies: 2
    Last Post: 8 Nov 2008, 12:57 PM
  4. Replies: 6
    Last Post: 23 Oct 2007, 08:45 PM
  5. Header Logo's Missing in some browsers.
    By ncjimgir in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Apr 2007, 06:34 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR