Forums / Addon Shipping Modules / Problems with Austpost Module by Gerard Serna

Problems with Austpost Module by Gerard Serna

Locked
Results 1 to 20 of 29
This thread is locked. New replies are disabled.
07 Jan 2007, 08:27
#1
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Posts:
308
Plugin Contributions:
2

Problems with Austpost Module by Gerard Serna

G'day,

I'm suddenly getting the messages:

AusPOST Express Post Parcel (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.)

AusPOST Parcel Post (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.)


from the Australia Post Module by Gerard Serna.

I'm still developing the web site I'm using the Australia Post module on and haven't gone live as yet. About four weeks ago when I last tried a trial purchase from the site everything was working fine.

Then when I went back to try another trial purchase yesterday, suddenly it's not working.

All I can think of is that maybe the module isn't able to communite with Australia Post anymore. However, if this was the case I would have expected quite a few others would have reported the problem by now.

Does anyone have any ideas as to where to look for a solution?

Best Regards, Lloyd Borrett.
07 Jan 2007, 10:01
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: Problems with Austpost Module by Gerard Serna

If you know the IP or url of the AustPost server try to ping it first and maybe a traceroute.

Verify that if is reachable
07 Jan 2007, 21:18
#3
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Posts:
308
Plugin Contributions:
2

Re: Problems with Austpost Module by Gerard Serna

G'day,

It looks like this problem may be as a result of a change at Australia Post.

We haven't assigned weights to any of our products. Passing a weight value of 0 to the Australia Post Delivery Rate Calculator worked previously, but now appears not to work.

Best Regards, Lloyd Borrett.
17 Jan 2007, 06:44
#4
slobadog avatar

slobadog

New Zenner

Join Date:
Mar 2006
Posts:
89
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

Same problem with me. I have had one instance working for over a year and all of a sudden I get the following error when using AusPOST Parcel Post:

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.

I too believe there must have been a change at Australia Post.
21 Jan 2007, 08:34
#5
dandan720 avatar

dandan720

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

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?
21 Jan 2007, 21:38
#6
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Posts:
308
Plugin Contributions:
2

Re: Problems with Austpost Module by Gerard Serna

G'day,

I fixed the problem for my setup by changing from:

$sweight = $shipping_weight*1000;


to...
 
$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.
22 Jan 2007, 03:41
#7
dandan720 avatar

dandan720

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

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.
22 Jan 2007, 04:09
#8
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Posts:
308
Plugin Contributions:
2

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.
22 Jan 2007, 04:27
#9
dandan720 avatar

dandan720

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

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.
24 Jan 2007, 07:34
#10
slobadog avatar

slobadog

New Zenner

Join Date:
Mar 2006
Posts:
89
Plugin Contributions:
0

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/showpost.php?p=181607&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...
24 Jan 2007, 11:09
#11
dandan720 avatar

dandan720

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

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.asp?Pickup_Postcode=2617&Destination_Postcode=&Country=AU&Weight=3600&Service_Type=STANDARD&Height=100&Width=100&Length=100&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.
27 Jan 2007, 05:48
#12
slobadog avatar

slobadog

New Zenner

Join Date:
Mar 2006
Posts:
89
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

Well after much stuffing around I found a solution for now. It seems that for some reason my nameserver all-of-a-sudden cannot resolve the hostname http://drc.edeliver.com.au/. Instead I substituted http://155.144.24.25/ and it's good to go once more.

Dan, I was getting those errors before I discovered the resolution problem. Give it a crack, it may just work for you too. Be aware that if they change the IP then it will break. Unlikely, but possible.

Happy Slobadog
(c:
28 Jan 2007, 02:14
#13
hemma avatar

hemma

New Zenner

Join Date:
Jul 2006
Posts:
37
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

I am only having issues with the Airmail and economy air ones... seamail i don't use, but with the rest are ok. i;ve already set the zoning to international only for those..... any clues guys?

thanks in advance
28 Jan 2007, 13:22
#14
ginar avatar

ginar

New Zenner

Join Date:
Feb 2006
Posts:
83
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

Having the same problem here, customer alerted me to it.

I tried changing the url to http://155.144.24.25/, but it is still not working. Don't know where to go from here???
28 Jan 2007, 14:13
#15
gate13 avatar

gate13

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

guys i also have the problem and can not find a dix any where,

i have tried some of the ones listed above but still no luck
28 Jan 2007, 14:41
#16
arpeggio avatar

arpeggio

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

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::ohmy:

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.
28 Jan 2007, 15:28
#17
ginar avatar

ginar

New Zenner

Join Date:
Feb 2006
Posts:
83
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

AP must have changed something. I have just gone and installed table rates and zone rates. Quick fix, but the only other available until we can find out what AP have changed.
28 Jan 2007, 19:08
#18
gerard avatar

gerard

Zen Follower

Join Date:
Oct 2005
Posts:
124
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

AustPost Austalia Post Economy Air is NO LONGER SUPPORTED by Australia Post due to increase in fuel prices. Therefore that particular module throws an error when you do the calculations. Just disable it from your Admin menu.

Gerard :smile:
29 Jan 2007, 03:51
#19
gate13 avatar

gate13

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

seems to be working today for me guys.

i had version 3.01 moved to 3.02 and it started working.
29 Jan 2007, 08:54
#20
arpeggio avatar

arpeggio

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: Problems with Austpost Module by Gerard Serna

Yes isnt it wonderful to see it workin' again!! Unfortunately however mine is Yes doing a calculation error (using Ver1.3.7). I have 2 kgs going to United Kingdom which should be $57.00 but it gives me a price of $107.4. This is the exact price for sending 5kgs to the United Kingdom!! (i have no handling fees or anything else and no tax applied.) Could anyone tell me if their calcs are correct today and if so any ideas on what I could be doing wrong?
Thanks muchly in advance.
Arpeggio.