We have had trouble for a year with our cart periodically giving an "index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" error to our clients when trying to order products. At first this could be "fixed" by deleting the product and entering it again. Now we are finding that quite frequently when we enter products or make changes to products we get this error. I have not been able to find anything in help or support docs that cover this. The error occurs when the customer is on the product detail page and attempting to select the quantity or put it in the cart. Here is a link to a product that is doing so. http://www.wystonestea.com/The-Smart-Te ... -P230.aspx
Any help would be GREATLY APPRECIATED.
Index out of range error
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Index out of range error
Hello Mark,
What version of AbleCommerce are you running? Have you used the dataport or imported products directly into the database?
What version of AbleCommerce are you running? Have you used the dataport or imported products directly into the database?
Re: Index out of range error
Mark one more thing do you have any thing customized in your cart or its running out of the box?
Re: Index out of range error
It is version 7.0.0 I was not involved in the build of the site. It was done by others. I know there were modifications to the appearance of the site, but I don't know if there were any to the working of the cart or the code.
Re: Index out of range error
PS, the products currently giving us trouble were entered manually, they were not imported in.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Index out of range error
You might not be able to track the error down without comparing original Able code with code on the current product page.
Check the App_Code/ProductHelper.cs and ConLib/BuyProductDialog files.
Check the App_Code/ProductHelper.cs and ConLib/BuyProductDialog files.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx