Although I can't say exactly what is causing your problem (regardless of which shipping module(s) you are using, I CAN say that you are treading very murky waters.
I wrote the Austpost Improved shipping module, and not even I had to concern myself with the $GLOBALS arrays to make things work.
I'd suggest that if you are having to delve into this part of the code you may be better off doing a fresh install and starting again.
Cheers
Rod
Argh sorry I figured it out by tunnelling through the code and debugging it.
the reason why there were no shipping option is because the product I was testing with was set to free shipping. Hence no cost for shipping required.
Solved
Thanks for the help. Such a silly mistake.
Thanks Rod for your reply.
I have changed this option before and it just comes up with new errors. I reinstalled the module and now I don't get this option in the Austpost settings.
What do you think the reason for this error is? Is it something to do with my host?
Thanks
Beck
One more thing I forgot to mention. If I continue on with step 1, step 2 comes up with the following errors and I can't continue on. It is just a blank screen.
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /var/virtual/web/w1248/html/shop/includes/modules/shipping/austpost.php on line 624
Warning: file(http://drc.edeliver.com.au/ratecalc....=80&Quantity=1) [function.file]: failed to open stream: no suitable wrapper could be found in /var/virtual/web/w1248/html/shop/includes/modules/shipping/austpost.php on line 624
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /var/virtual/web/w1248/html/shop/includes/modules/shipping/austpost.php on line 624
Warning: file(http://drc.edeliver.com.au/ratecalc....=80&Quantity=1) [function.file]: failed to open stream: no suitable wrapper could be found in /var/virtual/web/w1248/html/shop/includes/modules/shipping/austpost.php on line 624
Warning: Cannot modify header information - headers already sent by (output started at /var/virtual/web/w1248/html/shop/includes/modules/shipping/austpost.php:624) in /var/virtual/web/w1248/html/shop/includes/functions/functions_general.php on line 44
Just taking a wee stab in the dark here, but I'd say that there is something in your server configuration that has disabled the ability for you to use the URL file-access method (Don't you just hate these cryptic error messages) <grin>
Assuming you, like most others, have no way of reconfiguring your hosts servers, the Australia Post module has implemented an alternate method of URL access known as "cURL" (which is why I suggested you make that change).
cURL itself is unrelated to the AustPost module, but it is used for several aspects of zencarts operation, eg, for accepting PayPal payments.
cURL has its own configuration settings.
Some ISP's don't support cURL, but in my experience all ISP's support either one or the other of these two methods.
cURL is supposedly a little more secure than "file".
Anyway, the error message tells us that it is really pointless for you to continue to use the "file" method, so your only hope is to use cURL (which you'll need to configure to get rid of the 'new' errors).
Cheers
Rod
Thanks Rod,
I have completely removed the Austpost module and reinstalled it and it still won't even show the Curl Option in Admin>Shipping>Austpost.
Can I activate Curl if I edit the file perhaps? Otherwise I will just leave it on Table Rate until I change hosts again.
Thanks so much for your time.
Beck
I never asked do to do that. If you can't or won't follow instructions it is rather pointless for me to try to help you.
I'm now confused. What do you mean by "still won't" ?
Does that mean you have never seen this option, or that it *was* showing until you did the uninstall/reinstall ?
If you aren't seeing the cURL switch, what are the last FIVE configuration settings that you are seeing on the AustPost admin page?
Rgds
Rod
I have a few issues again with my shipping system that I hope someone can help me with. I have the lastest version on zen cart with the auspost improved module.
For some reason the weight values seem to be calcualting incorrectly. I have set my toggle to grams, have 1 item in the cart and no extra handling fees. I ran some test data and here are my results.
weight = parcel shipping cost.
5 = 4.20
10 = 4.20
15 = 4.20
17 = 4.20
17.05 = 8.40
17.2 = 8.40
17.5 = 8.40
18.5 = 8.40
20 = 8.40
25 = 8.40
40 = 12.60
50 = 12.60
My understanding is that austpost charges $4.20 up to 250 grams and then 5.40 between 250 and 500 grams.
I do not understand where all these prices are coming from?
Also I have a tax issue. It's not really a problem with the aust shipping module so to speak. I do not have tax set on the shipping but I have set it on the products. I need to charge GST to australian customers.
When adding products the gross amount equals the net amount + 2xGST. IE 2 lots of gst get added. Also these are added to all customer australian and international. I have set my tax zone to for all austrlian zone. The duel gst amount can clearly be seen adding twice in the payment information screen.
Can anyone point me in the right direction or have any ideas? Im stuck.
Also is it possible to display the auspost prices in US dollars. My clients for some reason wants all values to be in amerian. Just wondering if it's possible.
Bookmarks