Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default [Done 1.3.5]EMAIL_SMTPAUTH_MAIL_SERVER_PORT - only exists in configuration table ?

    I have discovered a weird problem a couple of mins ago.

    Perhaps I missed a spot in the upgrade instructions ... if so, I apologize.

    When I tried to search for: EMAIL_SMTPAUTH_MAIL_SERVER_PORT definition, it returns as '0'. I could only found it from my personal search software - which is only located under the configuration table but doesn't seem to be used from includes/functions/functions_email.php file.

    It only states the server name, smtp login name, smtp password but not the port number (even if, I believe, is being requested from the admin when we switch the option to: 'smtpauth').

    Have I spotted this wrong ?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: EMAIL_SMTPAUTH_MAIL_SERVER_PORT - only exists in configuration table ?

    I'm not sure I follow what the "problem" is.

    That constant is only supposed to be defined in the configuration table.
    .

    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
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: EMAIL_SMTPAUTH_MAIL_SERVER_PORT - only exists in configuration table ?

    Hmmm ... I wasn't following your explanation well... perhaps it's a language thing.

    Confirmed.

    This will only affect things if you are using SMTP email and are not using the standard Port 25 for sending mail.... which would be a rare occasion unless running from behind a firewall at home etc.

    functions_email.php
    replace
    PHP Code:
            $mail->Host EMAIL_SMTPAUTH_MAIL_SERVER
    with
    PHP Code:
            $mail->Host EMAIL_SMTPAUTH_MAIL_SERVER;
            if (
    EMAIL_SMTPAUTH_MAIL_PORT != '25' EMAIL_SMTPAUTH_MAIL_PORT != ''$mail->Port EMAIL_SMTPAUTH_MAIL_PORT
    .

    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. 1050 Table 'upgrade_exceptions' already exists
    By lioncity in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 18 Aug 2008, 04:57 AM
  2. Error: [DROP TABLE IF EXISTS upgrade_exceptions;]
    By trcc14 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 17 Feb 2008, 08:46 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