When you say 'old module' what version are you referring to?geoff m wrote:Hi Superjuice & thanks for your response.
I have upgraded one of my website to OC 1.5.1.1 the other day, then installed Aust post module for this version (1.5.1.1u1) but still get the same 'hanging problem' at checkout. When I re-install the old module, there are no problems at checkout. Maybe you are able to look into this if possible. I have 2 other websites to upgrade yet, so will put these on hold for now.
Thanks & regards
Geoff
Re above post by OZfarmer. Also tried pressing continue button over 15 times....nothing happened. Did not kick in.
The difference between 1.5.0 and 1.5.1.1 is the way in which the weight and length conversions happen.
If you are reinstalling 1.5.0 series module and it works, it says to me the underlying API of your Opencart installation hasn't upgraded correctly, so the old method of conversion is working (1.5.0 module should not work at all on 1.5.1.1).
What is happening when it 'hangs' is that Opencart is spitting out an error to the error log.
Can you do a fresh install of 1.5.1.1 and module 1.5.1.1u1 (elsewhere is fine) and tell me if that works? By the sound of it, there may be issues with the upgrade.
Other things to check on your install:
Make sure you have grams available in your weight classes (as 'g')
Make sure you have millimeters available in your weight classes (as 'mm')
These two values are required as the module converts in to these to send data to the gateway.
Also check the file opencart.install.dir/system/logs/error.txt for any errors (and your php error log too if you have access to it)
Last edited by SuperJuice on Tue Sep 06, 2011 8:26 am, edited 1 time in total.
No, it appears at the checkout next to the name of the delivery method. It can't be displayed on the product pages because you don't know the destination postcode at that stage.Ozfarmer wrote:Yes, I gather it should appear on the product pages?
Hi SJ, thought you would like to see how its done there, as it might be a good payed mod to compliment you Aust Post mod. You don't have to be logged on you just add your state and postcode and wallah! (even though I think you could ditch the state thing?) see the bottom pic first 

