Solan Posted July 4, 2010 Posted July 4, 2010 I nedd help eith this error Error: Undefined property: upphamtning::$quotes File: includes/classes/shipping.php Line: 97 What does it mean?
♥kymation Posted July 5, 2010 Posted July 5, 2010 No such file in stock osCommerce. Is this part of an Addon, or did you intend to post in the 3.0 forum? Regards Jim See my profile for a list of my addons and ways to get support.
shadow007 Posted July 5, 2010 Posted July 5, 2010 It seems that there are some error codes in one of your shipping method, Find which shipping methods you have installed, and check their main files under /osc store/includes/modules/shipping/. And check if the codes below in those files are ok: function quote($method = '') { ..codes.. } Everyone is changing the world. Everyone is a world. For everyone needs my help, PM or email if I amn't online.
Solan Posted July 5, 2010 Author Posted July 5, 2010 Thanks It all seems okay but still i get that error. File: includes/classes/shipping.php Line: 97 This is the line (97). $quotes = $GLOBALS[$class]->quotes; And in the file you wrote: function quote($method = '') { global $order; if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_UPPHAMTNING_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_UPPHAMTNING_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { return false; } } if (!$method || $method == 'address1') $shipping_methods[] = array( 'id' => 'address1', 'title' => MODULE_SHIPPING_UPPHAMTNING_ADDRESS1, 'cost' => 0 ); if (MODULE_SHIPPING_UPPHAMTNING_ADDRESS2 != '') { if (!$method || $method == 'address2') $shipping_methods[] = array( 'id' => 'address2', 'title' => MODULE_SHIPPING_UPPHAMTNING_ADDRESS2, 'cost' => 0 ); } if (MODULE_SHIPPING_UPPHAMTNING_ADDRESS3 != '') { if (!$method || $method == 'address3') $shipping_methods[] = array( 'id' => 'address3', 'title' => MODULE_SHIPPING_UPPHAMTNING_ADDRESS3, 'cost' => 0 ); } if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title); return array( 'id' => $this->code, 'module' => (($method == '') ? ((MODULE_SHIPPING_UPPHAMTNING_ICON == '') ? MODULE_SHIPPING_UPPHAMTNING_TEXT_TITLE : false) : MODULE_SHIPPING_UPPHAMTNING_TEXT_TITLE), 'icon' => (MODULE_SHIPPING_UPPHAMTNING_ICON != '') ? tep_image(MODULE_SHIPPING_UPPHAMTNING_ICON, MODULE_SHIPPING_UPPHAMTNING_TEXT_TITLE) : false, 'methods' => $shipping_methods ); } I just dont get this.. :(
Solan Posted July 6, 2010 Author Posted July 6, 2010 I have been looking through all files and also merged them but i cant seem to find the problem. :(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.