Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Short opening tags in email_history

    Hi,

    In email_history.php there are two lines with short opening tags for php. If the use of short tags is disabled in PHP.ini, this causes the email history tool to display nothing.

    The lines in the file (version 1.3.9f) are:

    Line 300:
    <? echo TRIM_CONFIRM_WARNING; ?>

    And line 307/308:
    <?
    break;

    Boudewijn

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

    Default Re: Short opening tags in email_history

    Zen Cart v1.3.9 doesn't contain any files named "email_history.php", nor the constant "TRIM_CONFIRM_WARNING".

    You must be referring to the Email Archive Manager addon.
    Moving this thread out of the Zen Cart Bug Reports section, since it's not related to a Zen Cart bug.


    Update: Yes, that addon has two short tags in it, which you'll need to change if you want to use it on newer versions of PHP.
    .

    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
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: Short opening tags in email_history

    That problem has been fixed, and a new patch has been uploaded to the add on page.

    http://www.zen-cart.com/index.php?ma...roducts_id=198
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  4. #4
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Short opening tags in email_history

    Thanks all for the replies!

    Boudewijn

 

 

Similar Threads

  1. Short php tags in Addon-
    By notageek in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jan 2010, 05:54 AM
  2. [Done v1.4.0] Short open tags - 1.3.6
    By Dedek in forum Bug Reports
    Replies: 1
    Last Post: 9 Nov 2006, 07:35 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