Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default AustPost module looping

    Hi, when a customer purchases a large item from my store, the shipping method page gives the message:

    "Due to the size of your order, we will contact you to confirm shipping costs before order is processed. Payments will not be processed until total amount has been confirmed with you."

    When the customer presses 'Continue', it just goes to the same page, as if the page was just reloaded. That is to say, the page is looping.

    The problem seems to have occurred when I edited the module's options, here they are:

    Ozzy Post

    Enable Australia post module by http://vcsweb.com

    True

    Dispatch Postcode
    3169

    Shipping Methods:

    Regular Parcel, 500gm Satchels, 3kg Satchels, 500gm Express Satchels, 3kg Express Satchels

    Handling Fee - regular parcel
    2.00

    Handling Fee - Registered post
    0.00

    Handling Fee - Express post
    0.00

    Handling Fee - Overseas post
    0.00

    Handling Fee - Letters
    0.00

    Handling Fee - Prepaid Satchels
    2.00

    Handling Fee - Prepaid Express Satchels
    2.00

    Handling Fee - ECI Documents
    00.00

    Handling Fee - ECI Merchandise
    00.00

    Handling Fee - COD
    00.00

    Handling Fee - Insured parcels
    0.00

    Hide Handling Fees
    Yes

    Default Parcel Dimensions


    Parcel Weight format
    kgs

    Hide parcel rates if letter sized
    Yes

    Use cURL
    No

    Postage Delay (days).
    0

    Sort order of display.
    0

    Tax Class
    Taxable Goods



    There is also an error on the page, but I'm not sure if it is related to the looping issue:
    ERROR: The delivery rate for this option cannot be determined at this time
    If you prefer to use this option as your shipping method, please contact the store owner.


    Does anyone know what is causing this looping issue? Please see the screenshot attached for a visual. The url for my website is http://www.primealternatives.com.au/cart/index.php

    Thanks
    Attached Images Attached Images  
    Last edited by Prime; 7 Aug 2009 at 04:27 AM.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    Hi, when a customer purchases a large item from my store, the shipping method page gives the message:

    "Due to the size of your order, we will contact you to confirm shipping costs before order is processed. Payments will not be processed until total amount has been confirmed with you."
    This isn't a part of the original AustPost code.

    Quote Originally Posted by Prime View Post
    When the customer presses 'Continue', it just goes to the same page, as if the page was just reloaded. That is to say, the page is looping.
    I'm suspecting that the looping is due to where or how the code above has been inserted and/or is exiting from.

    Quote Originally Posted by Prime View Post
    The problem seems to have occurred when I edited the module's options, here they are:
    I see nothing amiss with those settings, but IF the problem DID start after you made a change to these settings then setting them back to how they were before the change should fix the problem. It least that will give a bit more of a clue as to the cause of the issue.


    Quote Originally Posted by Prime View Post
    There is also an error on the page, but I'm not sure if it is related to the looping issue:
    ERROR: The delivery rate for this option cannot be determined at this time
    If you prefer to use this option as your shipping method, please contact the store owner.
    Unlike the previous error message, this one is a part of the original AustPost module. I suspect that it is related to the looping problem in as much as there are two 'errors' and the module either doesn't know what to do with the first one, or that the first one is exiting the module in an abnormal fashion, or is somehow affecting the way that the second error is being handled thus causing the looping behavior.

    Cheers
    Rod.

    ps. Please consider upgrading to the 'ozpost' module
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=1286 because "Austpost Improved" is outdated, will not have any more bugfixes applied, and some of the quotes it provides are already outdated due to Australia Posts rate increases not long ago.

    pss. The the 'ozpost' module can be installed concurrently with the 'AustPost Improved module so you don't need to uninstall your existing module before installing the new one. This way you won't have any downtime during the upgrade processes.

  3. #3
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    Quote Originally Posted by RodG View Post
    This isn't a part of the original AustPost code.



    I'm suspecting that the looping is due to where or how the code above has been inserted and/or is exiting from.



    I see nothing amiss with those settings, but IF the problem DID start after you made a change to these settings then setting them back to how they were before the change should fix the problem. It least that will give a bit more of a clue as to the cause of the issue.




    Unlike the previous error message, this one is a part of the original AustPost module. I suspect that it is related to the looping problem in as much as there are two 'errors' and the module either doesn't know what to do with the first one, or that the first one is exiting the module in an abnormal fashion, or is somehow affecting the way that the second error is being handled thus causing the looping behavior.

    Cheers
    Rod.

    ps. Please consider upgrading to the 'ozpost' module
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=1286 because "Austpost Improved" is outdated, will not have any more bugfixes applied, and some of the quotes it provides are already outdated due to Australia Posts rate increases not long ago.

    pss. The the 'ozpost' module can be installed concurrently with the 'AustPost Improved module so you don't need to uninstall your existing module before installing the new one. This way you won't have any downtime during the upgrade processes.
    Rod,

    Thank you so much for your rapid and thorough response (as always). I will do as you advise and update to the ozpost module. I'll let you know how I go.

    I forgot to mention that I did install the ozpost module, but had a problem with it (I don't recall the problem), which is why I don't have it enabled. Perhaps the current issue could be that the ozpost module overwrote some of files from the AustPost module? I assume that is why I'm getting an error message that isn't part of the AustPost module.

    Thanks again
    Last edited by Prime; 7 Aug 2009 at 07:41 AM.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    Rod,

    Thank you so much for your rapid and thorough response (as always). I will do as you advise and update to the ozpost module. I'll let you know how I go.

    I forgot to mention that I did install the ozpost module, but had a problem with it (I don't recall the problem), which is why I don't have it enabled. Perhaps the current issue could be that the ozpost module overwrote some of files from the AustPost module?
    There are a couple of files that are common to both modules, and it doesn't matter if they get overwritten or not. The files are identical.

    Also, as I've said previously, BOTH modules can be installed and run concurrently. There is NO conflict between them.
    It is a somewhat pointless thing for most people to do though, but it was made this way so that I could perform tests on our own live store without having to keep uninstalling and re-installing the Austpost module while the ozpost was still being developed and tested. It gave me the ability to just enable/disable the module I wanted (or didn't) want at any given time.


    Quote Originally Posted by Prime View Post
    I assume that is why I'm getting an error message that isn't part of the AustPost module.
    Thanks again
    A bad assumption. The error message that isn't a part of the AustPost module isn't a part of the ozpost module either. In fact I don't recognise that error message from anywhere, which means that it is either coming from a completely different module, or someone has modified the code.

    Rgds
    Rod
    Last edited by RodG; 8 Aug 2009 at 06:47 AM.

  5. #5
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    Hi Rod,

    I disabled the 'AustPost Improved' module and enabled the 'ozpost' module. I then tried to make a purchase of a large item (an electric table) and received the following error:

    "ERROR: 198.00cm exceeds the Maximum 105cm length allowed. Using AP Flat Rate."

    When I click 'Check Out', I the page just reloads back to itself. The original error is also present (please see attachment).

    When I try to purchase a small item (massage oil), when I click 'Check Out", it goes to a totally blank page.

    I have since re-enabled the 'AustPost Improved' module and disabled the 'ozpost' module.

    As you said, the original error is not part of the 'ozpost' module and the 'AustPost Improved' module. The original error was: "ERROR: The delivery rate for this option cannot be determined at this time
    If you prefer to use this option as your shipping method, please contact the store owner."

    Here is a list of the files where the original error is located:

    /includes/languages/english/modules/shipping/auspost.php
    /includes/languages/english/modules/shipping/auspostair.php
    /includes/languages/english/modules/shipping/ausposteconomy.php
    /includes/languages/english/modules/shipping/auspostexpress.php
    /includes/languages/english/modules/shipping/auspostsea.php

    I have never changes to code, all I've done as far as the shipping modules are concerned is install ozpost and change the default settings in admin for the 'ozpost' and 'AustPost Improved' modules.

    I really appreciate your help Rod. What do you suggest I do to get the ozpost module working? Should I delete all shipping modules and start over?

    Thanks
    Attached Images Attached Images  

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    Here is a list of the files where the original error is located:

    /includes/languages/english/modules/shipping/auspost.php
    /includes/languages/english/modules/shipping/auspostair.php
    /includes/languages/english/modules/shipping/ausposteconomy.php
    /includes/languages/english/modules/shipping/auspostexpress.php
    /includes/languages/english/modules/shipping/auspostsea.php
    These files are *ancient*. They belong to the original Australia Post module (auspost) ported from OScommerce by Gerard Serna. That's why I didn't recognise the error message, this module has nothing to do with me, or the modules that I've developed, namely "AustPost Improved" (austpost) and "ozpost".

    Quote Originally Posted by Prime View Post
    I have never changes to code, all I've done as far as the shipping modules are concerned is install ozpost and change the default settings in admin for the 'ozpost' and 'AustPost Improved' modules.
    Please don't confuse "AustPost" and "auspost", the file(s) you mention above belong to 'auspost' (without the 't'), this 'module' is actually several modules (one for each shipping method), whereas 'AustPost' is a single module that has many different shipping methods.

    I'm suspecting that you now have all three modules installed, 'auspost', 'AustPost', and 'ozpost'

    AustPost (with a 't') and ozpost are compatible with each other, but I've no idea how AusPost (without the 't') will behave with either of the others.

    Quote Originally Posted by Prime View Post
    I really appreciate your help Rod. What do you suggest I do to get the ozpost module working? Should I delete all shipping modules and start over?
    Thanks
    I'd suggest you delete the 'auspost' modules leaving only the 'AustPost' and 'ozpost' modules. That will *probably* take care of the problem.

    Cheers
    Rod

  7. #7
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    Quote Originally Posted by RodG View Post
    I'm suspecting that you now have all three modules installed, 'auspost', 'AustPost', and 'ozpost'

    AustPost (with a 't') and ozpost are compatible with each other, but I've no idea how AusPost (without the 't') will behave with either of the others.
    I think you're correct Rod, all three modules are installed. I've taken a screenshot for you (attached). As you can see, I have your AustPost module enabled, the old AusPOST (no 'T') module is there (as 5 separate modules), but not enabled. I also have Ozpost disabled. Also note that I have the 'MultiGeoZone MultiTable' installed but disabled, hopefully this isn't causing any conflict.

    Quote Originally Posted by RodG View Post
    I'd suggest you delete the 'auspost' modules leaving only the 'AustPost' and 'ozpost' modules. That will *probably* take care of the problem.

    Cheers
    Rod
    OK, I will delete the old AusPost module, but before I do, I'll just confirm with you that I won't accidentally delete any of the required files from AustPost and ozpost modules. The way I am going to delete the AusPost module is download the zip file from the Zen Cart addons, examine it and delete the corresponding files from my server. Does the old AusPost module have any files that have the same name as the files in the AustPost and ozpost modules?

    Thanks so much for your help, Rod.
    Attached Images Attached Images  

  8. #8
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    OK, I removed all the files for AusPOST and the original error has been removed, so that's good. However, when I try to purchase a large item, it still loops when I click the 'Check Out' button. The following message is displayed on large items:

    The message displayed for AustPost is:

    Due to the size of your order, we will contact you to confirm shipping costs before order is processed. Payments will not be processed until total amount has been confirmed with you

    The message displayed for ozpost is:

    ERROR: 198.00cm exceeds the Maximum 105cm length allowed. Using AP Flat Rate.

    I'm beginning to suspect the "MultiGeoZone MultiTable" module.

    Thanks

  9. #9
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    Hi Rod,

    OK, I don't think the "MultiGeoZone MultiTable" module is causing the issue.

    If the problem is that I can't continue to the check out with items that are "too large", how is "too large" defined? Is it something to do with the Australia Post server?

    As I mentioned previously the message displayed for AustPost is:

    Due to the size of your order, we will contact you to confirm shipping costs before order is processed. Payments will not be processed until total amount has been confirmed with you

    The message displayed for ozpost is:

    ERROR: 198.00cm exceeds the Maximum 105cm length allowed. Using AP Flat Rate.

    But it should still let the customer continue to the check out, instead of looping back to itself. Any clues? Maybe there is something I accidentaly set incorrectly in admin? It's strange that both modules are being effected the same way.

    I have attached a screenshot of the errors, with both modules enabled.

    Thanks once again.
    Attached Images Attached Images  

  10. #10
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    But it should still let the customer continue to the check out, instead of looping back to itself. Any clues?.
    Please replace
    /includes/modules/shipping/ozpost.php with the copy included in the .zip file attached.

    Please let me know how it goes.

    Cheers
    Rod
    Last edited by RodG; 8 Dec 2009 at 01:47 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. AUSTPost module
    By Trinity in forum Addon Shipping Modules
    Replies: 320
    Last Post: 2 Oct 2009, 01:53 PM
  2. Austpost module v 3.02
    By pchappy in forum Addon Shipping Modules
    Replies: 1
    Last Post: 23 Feb 2009, 02:41 PM
  3. Austpost module
    By crankyvirgo in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 Apr 2008, 05:51 AM
  4. Login looping after upgrading site -- using multisite module
    By tanik in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Jan 2008, 02:43 AM

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