osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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'...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-26-2005, 12:38 PM
Lurker
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nihir
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-26-2005, 05:23 PM
Lurker
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nihir
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 08:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax