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

    Default Re: AustPost module looping

    Quote Originally Posted by RodG View Post
    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
    Hi Rod,

    I replaced the ozpost.php file that you provided and now I am able to purchase large items using the ozpost module.

    The problem now is that if there is a smaller item, there are no Australia Post options provided. Please see the screenshot attached. Also, a lot of the time, when I click the 'Check Out' button, it loads to a blank page (only with small items).

    So it seems that the AustPost module allows small items but not large items and the ozpost module allows large items but not small items.

    Here are the settings for the ozpost module:

    Dispatch Postcode
    3169

    Shipping Methods for Australia
    Regular Parcel, Prepaid Satchel, Prepaid Express Satchel

    Shipping Methods for Overseas
    --none--

    Handling Fee - Letters
    0.00

    Handling Fee - Regular parcels
    2.00

    Handling Fee - Overseas parcels
    0.00

    Handling Fee - Registered and/or Insured parcels & letters
    0.00

    Handling Fee - Express parcels
    0.00

    Handling Fee - Prepaid Satchels
    2.00

    Handling Fee - Prepaid Satchels - Express
    2.00

    Handling Fee - COD
    0.00

    Handling Fee - ECI Documents
    0.00

    Handling Fee - ECI Merchandise
    0.00

    Cost on Error
    25.00,99.99

    Hide Handling Fees?
    Yes

    Default Parcel Dimensions
    29,24,2.5

    Parcel Weight format

    kgs

    Hide parcel rates if letter sized ?
    Yes

    Show Icons?
    Yes

    Enable Debug?
    No

    Use cURL?
    No

    Postage Delay (days).
    0

    Tare percent.
    10

    Sort order of display.
    0

    Tax Class
    Taxable Goods


    Are these all correct?

    I think we're getting closer to resolving this issue. Thanks again for all of your help.
    Attached Images Attached Images  

  2. #12
    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 Rod,

    I replaced the ozpost.php file that you provided and now I am able to purchase large items using the ozpost module.

    The problem now is that if there is a smaller item, there are no Australia Post options provided.
    Oh, sorry, you didn't specify that you wanted it to work with both small AND large items <grin>

    Quote Originally Posted by Prime View Post
    Also, a lot of the time, when I click the 'Check Out' button, it loads to a blank page (only with small items).
    Unless I can duplicate this I can't fix it. Is it with only some specific item that this happens with, or is it ALL small items?

    Quote Originally Posted by Prime View Post
    Here are the settings for the ozpost module:
    <snip>
    Are these all correct?
    That's tough for me to say. These settings are all 'user preferences' so all settings will be correct for any given user, but no settings will be correct for all users.

    Quote Originally Posted by Prime View Post
    I think we're getting closer to resolving this issue. Thanks again for all of your help.
    Alas, I'm not seeing a problem with the small item I just tested with
    http://primealternatives.com.au/cart...products_id=34
    Last edited by RodG; 11 Aug 2009 at 06:40 AM.

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

    Default Re: AustPost module looping

    Quote Originally Posted by RodG View Post
    Unless I can duplicate this I can't fix it. Is it with only some specific item that this happens with, or is it ALL small items?
    I have the AustPost module enabled currently so it is possible to purchase small items. When I enable the ozcart module, if I go to the check out, it hangs and then goes to a blank page. It seems to do this with all products that are not deemed "too large" to confirm the shipping costs.


    Quote Originally Posted by RodG View Post
    That's tough for me to say. These settings are all 'user preferences' so all settings will be correct for any given user, but no settings will be correct for all users.
    OK, as long as I don't have something set in the ozpost settings that is causing the issue. I just provided the settings to give you a bit of extra information.

    Quote Originally Posted by RodG View Post
    Alas, I'm not seeing a problem with the small item I just tested with
    http://primealternatives.com.au/cart...products_id=34
    As I mentioned, I currently have the AustPost module enabled, so there will be no issue purchasing small items. The ozcart module is disabled because it is causing too many issues.

    I've done a forum search and it seems that quite a few other users have experienced a blank page when going to the check out, and it seems that the issue can be caused by corrupt files or white space at the end of files (which Zen Cart is sensitive to). It's strange that only the ozpost module is having the blank page issue and not the AustPost module. I've tried replacing all the files for ozpost to no avail.

    It would be great if I could show you what is happening with the ozpost module, but enabling it causes issues and the store is live. Maybe there is a certain time when I can enable it for you so you can duplicate the issue. I don't want you to go too far out of your way though.

    I really appreciate all your help.

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

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    I have the AustPost module enabled currently so it is possible to purchase small items. When I enable the ozcart module, if I go to the check out, it hangs and then goes to a blank page. It seems to do this with all products that are not deemed "too large" to confirm the shipping costs.
    I've just checked the log files and it seems that valid data is being sent and returned. I don't suppose that your server is running php4 is it?

    If so, see if you can find a switch/toggle/option to use php5 instead. If you can't, then see if your ISP can enable it for you. The ozpost module uses a function that is only available (by default) in php5.

    php5 is pretty mature these days and most ISP's will have it installed or available, You won't 'break' zencart by using php5.

    Cheers
    Rod

    ps: VERY IMPORTANT. Please read the following announcement, It affects you.

    http://www.zen-cart.com/forum/showpo...75&postcount=1

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

    Default Re: AustPost module looping

    Quote Originally Posted by RodG View Post
    I've just checked the log files and it seems that valid data is being sent and returned. I don't suppose that your server is running php4 is it?

    If so, see if you can find a switch/toggle/option to use php5 instead. If you can't, then see if your ISP can enable it for you. The ozpost module uses a function that is only available (by default) in php5.

    php5 is pretty mature these days and most ISP's will have it installed or available, You won't 'break' zencart by using php5.

    Cheers
    Rod

    ps: VERY IMPORTANT. Please read the following announcement, It affects you.

    http://www.zen-cart.com/forum/showpo...75&postcount=1
    Hi Rod,

    Sorry I didn't get back to you sooner, I wasn't on site.

    I've just installed the security patches and I checked with my webhost and I'm using version PHP V4.3.9-3.22.12, just as you suspected.

    I've just spoken to my webhost and they advise that they cannot upgrade my shared server to php5 as it would effect other users (I'm on a shared host), I need to migrate my site and domain to another server, so I'll go ahead and do that.

    Do you think that using php5 will resolve all issues with ozpost?

    In the meantime, I'm still using AustPost, and it works fine on small items, but on large items it is looping when I click 'Continue' on the 'Step 1 of 3 - Delivery Information' page and has 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" (please see the screenshot attached). Do you know what would be causing this?

    Thanks

    Steve
    Attached Images Attached Images  

  6. #16
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    In the meantime, I'm still using AustPost, and it works fine on small items, but on large items it is looping when I click 'Continue' on the 'Step 1 of 3 - Delivery Information' page and has 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" (please see the screenshot attached). Do you know what would be causing this?
    Actully, this particular looping issue may not have anything to do with AustPost. It seems other people have had similar issues:

    https://www.zen-cart.com/forum/showthread.php?t=39843

    I'll investigate this further.

    I've put in the request to migrate to another server. Hopefully that will fix ozcart.

    Thanks

    Steve

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

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    Do you think that using php5 will resolve all issues with ozpost?
    Yes (he says very cautiously).

    Quote Originally Posted by Prime View Post
    "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" (please see the screenshot attached). Do you know what would be causing this?
    I've still no idea where this error message is being derived from. It isn't a part of the AustPost distribution files. It *may* be the result of the generic error message having been redefined in /languages/modules/shipping/austpost.php, but even that shouldn't cause a looping problem, after all, it's just plain text. However, just in case there is a connection perhaps if you temporarily restore this file with the original and see if the problem persists it may give further clues.

    Cheers
    Rod

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

    Default Re: AustPost module looping

    Quote Originally Posted by Prime View Post
    Actully, this particular looping issue may not have anything to do with AustPost. It seems other people have had similar issues:

    https://www.zen-cart.com/forum/showthread.php?t=39843

    I'll investigate this further.
    I wouldn't be ruling anything out at this stage.

    Another thing to try (before investing too far down other paths) would be to disable the AutPost module and just have something simple such as a fixed price shipping module activated instead. If it still loops then you'll know for sure that it isn't AustPost related, but if the looping stops then you'll know that it IS AustPost related.

    At least that is the approach I'd be taking.

    Cheers
    Rod

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

    Default Re: AustPost module looping

    Rod,

    My webhost migrated my site to a server which uses PHP v5. I enabled the ozpost module and held my breath as I tried to purchase a small item... It worked!!! You're a genius. I would never have been able to figure this problem out without your kind help. I am so relieved that this has been solved.

    Thank you so much.

    Steve

  10. #20
    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,

    My webhost migrated my site to a server which uses PHP v5. I enabled the ozpost module and held my breath as I tried to purchase a small item... It worked!!!
    Excellent, and thanks for letting me/us know.

    Quote Originally Posted by Prime View Post
    You're a genius.
    Hardly. If I were a genius I'd have identified this issue before releasing the program and either documented the requirements or taken other steps to eliminate the problem.

    Quote Originally Posted by Prime View Post
    I would never have been able to figure this problem out without your kind help.
    On the contrary, I'd never have been able to figure it out without help and findings from other users.

    Quote Originally Posted by Prime View Post
    I am so relieved that this has been solved.
    Me too.

    Cheers
    Rod

 

 
Page 2 of 2 FirstFirst 12

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