Zen Cart Logo
Forums / Addon Shipping Modules / ozpost shipping module

ozpost shipping module

Views: 403,062

Results 1,761 to 1,780 of 2,251
8 Sep 2012, 9:18 AM
#1761
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

ozpost shipping module

vandiermen:

this was working before but stopped working;

Working before what?

If it was before an update then it is possible that your database and the files got out of sync. Performing a remove/install keypress will solve this problem.

vandiermen:

this does not work sometimes when item dimensions are over x and gives strange weight error.

I've done some tests and viewed the links to the screenshots you provided, and have determined several things:

  1. The over dimension problem (item too large) was NOT caused by a bug in the code as I'd first thought. It was caused because the dimension restriction code wasn't being applied at all. I was led astray because I didn't realise that you had defined the length of one of the items to exactly 105cm and I'd assumed I was seeing the restricted dimension rather than the inputted dimension.

  2. This problem has now apparently cleared itself.. You possibly already did a remove/install, or the program detected the discrepancy and automatically re-synced things when you edited the tare dimensions.

3). The links that you provided show that nothing is actually amiss with the module, and your 'strange weight error' is nothing more than the cubing rules being applied. You'll get the exact same 'Too heavy' message if you enter the same weights and dimensions into the Australia Post online calculator.
What this ultimately means is that your product dimensions aren't reflecting reality (which is probably why you find the need to enable the 'restrict dimensions' in the first place). The cubing rules always take priority over the deadweight value supplied. The ozpost module has no control over this.

Cheers
Rod

14 Sep 2012, 5:12 AM
#1762
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

All of a sudden when checking out, I get a blank page after selecting an ozpost shipping method. The page that isblank is;
http://www.homanndesigns.com/store/index.php?main_page=checkout_shipping

If I select "Walk in" it is OK.

I looked in the cache and have this error in the debug log.

[14-Sep-2012 14:55:22] PHP Warning:  Missing argument 3 for zen_get_zone_code(), called in /var/www/vhosts/homanndesigns.com/httpdocs/store/includes/modules/shipping/ozpost.php on line 1439 and defined in /var/www/vhosts/homanndesigns.com/httpdocs/store/includes/functions/functions_lookups.php on line 104
[14-Sep-2012 14:55:23] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 388 bytes) in /var/www/vhosts/homanndesigns.com/httpdocs/store/includes/modules/shipping/ozpost.php on line 1472

Any Ideas what might be causing this as I've not changed anything in my Store.

Cheers,

Peter.

14 Sep 2012, 5:48 AM
#1763
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

I found the problem....

It was the large Click and Ship files in the cache that were causing the problem.

Cheers,

Peter.

14 Sep 2012, 7:13 AM
#1764
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

Peter Homann:

Hi Rod,

I found the problem....

It was the large Click and Ship files in the cache that were causing the problem.

Cheers,

Peter.

These can be deleted via the admin->customers menu. Alternatively, if they are getting too large it probably means you aren't using them anyway. You can prevent their creation by deselecting the clicknsend option from the ozpost module.

Cheers
Rod

14 Sep 2012, 7:39 AM
#1765
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

Thanks for the reply. Yes, that's what I did.

It will teach me not to play with things I don't use. :)

Cheers,

Peter.

17 Sep 2012, 5:24 AM
#1766
marknew avatar

marknew

Zen Follower

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

Re: ozpost shipping module

Hi Rob, hope I'm not asking a question you've already answered but I couldn't find it here. How would I use the Ozpost for International shipping and set free shipping for Australia?

Thanks!

17 Sep 2012, 5:54 AM
#1767
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

marknew:

Hi Rob, hope I'm not asking a question you've already answered but I couldn't find it here. How would I use the Ozpost for International shipping and set free shipping for Australia?

Thanks!

To do this, the first thing you must realise is that the ozpost module cannot and will not support free shipping itself. Such an option defeats the prime purpose of the module, which is to produce accurate shipping quotes. None of the carriers supported provide free shipping.

The next thing to realise as that 'free shipping' is a valid option supported by zencart with modules other than ozpost (which is another reason why it isn't supported by ozpost itself.. it'll simply be doubling up on existing code).

The final thing to realise is that if zencart determines that any given product/parcel is suitable for free shipping then the ozpost module code shouldn't be invoked in the first place. Why request an 'ozpost' quote when the store has already determined its suitable for free shipping?

