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?
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?
G'day,
I fixed the problem for my setup by changing from:
to...Code:$sweight = $shipping_weight*1000;
in my various Australia Post module files.Code:$sweight = $shipping_weight*1000; if ($sweight < 1) { $sweight = 300; }
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
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.
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
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.
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...
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.
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.