Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

    Default Issues with Contact us and email

    SO I'm using PHP 8.1
    In under configuration I have my email all set to a email address thru my provider with the proper SMTP info in it along with the proper email address.

    I have the transport method set to PHP.
    If I go in and make a change i will get an email about the admin change so I know the email side is working.
    If i use the Contact us page it tells me it worked yet I get no emails.

    my logs have an error of
    Code:
    [26-Feb-2024 13:21:39 America/New_York] Request URI: /store/Skill-ieE-trusT/index.php?cmd=modules&set=shipping&module=flat&action=edit, IP address: 67.140.162.250, Language id 1
    #0 /homepages/website/includes/functions/general.php(354): zen_debug_error_handler()
    #1 /homepages/website/includes/classes/VersionServer.php(110): zen_get_system_information()
    #2 /homepages/website/includes/classes/VersionServer.php(25): VersionServer->buildCurrentInfo()
    #3 /homepages/website/includes/classes/VersionServer.php(63): VersionServer->getZcVersioninfo()
    #4 /homepages/website/includes/functions/plugin_support.php(49): VersionServer->getPluginVersion()
    #5 /homepages/website/includes/modules/shipping/usps.php(215): plugin_version_check_for_updates()
    #6 /homepages/website/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
    #7 /homepageswebsitemodules.php(187): usps->__construct()
    #8 /homepageswebsiteindex.php(11): require('/homepages/36/d...')
    --> PHP Warning: Undefined array key 0 in /homepages/website/includes/functions/general.php on line 354.
    and
    Code:
    [26-Feb-2024 12:56:58 America/New_York] PHP Notice:  Email Error: Could not instantiate mail function.
     in /homepages/website/includes/functions/functions_email.php on line 426
    Any clue what is going on?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,497
    Plugin Contributions
    88

    Default Re: Issues with Contact us and email

    First, using a Window Server (in 2024)? Please provide a screenshot identifying the server's version information from the admin's Tools :: Server/Version Information. That log's coming from the zen_get_system_information function when the base PHP 'exec' function isn't disabled (also a rare occurrence in 2024); I've highlighted line 354 to provide details for anyone who might be able to help on that one:
    Code:
        if (!$exec_disabled) {
            list($system, $host, $kernel) = array('', $_SERVER['SERVER_NAME'], php_uname());
            @exec('uname -a 2>&1', $output, $errnum);
            if ($errnum == 0 && count($output)) list($system, $host, $kernel) = preg_split('/[\s,]+/', $output[0], 5);
            $output = '';
            if (DISPLAY_SERVER_UPTIME == 'true') {
                @exec('uptime 2>&1', $output, $errnum);
                if ($errnum == 0) {
                    $uptime = $output[0];
                }
            }
        }
    For the second, that's mysterious! For starts, check your settings in Configuration :: Email :: Email Address (Displayed to Contact you) and Email Address (sent FROM) to make sure that they "look sane" and, if so, let me know the value of Configuration :: Email :: Emails must send from a known domain.

    Also, check for a PM'd message.

  3. #3
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

    Default Re: Issues with Contact us and email

    Server OS: Linux 4.4.400-icpu-097

    So Emails must send from a known domain. was set to no. I changed it to yes and it works now.

    And I changed as you said in the PM it slipped thru on me

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,497
    Plugin Contributions
    88

    Default Re: Issues with Contact us and email

    Quote Originally Posted by cubmanky View Post
    Server OS: Linux 4.4.400-icpu-097

    So Emails must send from a known domain. was set to no. I changed it to yes and it works now.

    And I changed as you said in the PM it slipped thru on me
    Good on two points (plus the Linux rather than IIS). I'm still not clear what is going on with that first warning (I'm hoping that someone else will chime in).

  5. #5
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

    Default Re: Issues with Contact us and email

    So doing my home work looks like I had that issue before last year and its due to the USPS module This was what I was told to do the last time.

    i would look here:

    https://github.com/lat9/usps/blob/a4....php#L131-L134

    and set that constant to 0.

    see if that helps.

    best.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 19 Sep 2022, 04:27 AM
  2. Notification Email Issues in German -Issues with Umlaute-
    By HEAT in forum Managing Customers and Orders
    Replies: 7
    Last Post: 5 Nov 2010, 02:06 PM
  3. Replies: 2
    Last Post: 21 Feb 2010, 04:33 AM
  4. Contact Us Page Email Issues
    By perkiekat in forum General Questions
    Replies: 4
    Last Post: 15 Sep 2009, 07:55 AM
  5. Contact Us email issues
    By rweeks in forum General Questions
    Replies: 5
    Last Post: 18 Jul 2008, 08:29 AM

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