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:
So obviously there's a problem with the final quote(). But I'm note sure where it would be defined.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:
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:/* // 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 makes any sense, but I hope someone can help!Code:return mysql_fetch_array($db_query, MYSQL_ASSOC);
Thanks in advance.




LinkBack URL
About LinkBacks






Bookmarks