Javascript error in checkout

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Javascript error in checkout

Postby lpks » Wed Dec 03, 2014 9:03 am

Hi,
When I enable OPC in checkout, I get the following error in Chrome Developer Tools when a user clicks the 'create account' button:
Uncaught ReferenceError: op_noshipping is not definedonepage.js?opcversion=2_0_274_021214:224
Onepage.op_runSStabcontent.js?opcversion=2_0_274_021214:241
onRegisterPressedcart.html?Itemid=0:1266 onclick

When a user clicks the login button, it says:
Uncaught ReferenceError: op_com_user is not definedonepage.js?opcversion=2_0_274_021214:5758 Onepage.op_logincart.html?Itemid=0:1290 onclick
lpks
 
Posts: 2
Joined: Wed Dec 03, 2014 9:00 am

Re: Javascript error in checkout

Postby admin » Thu Dec 04, 2014 6:44 pm

hello, are there any other errors, like 404's ?

maybe you need to disable opc's javascript loaded from the cache directory as shown here:
http://www.rupostel.com/phpBB3/viewtopic.php?f=7&t=1062

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Javascript error in checkout

Postby lpks » Fri Dec 05, 2014 5:52 am

Brilliant Stan - that solved the issue for us.
Thanks so much!
lpks
 
Posts: 2
Joined: Wed Dec 03, 2014 9:00 am

Re: Javascript error in checkout

Postby admin » Fri Dec 05, 2014 2:14 pm

hello, you are welcome. let us know what is the name of the security software that disabled loading of js from the cache directory. right now i know only about the akeeba admin tools. i am going to add a check into opc so it disables this option once the plugin is found.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron