Forums / Addon Shipping Modules / AustPost Improved

AustPost Improved

Locked
Results 1 to 20 of 108
This thread is locked. New replies are disabled.
26 Oct 2007, 16:18
#1
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

AustPost Improved

Hi there,

I have just installed the AustPost Improved Shipping module and I am having issues.

I got the module from here: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=471

I have installed all the files in the correct locations, (will triple check in the morning). And now when I hit my Shopping Cart I get a bunch of errors at the top of my page and my css seems to be screwy.

here are the errors:

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2783&Destination_Postcode=2783&Country=AU&Weight=42.333333333333&Service_Type=STANDARD&Height=75&Width=250&Length=290&Quantity=3): failed to open stream: no suitable wrapper could be found in /serverpath/includes/modules/shipping/austpost.php on line 624

Warning: file(): URL file-access is disabled in the server configuration in /serverpath/includes/modules/shipping/austpost.php on line 624

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2783&Destination_Postcode=2783&Country=AU&Weight=42.333333333333&Service_Type=EXPRESS&Height=75&Width=250&Length=290&Quantity=3): failed to open stream: no suitable wrapper could be found in /serverpath/includes/modules/shipping/austpost.php on line 624

These all relate to files not in the admin area.

I have relatively fresh install of ZC 1.3.7 with the following other modules:
1. BACKUP_MYSQL_ADMIN_PLUGIN-1.3.
2. Image Handler 2.0
3. Stock by attributes 4.5
4. AustPost Improved as mentioned above.

Any hints or tips as to where I might have gone wrong would be greatly appreciated.

If you want to have a look at the shop just PM me and I'll send you the url. I don't really want to post it yet as the shop is not finished.

I really do want to get this to work as I have two other shops that I need to get sorted in the next little while and I could really use this module on both of them.

Cheers Zenners,

DAVE

:)
26 Oct 2007, 16:28
#2
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

Re: AustPost Improved

Hah,

Found the answer here:

http://www.zen-cart.com/forum/showpost.php?p=415682&postcount=8

When I posted my message I looked down the bottom of the page and there was a similar thread already, checked and found the answer.

The magic thread didn't come up in my searches though.

Never Mind though and Thanks be to Rod for an excellent mod.

Cheers Zenners,

Dave

:)
18 Nov 2007, 07:17
#3
mark168 avatar

mark168

New Zenner

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

Re: AustPost Improved

Does anyone know if the Aust Post server is down today?
I cannot get my shopping cart to checkout. It times out and this message was found repeatedly in my error log in the Cpanel

message is repeated in the error logs in cpanel



[Sat Nov 17 22:47:10 2007] [error] PHP Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=3108&Destination_Postcode=3108&Country=AU&Weight=165&Service_Type=STANDARD&Height=100&Width=100&Length=100&Quantity=1) [<a href='function.file'>function.file</a>]: failed to open stream: Connection timed out in /home/hotbead/public_html/includes/modules/shipping/auspost.php on line 79


I tried downloading the new AustPost impoved files but this did not fix the problem. Any ideas appreciated??

Thanks
Mark
18 Nov 2007, 08:15
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

> Does anyone know if the Aust Post server is down today?

Yes, the Server appears to be down. Has been all day.

Cheers
Rod
18 Nov 2007, 08:25
#5
mark168 avatar

mark168

New Zenner

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

Re: AustPost Improved

Thanks for confirming that. I was worried that something went amiss with my site. It is unusual for them to be down.
Regards
Mark
13 Feb 2008, 12:14
#6
nickster08 avatar

nickster08

New Zenner

Join Date:
Feb 2008
Posts:
7
Plugin Contributions:
0

Re: AustPost Improved

I have a similar problem but with different error messages - I hope you can help me out Rod:

Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 88

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=6163&Destination_Postcode=6156&Country=AU&Weight=28500&Service_Type=STANDARD&Height=100&Width=100&Length=100&Quantity=1) [function.file]: failed to open stream: no suitable wrapper could be found in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 88

Warning: Invalid argument supplied for foreach() in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 89

Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 122

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=6163&Destination_Postcode=6156&Country=AU&Weight=28500&Service_Type=EXPRESS&Height=100&Width=100&Length=100&Quantity=1) [function.file]: failed to open stream: no suitable wrapper could be found in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 122

Warning: Invalid argument supplied for foreach() in /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php on line 123

Cheers,

Nicki (total zen-cart newb but getting there...)
13 Feb 2008, 14:30
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

Hi nicki,

