Print Page | Close Window

Index was outside the bounds of the array

Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart NET
Forum Description: For SalesCart NET developers and designers to converse with other SalesCart NET owners
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=681
Printed Date: April/25/24 at 4:47pm
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: Index was outside the bounds of the array
Posted By: drafting
Subject: Index was outside the bounds of the array
Date Posted: February/12/07 at 4:49pm
Sometimes I get this error when checking out using the shipping plugin:

Index was outside the bounds of the array.

It does not happen all the time and fixes itself after a while. But it still causes a problem for my customers. Does anyone have an idea of what can be done to fix this?



Replies:
Posted By: debbie
Date Posted: September/03/09 at 8:23am
I am getting this same problem. Can anyone tell me how to fix this.


Posted By: Ginostylz
Date Posted: March/27/10 at 12:43pm
I get the same problem. I can't reproduce it, but customers sure do
complain about it. I think they have to close the browser, and re-
open the site in a new window.


Posted By: Ginostylz
Date Posted: March/27/10 at 12:46pm
Is there a real fix for it yet?


Posted By: admin
Date Posted: July/29/10 at 12:32pm
It sounds like this problem. http://support.salescart.com/kb/KB-details.asp?key=5608

When does this occur? The header.aspx file was modified so that it strips out semicolons which can be used for SQL Injection attacks. If you customer uses a semi-colon in their data they put in the fields, this issue would happen.

Two ways to deal with this, valid your customers data using the built-in validation functionality and don't allow semi-colons. There is no reason to use a semi-colon in a shipping address and they are technical not supported by the post office. Or, remove this security feature by editing the file according to the KB. This increases your security risk though.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.04 - http://www.webwizforums.com
Copyright ©2001-2015 Web Wiz Ltd. - http://www.webwiz.co.uk