OK, so with these important facts known, I will now answer your question.

Step#1. Install/configure one of the free shipper modules to provide free shipping to Australia Only.
Step#2. (shouldn't really be needed). Disable all Australia shipping methods in the ozpost config settings. (Doing this will prevent 'accidental' ozpost Australia quotes from showing even if the free shipping module fails to prevent the quote requests from occurring in the 1st place).

Hope this makes sense?

Cheers
Rod

17 Sep 2012, 6:02 AM
#1768
marknew avatar

marknew

Zen Follower

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

Re: ozpost shipping module

Thanks Rod, Cheers!

18 Sep 2012, 3:41 PM
#1769
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

I have Zencart v1.5.0 with ozpost module but no matter what settings I have all I can get is the Flat Rate to show on the website. I did have the old version which has now become obsolete and I have uninstalled it in the admin panel and I did uninstal and reinstall the ozpost module in the admin panel and it is still has not changed. Is there anything else that I can do to get this working.

19 Sep 2012, 4:19 AM
#1770
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

seanymph:

I have Zencart v1.5.0 with ozpost module but no matter what settings I have all I can get is the Flat Rate to show on the website. I did have the old version which has now become obsolete and I have uninstalled it in the admin panel and I did uninstal and reinstall the ozpost module in the admin panel and it is still has not changed. Is there anything else that I can do to get this working.

Yes. Make sure that your products have valid weights and dimensions.

My randomly chosen test product Bookmark - Fire Nymph Beaded apparently weighs nothing. It's not possible to provide a quote for such items.

Also check that you aren't 'hiding' the only valid shipping methods possible. For example, if I assume you add a weight to the bookmark above (lets say its 10grams) and the dimensions are entered as being 3 x 6 x 0.1 (cm) this item would be classed as suitable for letter rates. If you have opted to not allow letter rates as a valid method AND you have set the option 'Hide Parcel Rates if letter sized' there will no longer be any valid quotes for the module to display, which will cause it to revert to using the 'static' rates.

If entering valid weights/dimensions doesn't solve the problem please provide a link to the product(s) that you are using for test purposes as this will allow me to see what is being sent to the servers and I'll probably be able to offer other suggestions. It's not much good letting me select products at random because I'll always manage to select the one product in the store that doesn't fit the symptoms.. for example, the bookmark I selected above may well be the only product in your store that doesn't have any weight defined for it, which means I could already be way off the mark.

Cheers
Rod

19 Sep 2012, 12:08 PM
#1771
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Thanks Rod I will try your suggestions and let you know if it works.

19 Sep 2012, 12:46 PM
#1772
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

I tried your suggestions still having the same result it is only showing flat rate $25 it is not showing any other option.
Below are two of the links that have both the product weight and dimensions.

http://fantasy-art-originals.com/index.php?main_page=product_info&products_id=85:b73afe5c7e2fd5d0b8c6fb9202dae64a

http://fantasy-art-originals.com/index.php?main_page=product_info&products_id=69:2c3ae3f51bdd28ff04d1d43b66684202

Thanks
seanymph

19 Sep 2012, 3:17 PM
#1773
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

seanymph:

Hi Rod,

I tried your suggestions still having the same result it is only showing flat rate $25 it is not showing any other option.
Below are two of the links that have both the product weight and dimensions.

It appears that you store isn't able to connect to our servers for quotes.

Normally this would be an easy one to solve, but there doesn't appear to be any network related issues either (otherwise the suburb list wouldn't be displayed). I assume that you aren't having any problems seeing how long your subscription is valid for either?

To complicate matters even more, zencarts curltester.php script indicates that this is also working.

I've attached a file ozpostcURLtest.zip to this reply (hopefully). If you could please unzip and upload it to the root folder of your store, then enter
http://yourdomain.com/ozpostcURLtest.php to your web-browser it should give a clearer picture as to what's going on.

Cheers
Rod

23 Sep 2012, 2:37 AM
#1774
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Thanks RodG,

I did want you said installed the file in the root folder this is what came back.

http://ozpost.net.au FAIL

Query : http://ozpost.net.au/postage.php?flags=get_latest_client_version
Connect Time : 0
Name lookup Time : 0
Total Time : 0
########################################____
http://ozpost.net FAIL