> Warning: file() [function.file]: URL file-access is disabled in the server configuration in
> /home/.ruchi/screampix/screampix.com/twoc/includes/modules/shipping/austpost.php
> on line 88

Toggle the option "use cURL" to 'yes' (ie, make sure it is ticked).

Cheers
Rod
13 Feb 2008, 22:13
#8
nickster08 avatar

nickster08

New Zenner

Join Date:
Feb 2008
Posts:
7
Plugin Contributions:
0

Re: AustPost Improved

Thanks Rod, I'm not sure where I can select this option - is in admin?

Nicki

PS sorry for being such a dolt!:(
14 Feb 2008, 03:23
#9
nickster08 avatar

nickster08

New Zenner

Join Date:
Feb 2008
Posts:
7
Plugin Contributions:
0

Re: AustPost Improved

This info from my host may help to explain the problem although it is all a bit beyond me!

http://wiki.dreamhost.com/Allow_url_fopen

I would really appreciate it if you could cast some light on this for me..

Nicki
14 Feb 2008, 13:38
#10
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

nickster08:

Thanks Rod, I'm not sure where I can select this option - is in admin?

Nicki

PS sorry for being such a dolt!:(


First, make sure you have the latest module (V2.1.3). The 'use cURL' toggle is located near the bottom of the config options of the module itself.

Cheers
Rod
09 Mar 2008, 07:43
#11
mork_vom_ork avatar

mork_vom_ork

New Zenner

Join Date:
Mar 2008
Posts:
2
Plugin Contributions:
0

Re: AustPost Improved

Hi,

I have been using the module and like it. Ther eis a problem I have with international insuranse which has not been updated to the new rates as from 3-3-2008. I tried to over ride the cost in the austpost.php module but the shipping calculator does dissapear after I edit the file.

Regards
09 Mar 2008, 08:59
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

Hi mork_vom_ork

>Ther eis a problem I have with international insuranse which has
>not been updated to the new rates as from 3-3-2008

The new rates should now be showing.

>I tried to over ride the cost in the austpost.php module but the >shipping calculator does dissapear after I edit the file.

You probably have an error in the syntax. I guess that now the new rates are showing this is no longer an issue?

Cheers
Rod
09 Mar 2008, 12:44
#13
mork_vom_ork avatar

mork_vom_ork

New Zenner

Join Date:
Mar 2008
Posts:
2
Plugin Contributions:
0

Re: AustPost Improved

Thanks RodG,

works great now.
12 Mar 2008, 03:49
#14
victoria avatar

victoria

New Zenner

Join Date:
Dec 2004
Posts:
30
Plugin Contributions:
0

Re: AustPost Improved

Hi I have recently installed the AustPost Improved for shipping for a friend on her zencart site www.alittlebittarty.com/index.php late last week. I am testing today having tried adding weight for one product and when I select checkout I receive the following message

ERROR:Unable to obtain a valid quote from the Australia Post Server.
You may still checkout using this method and we will contact you with postage costs as soon as possible.

In the shipping option I have notice that the "AustPost" and "Zone Rates" are both green but I'm not sure what I've done wrong........ can any wonderful person help help help me...pretty please? I don't get where I've gone wrong :o(

Thanks heaps

Victoria Hickman
12 Mar 2008, 06:55
#15
victoria avatar

victoria

New Zenner

Join Date:
Dec 2004
Posts:
30
Plugin Contributions:
0

Re: AustPost Improved

Hi.... I am just posting what versions I have if anyone can help

Zencart V. 1.3.8a
Austpost Approved module: 2.1.3
My Host = Hostgator

I have been in to the austpost module and turned the "Use Curl" option to YES
and I'm still getting the same error message. So now I have just emailed support at my host Hostgator to see if they can add me to the CURL User List.... fingers crossed that works.
12 Mar 2008, 10:19
#16
victoria avatar

victoria

New Zenner

Join Date:
Dec 2004
Posts:
30
Plugin Contributions:
0

Re: AustPost Improved

I have just received a reply from my host provider saying that they have added me to the CURL User List so everything should be good to go. However, when I go in and try to order something I am still receiving the error message ERROR:Unable to obtain a valid quote from the Australia Post Server.
Eeek..... what have I done, boo hoo... does any one have any life saving advice for me?

Thanks heaps
Victoria
12 Mar 2008, 10:32
#17
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

victoria:

Hi I have recently installed the AustPost Improved for shipping for a friend on her zencart site www.alittlebittarty.com/index.php late last week. I am testing today having tried adding weight for one product and when I select checkout I receive the following message

ERROR:Unable to obtain a valid quote from the Australia Post Server.
You may still checkout using this method and we will contact you with postage costs as soon as possible.

Victoria Hickman


I've just taken a look at this site to see if I can offer any help, but it appears you currently have the module disabled(?).
Anyway, I notice the only item in the store that has a weight associated with it is the test product (widget), as such this is the only item in the store that will give a valid quote. For some reason or another Australia post don't like shipping items that don't weigh anything. http://www.zen-cart.com/forum/images/smilies/no.gif

Also, don't wait for your webhost to help solve this problem for you. The server logs indicate that both the FILE and the CURL access methods are available to you.
The problem appears that for some reason or another there simply isn't a valid AustPost shipping option available for the item(s) you are attempting to purchase. I already mentioned that a zero weight item will cause this error, but a very high tare weight will also cause it.. eg, if you set the AustPost module to use "kgs" rather than "gms" and you have a tare weight of "40", it will be seen as 40kgs, which is heavier than AustPost will accept.

Another possible cause could be if (for example) you disable all methods of shipping except the 500gm prepaid bags and the item(s) in the cart weigh more than this, you'll also get the invalid quote error.

In short, the error that you are getting isn't a connection related, or even an installation related problem, it is almost certainly weight related.

Cheers
Rod
12 Mar 2008, 10:39
#18
victoria avatar

victoria

New Zenner

Join Date:
Dec 2004
Posts:
30
Plugin Contributions:
0

Re: AustPost Improved

Rod, thanks heaps for your reply, I was just doing a test with the 12 tarts I put in 0.5 thinking that was 500grams and got the error message again, I'm not to great on the conversion thingy, I'll pour over your detailed info above and see if I can get my head around it.

I really do appreciate the time you took to check this out for me,

Love and Light
Victoria
12 Mar 2008, 10:58
#19
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: AustPost Improved

victoria:

Rod, thanks heaps for your reply, I was just doing a test with the 12 tarts I put in 0.5 thinking that was 500grams and got the error message again, I'm not to great on the conversion thingy, I'll pour over your detailed info above and see if I can get my head around it.

I really do appreciate the time you took to check this out for me,

Love and Light
Victoria


At the risk of possibly confusing you, I would like to point out that zencart itself doesn't use Kgs, gms or even lbs for its weight, it uses 'units'. It is basically up to the store admin to determine what these 'units' really are.

The *only* reason the AusPost module has a Kg/gm setting is because the module itself requires consistancy in the data it sends to the AP servers, they expect the weights to be in grams.

This wouldn't have been an issue other than the fact that some zencart users already had stores setup using Kgs, and other were using gms, so rather than force half the existing users to all conform to using grams, I added this toggle so that conversions weren't neccessary.

For new installations (other than the preset tare weight) all you need do is choose your preference AND STICK TO IT.

IOW, if you elect to use Kgs, then anything less than 1kg needs to be specified as 0.xyx Kgs. conversely, if you elect to use gms you have to specify all items in gms. A 2kg item needs to be specified as 2000gms. You cannot mix gms and kgs in the same store.

If you keep this in mind you can't go too far wrong.
DO try to be as accurate with your weights (and dimensions) as possible. The more accurate you are, the more accurate the quote will be (especially with multiple items).

Cheers
Rod
13 Mar 2008, 12:12
#20
yba avatar

yba

New Zenner

Join Date:
May 2007
Posts:
19
Plugin Contributions:
0

Re: AustPost Improved

Hello

Client is a photographer.

Site is built using ZenCart 1.38 and Gallery2 using Gallery bridge. Shipping is using the Aust Post module.

Photos are uploaded using Gallery2.

Each photo has different sizes

  • 6x4
  • 7x5
  • 6x5
  • 8x10
  • 8x12 (A4)
  • 29x40 (A3)
  • 42x60 (A2)
  • 60x80 (A1)
and each size has a different weight in kilograms.

In order to calculate the shipping correctly I want to be able to specify a size and weight for each attribute

eg a 6x4 photo has a size of 15.2cm x 10.2 cm x 0.5cm and an approx weight of 0.25 kgs

where a 8x12 photo has a size of 20.3cm x 30.5cm x 0.5cm and an approx weight of 0.75 kgs

I want to be able to set this generically, without having to do this on a per item basis.

I would also like it to be applied whenever new photos are added via Gallery, without the client having to globally reapply the settings (client not very shopping cart savvy :blush:)

Is there any way to do this?

Regards
Danielle