Results 1 to 2 of 2

Error during checkout_shipping.php

This is a discussion on Error during checkout_shipping.php within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I am getting a fatal error when checking out. I think I know what the problem is but I don't ...

      
  1. #1
    Lurker
    Join Date
    Jun 2005
    Posts
    2
    Rep Power
    0


    Default Error during checkout_shipping.php

    I am getting a fatal error when checking out. I think I know what the problem is but I don't know how to fix it.

    It is looking to collect all methods of shipping but it comes up with this error:


    Fatal error: Call to undefined function: quote() in /catalogl/checkout_shipping.php on line 152


    In checkout_shipping.php here's what I find:
    Code:
    LINE 151 // get all available shipping quotes
    LINE 152    $quotes = $shipping_modules->quote();
    So obviously there's a problem with the final quote(). But I'm note sure where it would be defined.

    I was having a problem with the free shipping and individual shipping so I commented it out, and since I'm not too familiar with PHP, I'm not sure if this has caused the error. This is the code commented out:
    Code:
    /*
    // BOF: WebMakers.com Added: Downloads Controller - Free Shipping
    // Reset $shipping if free shipping is on and weight is not 0
    if (tep_get_configuration_key_value('MODULE_SHIPPING_FREESHIPPER_STATUS') and $cart->show_weight()!=0) {
      tep_session_unregister('shipping');
    }
    // EOF: WebMakers.com Added: Downloads Controller - Free Shipping
    
    // BOF: Individual Shipping 
    if (tep_get_configuration_key_value('MODULE_SHIPPING_INDVSHIP_STATUS') and $shiptotal) {
      tep_session_unregister('shipping');
    }
    // EOF: Individual Shipping 
    */
    I'm not sure if this is related, but I'm also getting an error on the main page with the specials & new products which gives me a fatal error in the "database.php" at LINE 99 which is this:

    Code:
    return mysql_fetch_array($db_query, MYSQL_ASSOC);
    I'm not sure if this makes any sense, but I hope someone can help!

    Thanks in advance.

  2. #2
    Lurker
    Join Date
    Jun 2005
    Posts
    2
    Rep Power
    0


    Default Fixed that issue

    okay, so i fixed that issue by commenting out all the individual shipping and free shipping code added in:

    /catalog/checkout_shipping.php
    /catalog/includes/classes/shipping.php

    Now, I'm running into another error in the next step.


    I'm getting the following error:
    Fatal error: Call to undefined function: javascript_validation() in /catalog/includes/javascript/checkout_payment.js.php on line 36

    On Line 36 of that file is the only PHP code:
    Code:
    <?php echo $payment_modules->javascript_validation();?>
    Now here I'm baffled. I don't know where to look to find the definition of javascript_validation() or if there's something else I should try.

    Also, is it a better idea to just reinstall/updgrade? If so, how do I ensure I keep the template and customizations, etc.

    Thanks

Similar Threads

  1. problem with checkout_shipping.php
    By ronfedele in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-15-2006, 10:52 AM
  2. Checkout_Shipping redirecting to checkout_payment.php
    By alexbranding in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 03-15-2005, 04:44 PM
  3. Site stuck at checkout_shipping.php after installing--------
    By Dumb_Question in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 08-09-2004, 11:20 AM
  4. checkout can't get past checkout_shipping.php
    By nfmg in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 03-23-2004, 04:25 AM
  5. Checkout_Shipping.php Fatal error
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-03-2004, 06:30 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
  •