prayhard87 Posted August 4, 2005 Share Posted August 4, 2005 I get the following error in the checkout page of my OSC shopping cart: 10002: The XML document is well formed but the document is not valid. I have seen several threads on it and am trying some of the suggested modifications... does anyone know of one that they have used that works for SURE? Thanks :'( Quote Link to comment Share on other sites More sharing options...
idev Posted September 16, 2005 Share Posted September 16, 2005 Hi there Iwas having the same error message and it drove me crazy :blink: I spent a good hour or so going through the forum trying to find a solution. A lot of posts talk about the dimensional support, but I didnt opt to install that part of upsxml because I didnt need it. So I figured by not installing the dimensional support, that the define var didnt apply to my problem. I was wrong :blush: The upsxml contribution comes with it enabled, so if you dont use it, desable it to avoid the same headache. in catalog/includes/modules/shipping/upsxml.php change this // if using the optional dimensional support, set to 1, otherwise leave as 0 define('DIMENSIONS_SUPPORTED', 1); to this // if using the optional dimensional support, set to 1, otherwise leave as 0 define('DIMENSIONS_SUPPORTED', 0); that solved my 10002: The XML document is well formed problem hope this helps ! Quote Link to comment Share on other sites More sharing options...
RL2000 Posted December 7, 2005 Share Posted December 7, 2005 Hi there Iwas having the same error message and it drove me crazy :blink: I spent a good hour or so going through the forum trying to find a solution. A lot of posts talk about the dimensional support, but I didnt opt to install that part of upsxml because I didnt need it. So I figured by not installing the dimensional support, that the define var didnt apply to my problem. I was wrong :blush: The upsxml contribution comes with it enabled, so if you dont use it, desable it to avoid the same headache. in catalog/includes/modules/shipping/upsxml.php change this // if using the optional dimensional support, set to 1, otherwise leave as 0 define('DIMENSIONS_SUPPORTED', 1); to this // if using the optional dimensional support, set to 1, otherwise leave as 0 define('DIMENSIONS_SUPPORTED', 0); that solved my 10002: The XML document is well formed problem hope this helps ! You've just became an active player on my top ten list of favorite people of the day! Quote Insert clever remark here Link to comment Share on other sites More sharing options...
desklancer.com Posted January 19, 2011 Share Posted January 19, 2011 You've just became an active player on my top ten list of favorite people of the day! i did not found mentioned above line in in catalog/includes/modules/shipping/upsxml.php so ? Quote Link to comment Share on other sites More sharing options...
desklancer.com Posted January 19, 2011 Share Posted January 19, 2011 } if (defined('SHIPPING_UNIT_LENGTH')) { $this->unit_length = SHIPPING_UNIT_LENGTH; } else { $this->unit_length = 'IN'; } if (defined('SHIPPING_DIMENSIONS_SUPPORT') && SHIPPING_DIMENSIONS_SUPPORT == 'Ready-to-ship only') { $this->dimensions_support = 1; } elseif (defined('SHIPPING_DIMENSIONS_SUPPORT') && SHIPPING_DIMENSIONS_SUPPORT == 'With product dimensions') { $this->dimensions_support = 2; } else { $this->dimensions_support = 0; } however i think in my condition i need to get fixed here not sure how to get it fixed code above is from file includes/modules/shipping/upsxml.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.