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'...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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(); 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
*/ Code: return mysql_fetch_array($db_query, MYSQL_ASSOC); Thanks in advance. |
|
#2
| |||
| |||
| 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();?> Also, is it a better idea to just reinstall/updgrade? If so, how do I ensure I keep the template and customizations, etc. Thanks |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with checkout_shipping.php | ronfedele | osCMax v2 Installation issues | 0 | 08-15-2006 09:52 AM |
| Checkout_Shipping redirecting to checkout_payment.php | alexbranding | osCMax v1.7 Discussion | 6 | 03-15-2005 04:44 PM |
| Site stuck at checkout_shipping.php after installing-------- | Dumb_Question | osCMax v1.7 Discussion | 5 | 08-09-2004 10:20 AM |
| checkout can't get past checkout_shipping.php | nfmg | osCMax v1.7 Discussion | 6 | 03-23-2004 04:25 AM |
| Checkout_Shipping.php Fatal error | Anonymous | osCMax v1.7 Discussion | 1 | 03-03-2004 06:30 PM |