Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Internal Error 500 on checkout success page - Numinix Optional Insurance Module

    Hello all,

    I have placed test orders with my site and now every time I come to the checkout success page, I get a very ambiguous error message. It is when I choose to pay via money order and it doesn't matter if I choose a shipping option or pickup. I wiped out the checkout_success page and reinstalled the original code, but it didn't seem to make a difference. On my Admin page, the only thing I put in was "thanks for shopping here" and my logo.

    any ideas???

    Thanks~
    April
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

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

    Default Re: Internal Error 500 on checkout success page

    See the "Similar Threads" section at the bottom of this page for related discussions.
    There's also an FAQ article on the topic you mention.
    .

    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
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: Internal Error 500 on checkout success page

    I looked thru some of the posts here, and re-uploaded every file I could...I can't seem to find anything else on this in the FAQ. I know one person mentioned it was an invalid email address causing the issue, however I am using a secondary email address of mine so I know it works.

    I am at my wits end here

    The confirmation email is still being sent & received at the destination address, and when I refresh the page it tells me my cart is empty. There are no other issues with site either

    Thanks for any help you could give me.

    April
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Internal Error 500 on checkout success page

    The details of a "500 Internal Server" error should be logged in the server's apache logs. Contact your hosting company to obtain that information. Without that, one can only speculate.
    .

    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.

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Internal Error 500 on checkout success page

    Test using the Classic template. What happens then?

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,005
    Plugin Contributions
    61

    Default Re: Internal Error 500 on checkout success page

    Using a rewrite module for your urls? A checkout module?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  7. #7
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: Internal Error 500 on checkout success page

    Ok! I found the debugging module and uploaded it (thx it worked!!!) i am running 1.3.8 and installed the Optional Insurance Module.

    I set myself up as a customer in the US with a valid email.

    this is the error I received during checkout success:

    PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MODULE_ORDER_TOTAL_INSURANCE_ZONE_2 in /home/knott9/public_html/zencart/includes/modules/order_total/ot_insurance.php on line 43


    This is how that module reads:


    <?php
    /**
    * Order Total Module
    *
    *
    * @package - Optional Insurance
    * @copyright Copyright 2007 Numinix Technology http://www.numinix.com
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: v2.10 12/28/2007 19:40:59Z numinix $
    */


    if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
    class ot_insurance extends base{
    function process() {
    }
    }
    } else {

    class ot_insurance {

    var $title, $output, $num_zones, $enabled, $dest_zone;

    function ot_insurance()
    {
    global $order, $currencies, $db;

    $this->code = 'ot_insurance';
    $this->title = MODULE_ORDER_TOTAL_INSURANCE_TITLE;
    $this->description = MODULE_ORDER_TOTAL_INSURANCE_DESCRIPTION;
    $this->enabled = ((MODULE_ORDER_TOTAL_INSURANCE_STATUS == 'true') ? true : false);
    $this->sort_order = MODULE_ORDER_TOTAL_INSURANCE_SORT_ORDER;
    $this->credit_class = 'true';
    $this->output = array();
    $geozones = $db->Execute("SELECT * FROM " . TABLE_GEO_ZONES);
    $this->num_zones = $geozones->RecordCount();

    if ($this->enabled == true) {
    $this->dest_zone = 0;
    for ($i=1; $i<=$this->num_zones; $i++) {
    if ((int)constant('MODULE_ORDER_TOTAL_INSURANCE_ZONE_' . $i) > 0) {
    $check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . constant('MODULE_ORDER_TOTAL_INSURANCE_ZONE_' . $i) . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
    while (!$check->EOF) {
    if ($check->fields['zone_id'] < 1) {
    $this->dest_zone = $i;
    break;
    } elseif ($check->fields['zone_id'] == $order->delivery['zone_id']) {
    $this->dest_zone = $i;
    break;
    }
    $check->MoveNext();
    } // end while
    } // END if ((int)constant('MODULE_ORDER_TOTAL_INSURANCE_ZONE_' . $i) > 0)
    } // END for ($i=1; $i<=$this->num_zones; $i++)
    if ($this->dest_zone < 1) {
    $this->enabled = false;
    }
    }


    I have set up USPS insurance in my store as Zone 2 with no tax zone. it specifies that only US residents (all states) are in this Zone 2.

    Is there something I'm forgetting to do?

    Thanks for all your help

    April
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

  8. #8
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: Internal Error 500 on checkout success page - Numinix Optional Insurance Module

    I'm pretty sure it's the zones that are screwing me up. I've uninstalled and reinstalled after adding the zone, with the same results!
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

  9. #9
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Internal Error 500 on checkout success page - Numinix Optional Insurance Module

    If you uninstall the module and then do a checkout, does the error stop?
    .

    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.

  10. #10
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: Internal Error 500 on checkout success page - Numinix Optional Insurance Module

    No, it doesn't. That's what's so frustrating! I still get the same 500 error...have checked, reinstalled several pages (checkout process, success, etc.). I *have* to offer insurance-I sell jewelry and do not want to be responsible if a package gets lost or damaged during delivery.

    I even tried an earlier version of the insurance module, did all my de/re installs, and now the error message that shows up in debug does not now appear in my admin...
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Numinix Optional/Required Shipping Insurance - Help with Zencart 1.51
    By kapsolas in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 2 Jan 2013, 09:19 PM
  2. 500 internal server error at checkout success
    By indigobnb in forum General Questions
    Replies: 0
    Last Post: 10 Sep 2010, 05:04 PM
  3. Checkout Success - Server Error 500
    By mizliz in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2010, 02:42 AM
  4. Error 500 on checkout success page
    By Pauls in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 23 Oct 2009, 08:34 AM
  5. Blank Page On Checkout -- turned out to be Optional Shipping Insurance mod
    By 2004g35 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 31 Dec 2007, 12:16 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