IE7 Errors on Add to Cart - Only on Certain Items

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

IE7 Errors on Add to Cart - Only on Certain Items

Post by AlanW » Thu May 14, 2009 2:25 pm

Getting an error when certain products are "added to cart" using Internet Explorer. So far, I've only noticed it on a small range of items. The error only occurs in IE7. These same items can be successfully added to the cart from Chrome or FireFox. The error loads our default error page after the "add to cart" button is clicked(without adding anything to the cart).

Most products seem to work fine in IE. Problem seems to affect a small range items. At least from what I can tell, could be a lot more.

Here's an example...
http://216.139.229.108/1-x-2-Commercial ... 77C69.aspx
http://216.139.229.108/1-x-4-Commercial ... 75C69.aspx

Best regrards,

Alan

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by mazhar » Fri May 15, 2009 6:40 am

I have tried it with IE7 and these product pages are working.

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by heinscott » Fri May 15, 2009 6:54 am

I just tried from my IE 7, and I couldn't get the products to add to the cart. It just redirected me to the home page, I think.

Scott

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AbleMods » Fri May 15, 2009 8:34 am

didn't work for me either - appears to go to an error page based on the url it redirects you to.

I'm using IE8 - don't think it's a browser issue. The error would be recorded in the server Application Log.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by mazhar » Fri May 15, 2009 8:46 am

:oops: seems I have missed something. IE8 is redirecting me to error page as well. Please open you error log and check is there any information available regarding error.

AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AlanW » Fri May 15, 2009 9:10 am

Message:
An error has occured at http://216.139.229.108/Product.aspx?Pro ... egoryId=69

Debug Data:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.; Invalid viewstate. Client IP: 58.65.158.29 Port: 65168 User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618) ViewState:


AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AlanW » Mon May 18, 2009 10:30 am

Added the fix per the Wiki which was probably a good thing to do regardless...but it was not the solution.

Turns out the items at issue had bad HTML code in the Description field causing the error. Once the code was removed from Description field, all products are working as expected. Updated with better code and everything is fine.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AbleMods » Mon May 18, 2009 11:39 am

AlanW wrote:Added the fix per the Wiki which was probably a good thing to do regardless...but it was not the solution.

Turns out the items at issue had bad HTML code in the Description field causing the error. Once the code was removed from Description field, all products are working as expected. Updated with better code and everything is fine.
Glad you've got it working. Your descriptions are huge - probably the largest I've ever seen in an AC7 store.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AlanW » Tue May 19, 2009 10:06 am

Yes. The golf training aids tend to require a lot of explanation. But I didn't realize using that much HTML in the Description was unusual. So far, AC seems to handle the pages fine. Many of those HTML long descriptions are sloppy and could be trimmed down a lot. That might help AC run a bit smoother over slower connection speeds.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: IE7 Errors on Add to Cart - Only on Certain Items

Post by AbleMods » Tue May 19, 2009 10:11 am

yeah if the info can be somewhat standardized, you could design a user control to pull in the appropriate sub-detail for the given product. The bigger issue you're faced with is when information changes and dozens of product descriptions must be manually (and consistently) revised. The potential for error is significant.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply