VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Pls.help. Error message in shopproductselect.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

152 Posts

Posted - November 11 2004 :  00:03:33  Show Profile  Reply with Quote

Randomly, I would have a product that if I test to purchase it by clicking the, "Order selected item" to purchase, I get this error message:

Microsoft VBScript runtime error '800a0009'

Subscript out of range: '7'

/shop/shopproductselect.asp, line 55

"What does it mean and what can I do to fix it?" thanks?

Senior Member

United Kingdom
1898 Posts

Posted - November 11 2004 :  02:55:39  Show Profile  Visit devshb's Homepage  Reply with Quote
this means that there's an array variable that has run out of space.

eg a variable has been defined like:

Dim productcodeslist(10)

and then later on the asp code has exceeded that 10 declared/reserved values and tried to use/create an 11'th value in the list.

in your case it seems to be the cart-processing that has the problem, where there are too many items (or quantities) being selected.

What you could do to see what values are causing the problem is to take the comment (single quote) off the beginning of the line about 10 lines above:

'Debugwrite "count=" & count & "Proindex" & Prodindex & " quantities=" & quantities

and set debug mode on; that'll show you the values and you'll be able to spot if anything's amiss.

it might be getting caused by some kind of mis-match between your config options; you could review your quantity/cart-related config options and double-check they line up with each other.

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on November 11 2004 02:57:02

Edited by - devshb on November 11 2004 02:58:31

Edited by - devshb on November 11 2004 02:59:28
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000