Attachments
apost2.JPG (37.26 KiB) Viewed 4063 times
apost.JPG (47.51 KiB) Viewed 4063 times
G'day ozfarmer, You will find the shipping estimator if you click on 'shopping 'cart' in top menu. It appears along with coupons, gift certificate if you have them enabled. I can't this to work either with module for 1.5.1.1. and checkout is impossible at the moment, just won't return shipping options, no matter how long you wait. As SJ mentioned above he has done no changes to the way it interfaces with AP, but I'll be blowed if it will work for me. Module for 1.5.0 works just fine but no reg post or other options though. If it works OK for you, what did you do?
Hi Geoff, Yep I know that's there, I was thinking it would be like the above photos as well, where you could see what the shipping would be without logging in. Just confused as per normal! Now I had the same issue with it hanging, I think it was related to the Zones in shipping I had it on Australia and when I changed it to All Zones it was fine. You have to make sure your Zones in system are setup correctly. Try that and or completely uninstall and re-install the module. Also the other awesome thing about the Avactis module was when in chat or on the phone with a customer and they wanted a freight quote you just used the little estimator.
Hi ozfarmer, thanks for that info re zones...I have set on Australia as well...will try and see if All zones makes a difference...also I have noticed a few other anomalies since I upgraded to 1.5.1.1 which need attention as well, it's getting the time at the moment to do it, busy as. Will let you know in the next day or so how I went.
Thanks for the info.
Thanks for the info.
Have you followed the steps I outlined to troubleshoot the problem in my post above?geoff m wrote:G'day ozfarmer, You will find the shipping estimator if you click on 'shopping 'cart' in top menu. It appears along with coupons, gift certificate if you have them enabled. I can't this to work either with module for 1.5.1.1. and checkout is impossible at the moment, just won't return shipping options, no matter how long you wait. As SJ mentioned above he has done no changes to the way it interfaces with AP, but I'll be blowed if it will work for me. Module for 1.5.0 works just fine but no reg post or other options though. If it works OK for you, what did you do?
I think there is an issue with how your OpenCart installation has been upgraded if the 1.5.0 module still works with the installation but not 1.5.1.1.
Can you please do a fresh / test install of 1.5.1.1 with the 1.5.1.1u1 Auspost module and let me know if it works.
Have you got any of the log output from the logs I requested?
Last edited by SuperJuice on Tue Sep 06, 2011 7:36 pm, edited 3 times in total.
If you are aware of an issue with zones that you can articulate, it would be beneficial if you explained it on the forum and I can take a look.Ozfarmer wrote:Hi Geoff, Yep I know that's there, I was thinking it would be like the above photos as well, where you could see what the shipping would be without logging in. Just confused as per normal! Now I had the same issue with it hanging, I think it was related to the Zones in shipping I had it on Australia and when I changed it to All Zones it was fine. You have to make sure your Zones in system are setup correctly. Try that and or completely uninstall and re-install the module. Also the other awesome thing about the Avactis module was when in chat or on the phone with a customer and they wanted a freight quote you just used the little estimator.
What does your zone configuration look like? what behaviour do you get when you switch from All Zones to Australia that differs?
I can confirm that the postage estimate it working on a 1.5.1.1 fresh install with module 1.5.1.1u1
What is the weight of the cart you are attempting to check out?
What are the dimensions of the items?
What is your origin postcode set to?
Does your webhost provide curl?
Are there any errors in the error log?
Can you please post me what is in the error log found in the admin section under:
System -> Error Logs
What is the weight of the cart you are attempting to check out?
What are the dimensions of the items?
What is your origin postcode set to?
Does your webhost provide curl?
Are there any errors in the error log?
Can you please post me what is in the error log found in the admin section under:
System -> Error Logs
Hi SJ,SuperJuice wrote:When you say 'old module' what version are you referring to?geoff m wrote:Hi Superjuice & thanks for your response.
I have upgraded one of my website to OC 1.5.1.1 the other day, then installed Aust post module for this version (1.5.1.1u1) but still get the same 'hanging problem' at checkout. When I re-install the old module, there are no problems at checkout. Maybe you are able to look into this if possible. I have 2 other websites to upgrade yet, so will put these on hold for now.
Thanks & regards
Geoff
Re above post by OZfarmer. Also tried pressing continue button over 15 times....nothing happened. Did not kick in.
The difference between 1.5.0 and 1.5.1.1 is the way in which the weight and length conversions happen.
If you are reinstalling 1.5.0 series module and it works, it says to me the underlying API of your Opencart installation hasn't upgraded correctly, so the old method of conversion is working (1.5.0 module should not work at all on 1.5.1.1).
What is happening when it 'hangs' is that Opencart is spitting out an error to the error log.
Can you do a fresh install of 1.5.1.1 and module 1.5.1.1u1 (elsewhere is fine) and tell me if that works? By the sound of it, there may be issues with the upgrade.
Other things to check on your install:
Make sure you have grams available in your weight classes (as 'g')
Make sure you have millimeters available in your weight classes (as 'mm')
These two values are required as the module converts in to these to send data to the gateway.
Also check the file opencart.install.dir/system/logs/error.txt for any errors (and your php error log too if you have access to it)
The "old module" I was referring to is module for 1.5.0.
I haven't had a chance yet to do fresh install of 1.5.1.1 & module..Time is not on my side at the moment, and probably not for a while either.
The weight class is set to grams.
The length class is set to mm.
The error message in error.txt is;
2011-09-07 2:44:39 - PHP Notice: Undefined index: length_class_id in /hermes/bosweb/web283/b2831/nf.thenuthouse1/public_html/thenuthut.com.au/catalog/model/shipping/auspost.php on line 88
This is repeated over & over in the error log
Sometimes I get the same message but reference is to line 90,94,98
I was hoping this may give you some indication as to the problem before I try fresh install or upgrade again.
Regards
Geoff
Geoff
-edit-
Just double checked. That error is appearing because you haven't updated Opencart correctly. The 1.5.1.1u1 references length_class_id for the items in the cart, this changed from OpenCart 1.5.0.
If the module can't reference length_class_id it is because your underlying OpenCart hasn't been upgraded correctly, it is still essentially 1.5.0.
That also explains why the 1.5.0 module works for you, because it doesn't reference the new length_class_id that was introduced in 1.5.1.1.
-edit-
Just double checked. That error is appearing because you haven't updated Opencart correctly. The 1.5.1.1u1 references length_class_id for the items in the cart, this changed from OpenCart 1.5.0.
If the module can't reference length_class_id it is because your underlying OpenCart hasn't been upgraded correctly, it is still essentially 1.5.0.
That also explains why the 1.5.0 module works for you, because it doesn't reference the new length_class_id that was introduced in 1.5.1.1.
Thanks for quick response.
What do I need to do now to make sure this is upgraded?
When I upgraded to 1.5.1.1, I got the usual error messages regarding re-installing modules, when all that was fixed it was error free, so how does only a certain section not upgrade correctly, and how do I make sure it won't happen again.
Do I need to to re-install upgrade again, or are there certain files I only need to update. It took hours before to upload the upgrade files, and don't look forward going through it all again if possible. At least you have pinpointed the problem to me.
Thanks
Geoff
What do I need to do now to make sure this is upgraded?
When I upgraded to 1.5.1.1, I got the usual error messages regarding re-installing modules, when all that was fixed it was error free, so how does only a certain section not upgrade correctly, and how do I make sure it won't happen again.
Do I need to to re-install upgrade again, or are there certain files I only need to update. It took hours before to upload the upgrade files, and don't look forward going through it all again if possible. At least you have pinpointed the problem to me.
Thanks
Geoff
It may not only be a certain section, I would say that any shipping module that references the length of an item will be affected. I am not sure why the upgrade is broken in this way, you would need to ask the OpenCart developers, perhaps there was a bug in the upgrade script?geoff m wrote:Thanks for quick response.
What do I need to do now to make sure this is upgraded?
When I upgraded to 1.5.1.1, I got the usual error messages regarding re-installing modules, when all that was fixed it was error free, so how does only a certain section not upgrade correctly, and how do I make sure it won't happen again.
Do I need to to re-install upgrade again, or are there certain files I only need to update. It took hours before to upload the upgrade files, and don't look forward going through it all again if possible. At least you have pinpointed the problem to me.
Thanks
Geoff
I always do a fresh install when upgrading major versions.
The length_class_id is a pretty core change to the OpenCart code, I am not sure where it happened, all I know is that what was exposed through the shipping API (what the shipping modules interface with) changed and that is why the 1.5.0 modules and 1.5.1 modules are different. I can assure you, I wasn't happy about the API change, and had a rant in the 1.5.1 thread about it.
In 1.5.0 the length unit information came from $cartitem['length_class']
In 1.5.1 the length unit information came from $cartitem['length_class_id']
Hey thanks again, This seem to leave someone like me a bit high & dry. I have only just (2 mths) gone over to OC, and this was all new to me having used a PC based shopping cart for years. I have no knowledge of PHP, I just work things out for myself, so I don't know weather to persist, or just revert back to the module for 1.5.0 which at least works for me.
When you mention doing a fresh install when upgrading to new version, doesn't that mean virtually starting from scratch again, ie re-entering all products, options, info etc.?
The website I upgraded to 1.5.1.1, luckily was the smallest I have, and a fresh install would only take me about 2 days to re-input, but the other 2 are much bigger and would take weeks to do both. So at the moment I am between a rock & a hard place so I will need to re-think my direction.
Thanks & regards
Geoff
When you mention doing a fresh install when upgrading to new version, doesn't that mean virtually starting from scratch again, ie re-entering all products, options, info etc.?
The website I upgraded to 1.5.1.1, luckily was the smallest I have, and a fresh install would only take me about 2 days to re-input, but the other 2 are much bigger and would take weeks to do both. So at the moment I am between a rock & a hard place so I will need to re-think my direction.
Thanks & regards
Geoff
That is really something to raise with the OpenCart developers, I have no control over how they provide their application, I am at the mercy of their upgrade cycle as much as you, and all my time is provided for free.geoff m wrote:Hey thanks again, This seem to leave someone like me a bit high & dry. I have only just (2 mths) gone over to OC, and this was all new to me having used a PC based shopping cart for years. I have no knowledge of PHP, I just work things out for myself, so I don't know weather to persist, or just revert back to the module for 1.5.0 which at least works for me.
When you mention doing a fresh install when upgrading to new version, doesn't that mean virtually starting from scratch again, ie re-entering all products, options, info etc.?
The website I upgraded to 1.5.1.1, luckily was the smallest I have, and a fresh install would only take me about 2 days to re-input, but the other 2 are much bigger and would take weeks to do both. So at the moment I am between a rock & a hard place so I will need to re-think my direction.
Thanks & regards
Geoff
I have regularly complained over the last 12+ months about the upgrade methods / cycles and attitude towards upgrading but it all falls on deaf ears.
I don't run a webstore and I make exactly $0 off this module. I originally wrote the module for a friend's store because someone was going to charge him a ton to write it (literally price gouging). I now write it to help out others, nothing more.
When I test the module I do a fresh install of the code base, install the latest module and then ensure it works (and update the module if required). I fortunately don't have to deal with the constant nightmare of the OpenCart upgrade path because of this, but I do regularly hear people saying the same thing (upgrades are painful).
You can read my thoughts on the upgrade path here:
http://forum.opencart.com/viewtopic.php ... 05#p178295
As you can see the response rapidly turned into an attempt to discredit my opinion and frame the comment as ignorant by suggesting I hadn't been involved in opensource long enough to fully understand it. You will also notice I didn't bother responding.
Last edited by SuperJuice on Wed Sep 07, 2011 12:15 pm, edited 2 times in total.
I must thank you for your help and assistance over the last period, it is much appreciated and at least the problem was located by you. Maybe when there is a new upgrade I will try again, this may resolve the issue. I will check back to this thread often for any updates.
thanks again,
Regards
Geoff
PS thanks for the link above - I read it - Their attitude is so U.S.
thanks again,
Regards
Geoff
PS thanks for the link above - I read it - Their attitude is so U.S.
Hi SJ,SuperJuice wrote:The 1.5.1 module was never designed to work with 1.5.0 that is why 1.5.0 isn't shown next to the module under 'compatability'. The reason it is hanging is because the API changed between 1.5.0 and 1.5.1.geoff m wrote:Hi SuperJuice,SuperJuice wrote:I have just released the 1.5.1.1u1 module which adds Registered Post and Registered Post with insurance to the postage options.
This version of the module will only work on 1.5.1.1 and above.
http://www.opencart.com/index.php?route ... d_id=72261
Firstly, thanks for your on-going support for the Aus post module. After reading above messages I'm still a bit confused.
As mentioned in above post there is a prob with installing module 1.5.1u1 in OC 1.5.0 as it hangs at checkout (will eventually work if you hit 'continue' button 10 times or more).
Will you be modifying latest module version to be compatible with 1.5.0 as main reason is registered post requirement + additional options?
Thanks & regards
Geoff
I don't currently have plans to backport the Registered Post changes to the 1.5.0 version of OpenCart and would encourage people to upgrade to OpenCart 1.5.1.1 and module version 1.5.1.1u1 if possible (and if they want Registered / Registered and Insured post).. the reason being that the number of versions of the module that have had to have been created over time is turning into a bit of a support burden.
Do you have plans to go to 1.5.1.1?
-edit-
Sorry for the delayed response, I didn't get an email from the forum notifying me of new posts.
The saga continues for me....I had some time up my sleeve so I upgraded one of my other websites to 1.5.1.1 after checking forum re any upgrade problems....and....now I have 2 websites the same....ie upgrade either didn't work properly again or I am a glutton for punishment

Now my question....Would you re-consider your plans to backport the registered post changes to also work in module for OC 1.5.0?
Just asking.
Regards
Geoff
Who is online
Users browsing this forum: No registered users and 6 guests