Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Weird error in UPSXML module

    I was receiving the following error upon adding something to my shopping cart ( I truncated the error for space saving purposes):

    <!-- function update_zone(theForm) { // if there is no zone_id field to update, or if it is hidden from display, then exit performing no updates if (!theForm || !theForm.elements["zone_id"]) return; if (theForm.zone_id.type == "hidden") return; // set initial values var SelectedCountry = theForm.zone_country_id.options[theForm.zone_country_id.selectedIndex].value; var SelectedZone = theForm.elements["zone_id"].value; // reset the array of pulldown options so it can be repopulated var NumState = theForm.zone_id.options.length; while(NumState > 0) { NumState -= 1; theForm.zone_id.options[NumState] = null; } // build dynamic list of countries/zones for pulldown if (SelectedCountry == "14") { theForm.zone_id.options[0] = new Option("Please select ...", ""); theForm.zone_id.options[1] = new Option("Burgenland", "102"); theForm.zone_id.options[2] = new Option("Niedersterreich", "96"); theForm.zone_id.options[3] = new Option("Obersterreich", "97"); theForm.zone_id.options[4] = new Option("Salzburg", "98"); theForm.zone_id.options[5] = new Option("Steiermark", "100"); theForm.zone_id.options[6] = new Option("Tirol", "101");
    The error itself is quite long. I finally tracked down how I am getting the error, I just do not know how to fix. If I disable the UPSXML mod, this error goes away. However this mod is very important to us as 99% of what we ship is UPS, we have a daily pickup and own UPS account number assigned to us. Can charge residential rates (too bad it cannot be determined per customer).

    Has anyone else experienced this problem with this module, and if so, how did you fix it please. I cannot find any resolution in the forums.

    tia...

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

  2. #2
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Weird error in UPSXML module

    The data provided by following step 5 in the readme.txt is really what is needed. To see if data being returned by UPS has any errors. Removed any private or personal data from the log and then post it.
    We will go from there.

  3. #3
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Re: Weird error in UPSXML module

    I cannot even get logging to work for some reason. The first time nothing happened. Then I got a failed to find path, stream error, blah blah blah

    Then the transaction went through fine but did not write to the log file (yes it is set to 777 ). I have tried different paths to the file, different file names upsxml.txt instead of log. Oh well, maybe I'll get back to it later this weekend.

    btw, when both ups modules are on at the same time why are the rates different? I hope by using upsxml that it would not be showing the customer our published rate vs the rate they should be paying (in other words their charged rate vs our qty discount rate.)

    Thanks...

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

 

 

Similar Threads

  1. UPSXML Module returning empty results
    By Marooned in forum Addon Shipping Modules
    Replies: 6
    Last Post: 20 Feb 2015, 10:00 PM
  2. UPSxml Shipping module in the EU - Anyone?
    By sjur.hemma in forum Addon Shipping Modules
    Replies: 1
    Last Post: 1 Sep 2010, 06:32 PM
  3. Who supports UPSxml module?
    By sjur.hemma in forum Addon Shipping Modules
    Replies: 0
    Last Post: 16 Aug 2010, 11:23 PM
  4. Cannot use string offset as an array - error in UPSXML module
    By tat2nu in forum Addon Shipping Modules
    Replies: 5
    Last Post: 14 Aug 2008, 08:35 PM
  5. weird error in payment module
    By saman in forum General Questions
    Replies: 0
    Last Post: 20 Jun 2007, 08:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg