Post by philbydevil » Thu Feb 02, 2012 9:59 pm

Just upgraded to 1.5.1.3 and I thought that everything was working well but it seems that some customers are having a problem during checkout when using Internet Explorer (8 & 9 and maybe previous versions too).

Going through as either a guest, or logged in, the checkout process gets to "Delivery Method" ok. I select the delivery option I want and then click continue but it won't move on. It does the little "thinking" circle but doesn't slide down to "Payment Method".

In developer tools in IE it says:

Could not complete the operation due to error 80020101
jquery-1.6.1.min.js, line 16 character 11799 (or sometimes character 11814)

So is there something wrong with the jquery file? Or could it be conflicting with another script? As I'm also getting this error in developer tools:

Syntax error
checkout line 27 character 4

Which relates to:
</script>

This is the end script tag for anylinkmenu, but I did remove all of this script and still had the same problem.

Checkout works fine in Firefox and Safari.

Thanks.
Last edited by philbydevil on Fri Feb 03, 2012 9:50 am, edited 1 time in total.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by straightlight » Thu Feb 02, 2012 10:12 pm

Don't know for Safari yet but which version of Firefox are you using ?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by philbydevil » Thu Feb 02, 2012 10:17 pm

Firefox 9 and Safari 5 on Mac both work fine.

Firefox 9 on PC also works fine.

It just seems to be with IE.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by straightlight » Thu Feb 02, 2012 10:19 pm

I have issues with FF 10 right now but also with other browsers and hoping I was the only one since the new upgrades. IE is unchanged though, it's just because it's not as well developed compared to other browsers.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by philbydevil » Thu Feb 02, 2012 10:49 pm

So I found this thread: http://forum.opencart.com/viewtopic.php ... 2&p=211469

and downgrading to jquery 1.5.1 does fix the problem, but as they mention in that post: does this introduce any security risks?

I tried upgrading to jquery 1.7.1 but it still had the same problem.

Are there any problems if I downgrade the jquery to 1.5.1?

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by straightlight » Thu Feb 02, 2012 10:52 pm

New instructions posted here actually: http://forum.opencart.com/viewtopic.php ... 81#p246889

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by philbydevil » Thu Feb 02, 2012 11:07 pm

Tried that but still can't get past the Delivery Method.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by straightlight » Thu Feb 02, 2012 11:23 pm

Once in the checkout page on Chrome browser, for instance, if you do a CTRL-SHIFT+J on your browser, what does it report as errors ?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Qphoria » Thu Feb 02, 2012 11:50 pm

Looking at your site in IE.. It looks like it is choking on a couple things..

Seems it chokes on
SCRIPT1002: Syntax error
checkout, line 27 character 4

SCRIPT257: Could not complete the operation due to error 80020101.
jquery-1.6.1.min.js, line 16 character 11814
The first one points to this code:

Code: Select all

<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>
Technically the "language" should be equal to "JavaScript" (case)
More technically... it has long been deprecated and should be removed completely

Try removing that language="javascript" part from your header.tpl file and see if that helps.

For the second one, debugging shows that you have a mod for "Checkout Question" causing the error with loading step 5 on IE. It isn't a jquery issue.. just a jquery function call. Here is the data causing the error:

Code: Select all

/*<!--*/
	function setResponse() {
		if($('#other:selected').length) {
			$('#othertext').show();
		} else {
			$('#othertext').hide();
		}
		
		$.post(
			"index.php?route=total/checkout_question/setResponse",
			{checkout_question: $('#checkout_question').val()}
		);
	}
	setResponse();
	
			$(document).ready(function(){
					$('div.right a.button').click(function(){
					if ($.trim($('#checkout_question').val()) == '') {
						$('.warning').remove();
						$('.cart-info').prepend('<div class="warning" style="display: none;">Please let us know how you heard about us</div>');
						$('.checkout-content').prepend('<div class="warning" style="display: none;">Please let us know how you heard about us</div>');
						$('.warning').fadeIn('slow');
						return false;
					}
				});
					});
	-->
Contact the author of that mod and ask them for advice. Or it might be related to the /*<!--*/" and "-->" as it looks like you tried commenting out the top part with /* */ which won't necessarily work and didn't comment out the bottom.

You are also not running the checkout.tpl patch which would also probably help with this:
http://forum.opencart.com/viewtopic.php?f=133&t=45863

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by philbydevil » Fri Feb 03, 2012 5:58 am

Thank! You! Q! ;D

I'll wait to hear back from Johnathan regarding wether or not it's a typo with thos <!-- --> in checkout_question.tpl, but removing them now lets checkout finish.

Have changed the comodo script, which they still have listed as the official script on their site. Have also updated checkout.tpl

Thanks a million!

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am
Who is online

Users browsing this forum: No registered users and 8 guests