Results 1 to 10 of 29

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    Hi,

    I'm new to Zencart and just setting up a new shop... downloaded the aust post module and I am experiencing exactly the same error too. Have tried various weights.

    Has anyone figured this out yet?

  2. #2
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Re: Problems with Austpost Module by Gerard Serna

    G'day,

    I fixed the problem for my setup by changing from:

    Code:
    $sweight = $shipping_weight*1000;
    to...
    Code:
     
    $sweight = $shipping_weight*1000;
    if ($sweight < 1) {
     $sweight = 300;
    }
    in my various Australia Post module files.

    In other words, if the order has no weight, set it to 300 grams.

    Best Regards, Lloyd Borrett.
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  3. #3
    Join Date
    Jan 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    Hi,

    I'm getting the same error but it must be for a different reason as it does not matter what the weight is set to for me. Have tried many different product weights with no luck. Still get "ERROR: The delivery rate for this option cannot be determined at this time"

    Dan.

  4. #4
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Re: Problems with Austpost Module by Gerard Serna

    G'day Dan,

    Maybe it a different restriction kicking in. I notice for example, that the Australia Post Delivery Rate Calculator also has limits on the max and min dimensions of items. There may be other such restrictions that aren't being checked by the Australia Post shipping module.

    Best Regards, Lloyd Borrett.
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  5. #5
    Join Date
    Jan 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    Hi Llyod,

    I'm actually starting to think it may be something to do with my hosting provider? I had all the aust post module settings left the way they were after installation but I am currently playing around with all the settings (insurance, dimensions etc) but still with no luck.

    Other than this forum (which is great!) can't find much more info on the net except similar problems with other carts/modules where they would not work properly if the hosting server had fopen disabled for example. I don't really know anything about PHP but do you think it could be a server restriction?

    Dan.

  6. #6
    Join Date
    Mar 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    Hi Dan,
    I had a problem getting it going initially because of fopen restrictions on my server. I used cURL to fix it.

    I posted a complete (modified) auspost.php here:

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

    On another note, my shops are still broken. I managed to get in touch with someone from Australia Post who knew what they were talking about (took a while...) and it would seem that there have been no changes to the script. I can access ratecalc.php through a browser query, feed it variables and it works.

    So the statement, "No, we haven't been messing with your webserver lately", must be untrue.

    The plot thickens for Inspector Slobadog...

  7. #7
    Join Date
    Jan 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    Hey thanks heaps for the cURL version! Thats definately got me one step further now as I am no longer getting the "URL file access disabled on server" error in the error_log.

    But unfortunately for me too it still is not working.... I'm still thinking hosting server prob but I really don't know enough to troubleshoot the prob - just seems to be working for some and not others?

    You probably already know but here is the error I now get in my error_log just in case it can help!

    [24-Jan-2007 21:54:48] PHP Warning: file(http://drc.edeliver.com.au/ratecalc....0&Quantity=1): failed to open stream: no suitable wrapper could be found in /home/houseof/public_html/shop/includes/modules/shipping/auspost.php on line 84
    [24-Jan-2007 21:54:48] PHP Warning: Invalid argument supplied for foreach() in /home/houseof/public_html/shop/includes/modules/shipping/auspost.php on line 85

    If you find a fix I'd love to know!

    Dan.

  8. #8
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

    Default Re: Problems with Austpost Module by Gerard Serna

    G'day fellas,

    I'm getting exactly the same error wheras the other day it was fine. I've checked all the forums here and then double checked all my settings. I have Product weight = 1kg, max shipping weight = 20kg, modules are "on", etc. no matter what i try i get the below error:

    Any help grandly appreciated. Thank you so much in advance.

    AusPOST International Parcel Post - AIR
    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.

 

 

Similar Threads

  1. Austpost module v 3.02
    By pchappy in forum Addon Shipping Modules
    Replies: 1
    Last Post: 23 Feb 2009, 02:41 PM
  2. Replies: 3
    Last Post: 8 Jul 2008, 02:18 AM
  3. Problem with Austpost module
    By theshack in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 23 Jan 2008, 12:00 PM
  4. More AustPost problems
    By saulylee in forum Addon Shipping Modules
    Replies: 3
    Last Post: 19 Sep 2007, 06:55 AM
  5. Australia Post Module by Gerard Serna
    By Redsea in forum Addon Shipping Modules
    Replies: 0
    Last Post: 29 Oct 2006, 02:20 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