Query : http://ozpost.net/postage.php?flags=get_latest_client_version
Connect Time : 0
Name lookup Time : 0
Total Time : 0
########################################____
http://svr0.ozpost.net FAIL

Query : http://svr0.ozpost.net/postage.php?flags=get_latest_client_version
Connect Time : 0
Name lookup Time : 0
Total Time : 0
########################################____
http://svr1.ozpost.net FAIL

Query : http://svr1.ozpost.net/postage.php?flags=get_latest_client_version
Connect Time : 0
Name lookup Time : 0
Total Time : 0
########################################____
http://svr2.ozpost.net FAIL

Query : http://svr2.ozpost.net/postage.php?flags=get_latest_client_version
Connect Time : 0
Name lookup Time : 0
Total Time : 0
########################################____
Thank you. Please come again,

23 Sep 2012, 8:45 AM
#1775
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

seanymph:

Thanks RodG,
I did want you said installed the file in the root folder this is what came back.

The problem is with your server/host. There is nothing that you (or I) can do to fix the problem other than to submit a bug report with your host.

Due to the simplicity of the test script that I've provided it would be prudent to have them perform any testing they need to do using this script (rather than reporting it as a 'zen cart' problem).

You'll find that when this script runs with successful connections that you'll have no more issues with the ozpost or your paypal modules either. All of these issues have the same cause, which as stated, is only fixable by your host.

Cheers
Rod

23 Sep 2012, 4:04 PM
#1776
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod

I contacted Justhost and they insist that there is nothing wrong with the server that they have made no changes. I will contact them again in the morning hopefully they will be able to look into it more thoroughly.

seanymph

27 Sep 2012, 5:54 AM
#1777
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

seanymph:

Hi Rod

I contacted Justhost and they insist that there is nothing wrong with the server that they have made no changes. I will contact them again in the morning hopefully they will be able to look into it more thoroughly.

seanymph

I note that it still isn't working. Is your host still denying that there is a problem? Did you point them to my test script? What was their response/explanation?

Cheers
Rod

29 Sep 2012, 3:21 AM
#1778
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Hi RodG

I just had a chance to call them today concerning this they are looking into it and they have given it to their script technicians to see what is causing the issue with connecting to both ozpost and paypal. They have advised that it will probably be sometime tomorrow they will get back to me and have it sorted. As soon as they get back to me and have an answer I will let you know.

2 Oct 2012, 10:09 AM
#1779
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Hi RodG,

This is the response I have received from Justhost concerning this issue:-

Hello,
I apologize for any troubles you've been having.

This doesn't appear to be a server issue.

If i do curls manually this is the results I see.

$ curl -IL http://ozpost.net.au
HTTP/1.1 200 OK
Date: Mon, 01 Oct 2012 16:06:54 GMT
Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.17
X-Pingback: http://ozpost.net.au/xmlrpc.php
Link: http://wp.me/P2t8YF-6; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8

$ curl -IL http://ozpost.net
HTTP/1.1 406 Not Acceptable
Date: Mon, 01 Oct 2012 16:07:21 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1

$ curl -IL http://svr0.ozpost.net
HTTP/1.1 403 Forbidden
Server: Zeus/4.3
Date: Mon, 01 Oct 2012 16:06:16 GMT
Connection: close
Content-Type: text/html

$ curl -IL http://svr1.ozpost.net
HTTP/1.1 406 Not Acceptable
Date: Mon, 01 Oct 2012 16:08:09 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1

$ curl -IL http://svr2.ozpost.net
HTTP/1.1 200 OK
Date: Mon, 01 Oct 2012 16:08:35 GMT
Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.17
X-Pingback: http://ozpost.net.au/xmlrpc.php
Link: http://wp.me/P2t8YF-6; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8

Curls seem to work, however you are being rejected or refused connection from most of them.

Thank you,
Jean
Level II Site/Script Compatibility
Justhost.com
888.755.7585

Can you make any suggestions?
seanymph

2 Oct 2012, 1:26 PM
#1780
seanymph avatar

seanymph

New Zenner

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
58
Plugin Contributions:
0

Re: ozpost shipping module

Hi RodG,

Well I dont know what the issue was that caused both paypal and Auspost modules to give error messages and Justhost have not got back to me since the last email I sent to them asking for further assistance. But it seems that all is working right now thanks for your help in this matter without your assistance I would have probably still be no where with Justhost.

seanymph