Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default localhost server checkout_process -> checkout_success returning internal server error

    Dear all,
    I have a problem on my localhost test site. It seems to be working fine on my live site.

    The problem is during checkout, after clicking on "Confirm the order" button on Step 3 Order Confirmation (checkout_confirmation), it just waits until a internal server error message appears on the browser.

    I check the cache directory and there is no error log generated.

    The code is the same as on my live site, but the database content is different (it has got all the demo products). I use SVN to implement changes on this localhost test site and then merge changes across to my live site. So I can say that the code is the same. I've removed all test changes from the localhost.

    When I check my Orders in Admin, the order has correctly been entered into the database and I can see it. I can also see the order from my Customer log in on the store side.

    The items in the cart still remains when I re-load the store, and I am still logged in as a customer.

    It seems to be partially working, except it never gets to the checkout_success page on my localhost test site.

    Any ideas what could be going on?

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

    Default Re: checkout_process -> checkout_success returning internal server error

    1. What payment gateway is being used when this occurs?
    2. Your apache error logs will tell you the cause of the internal-server-error
    3. http://www.zen-cart.com/content.php?...l-server-error
    .

    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
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: checkout_process -> checkout_success returning internal server error

    1. What payment gateway is being used when this occurs?

    Check/Money Order

    2. Your apache error logs will tell you the cause of the internal-server-error

    I looked into the Apache ./logs/error.log file and doesn't appear to contain any errors that I can see. From the latest session after the HTTP Error 500 (Internal Server Error) has occurred:

    Code:
    [Thu Jan 10 07:42:45.106037 2013] [mpm_winnt:notice] [pid 2044:tid 428] AH00455: Apache/2.4.2 (Win32) PHP/5.4.5 configured -- resuming normal operations
    [Thu Jan 10 07:42:45.106037 2013] [mpm_winnt:notice] [pid 2044:tid 428] AH00456: Server built: May 13 2012 14:10:15
    [Thu Jan 10 07:42:45.106037 2013] [core:notice] [pid 2044:tid 428] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
    [Thu Jan 10 07:42:45.121638 2013] [mpm_winnt:notice] [pid 2044:tid 428] AH00418: Parent: Created child process 2396
    [Thu Jan 10 07:42:45.948439 2013] [mpm_winnt:notice] [pid 2396:tid 332] AH00354: Child: Starting 64 worker threads.
    3. http://www.zen-cart.com/content.php?...l-server-error[/QUOTE]

    Do I have to enable verbose logging or something?

  4. #4
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: checkout_process -> checkout_success returning internal server error

    I figured out what was wrong. It's the email.

    I left it on default PHP email path on ZenCart, but for some reason, my host isn't accepting my login from my localhost PHP server. So it was getting stuck and timing out.

    I installed on my Windows PC server the Test Mail Server Tool and set my localhost ZenCart to:

    E-Mail Transport Method = smtp
    SMTP Email Mail Host = localhost
    SMTP Email Mail Server Port = 25

    Now everything is working like it should. :)

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

    Default Re: checkout_process -> checkout_success returning internal server error

    When you're testing on a development PC in localhost, you can simply turn off the email subsystem by setting Admin->Configuration->Email Options->Send Emails to False.
    Then you won't have to deal with problems caused by an inadequately equipped test server.
    .

    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.

  6. #6
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: checkout_process -> checkout_success returning internal server error

    Live and learn. :)

    Thanks, DrByte.

 

 

Similar Threads

  1. Replies: 8
    Last Post: 17 Mar 2015, 07:32 PM
  2. Internal Server Error
    By robbie269 in forum General Questions
    Replies: 7
    Last Post: 3 Nov 2011, 06:44 AM
  3. Replies: 14
    Last Post: 2 Jan 2011, 11:13 PM
  4. Internal Server Error
    By Bexley in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 22 Jan 2010, 09:32 PM
  5. checkout_process 500 - Internal server error
    By lozano34 in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 22 Aug 2009, 01:59 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