Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2018
    Location
    uk
    Posts
    26
    Plugin Contributions
    0

    Default error 500 when trying to enable payment modules in admin

    hi guys
    just done a fresh install of zen on a a new host
    everything seemed fine
    front end is behaving well and admin seemed ok until i tried to enable some of the built in payment options ( all modules give the same error)

    when i click the +install button all i get is a blank page telling:

    This page isn’t working
    www.cjscreativecrafts.com is currently unable to handle this request.
    HTTP ERROR 500


    im running latest version of zen with PHP Version: 8.3.14

    my site is https://www.cjscreativecrafts.com/

    currently everything is stock install out of the box no addons no modifications

    i also get the sam,e error page when i try to create a new admin login

  2. #2
    Join Date
    Jun 2018
    Location
    uk
    Posts
    26
    Plugin Contributions
    0

    Default Re: error 500 when trying to enable payment modules in admin

    Quote Originally Posted by vmax View Post
    hi guys
    just done a fresh install of zen on a a new host
    everything seemed fine
    front end is behaving well and admin seemed ok until i tried to enable some of the built in payment options ( all modules give the same error)

    when i click the +install button all i get is a blank page telling:

    This page isn’t working
    www.cjscreativecrafts.com is currently unable to handle this request.
    HTTP ERROR 500


    im running latest version of zen with PHP Version: 8.3.14

    my site is https://www.cjscreativecrafts.com/

    currently everything is stock install out of the box no addons no modifications

    i also get the same error page when i try to create a new admin login
    here is the error log from zen logs folder


    text/plain myDEBUG-adm-20250102-151230-460267.log ( ASCII text )
    [02-Jan-2025 15:12:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php:880
    Stack trace:
    #0 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1966): PHPMailer\PHPMailer\PHPMailer->mailPassthru('CJ's Creative C...', '=?us-ascii?Q?AL...', 'This is an auto...', 'Date: Thu, 2 Ja...', NULL)
    #1 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1689): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Thu, 2 Ja...', 'This is an auto...')
    #2 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1521): PHPMailer\PHPMailer\PHPMailer->postSend()
    #3 /home/cjscreat/public_html/includes/functions/functions_email.php(474): PHPMailer\PHPMailer\PHPMailer->send()
    #4 /home/cjscreat/public_html/zcadmin/modules.php(125): zen_mail('CJ's Creative C...', 'cj-crafts@outlo...', 'ALERT: Admin se...', 'This is an auto...', 'CJ's Creative C...', 'cj-crafts@outlo...', Array, 'admin_settings_...')
    #5 /home/cjscreat/public_html/zcadmin/index.php(16): require('/home/cjscreat/...')
    #6 {main}
    thrown in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php on line 880

    [02-Jan-2025 15:12:30 UTC] Request URI: /zcadmin/index.php?cmd=modules&set=payment&action=install, IP address: https://www.cjscreativecrafts.com
    --> PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php:880
    Stack trace:
    #0 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1966): PHPMailer\PHPMailer\PHPMailer->mailPassthru('CJ's Creative C...', '=?us-ascii?Q?AL...', 'This is an auto...', 'Date: Thu, 2 Ja...', NULL)
    #1 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1689): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Thu, 2 Ja...', 'This is an auto...')
    #2 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1521): PHPMailer\PHPMailer\PHPMailer->postSend()
    #3 /home/cjscreat/public_html/includes/functions/functions_email.php(474): PHPMailer\PHPMailer\PHPMailer->send()
    #4 /home/cjscreat/public_html/zcadmin/modules.php(125): zen_mail('CJ's Creative C...', 'cj-crafts@outlo...', 'ALERT: Admin se...', 'This is an auto...', 'CJ's Creative C...', 'cj-crafts@outlo...', Array, 'admin_settings_...')
    #5 /home/cjscreat/public_html/zcadmin/index.php(16): require('/home/cjscreat/...')
    #6 {main}
    thrown in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php on line 880.

    [02-Jan-2025 15:12:30 UTC] Request URI: /zcadmin/index.php?cmd=modules&set=payment&action=install, IP address: https://www.cjscreativecrafts.com
    --> PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php:880
    Stack trace:
    #0 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1966): PHPMailer\PHPMailer\PHPMailer->mailPassthru('CJ's Creative C...', '=?us-ascii?Q?AL...', 'This is an auto...', 'Date: Thu, 2 Ja...', NULL)
    #1 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1689): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Thu, 2 Ja...', 'This is an auto...')
    #2 /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php(1521): PHPMailer\PHPMailer\PHPMailer->postSend()
    #3 /home/cjscreat/public_html/includes/functions/functions_email.php(474): PHPMailer\PHPMailer\PHPMailer->send()
    #4 /home/cjscreat/public_html/zcadmin/modules.php(125): zen_mail('CJ's Creative C...', 'cj-crafts@outlo...', 'ALERT: Admin se...', 'This is an auto...', 'CJ's Creative C...', 'cj-crafts@outlo...', Array, 'admin_settings_...')
    #5 /home/cjscreat/public_html/zcadmin/index.php(16): require('/home/cjscreat/...')
    #6 {main}
    thrown in /home/cjscreat/public_html/includes/classes/vendors/PHPMailer/src/PHPMailer.php on line 880.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,293
    Plugin Contributions
    94

    Default Re: error 500 when trying to enable payment modules in admin

    What's the site's setting for Configuration // Email // E-Mail Transport Method?

    From the log, it looks like it's sendmail. The log is indicating that the base PHP function mail (for whatever reason) isn't installed as part of your webhost's PHP load.

  4. #4
    Join Date
    Jun 2018
    Location
    uk
    Posts
    26
    Plugin Contributions
    0

    Default Re: error 500 when trying to enable payment modules in admin

    Quote Originally Posted by lat9 View Post
    What's the site's setting for Configuration // Email // E-Mail Transport Method?

    From the log, it looks like it's sendmail. The log is indicating that the base PHP function mail (for whatever reason) isn't installed as part of your webhost's PHP load.
    its currently set to php

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,255
    Plugin Contributions
    124

    Default Re: error 500 when trying to enable payment modules in admin

    You'll have to ask your hoster to enable PHP mail, and if they won't, you'll have to use an external SMTP server.

    You may be required to pinky-swear that you're not a spammer. :)
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Jun 2018
    Location
    uk
    Posts
    26
    Plugin Contributions
    0

    Default Re: error 500 when trying to enable payment modules in admin

    lol thanks
    i contacted my host and they turns out they dont allow php email so ivae used smtpauth method which solved the issue

    many thanks for your time

 

 

Similar Threads

  1. v151 Server error 500 when trying to move store to localhost
    By McLovin in forum Installing on a Windows Server
    Replies: 2
    Last Post: 5 Feb 2014, 11:42 AM
  2. Replies: 5
    Last Post: 10 Jul 2013, 09:01 AM
  3. Replies: 3
    Last Post: 8 Oct 2012, 05:35 AM
  4. Error 500 when trying to change billing address
    By nmcgowan in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 10 Feb 2011, 06:53 PM
  5. 500 Internal Server Error when trying to log into admin
    By kbalona in forum General Questions
    Replies: 3
    Last Post: 3 May 2007, 11:29 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