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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 shopsearch.asp / shopsearchsubs.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jru
Starting Member

United Kingdom
11 Posts

Posted - August 18 2012 :  12:23:37  Show Profile  Reply with Quote
Hi,

We have recently installed V7 from scratch as a new customer and in advanced search we are receiving the following;

Microsoft VBScript runtime error '800a0009'

Subscript out of range: '4'

/shopsearchsubs.asp, line 227

We haven't modified any code so any idea why we are getting this? We can't really go live without a working search function!!

Regards,

Martin

manilow
VP-ASP New User

France
106 Posts

Posted - August 19 2012 :  05:39:53  Show Profile  Visit manilow's Homepage  Reply with Quote
Martin,

I think it has something to do with the following line which I corrected since not alll search fields were being displayed :

shopsearchsubs.asp, around line 218:

Change
for i = 0 to (ubound(fieldArray) - 1)

To
for i = 0 to ubound(fieldArray)

Be sure to specify correctly the xsearchfields field, for example :
cname,cdescription,ccode,productmetakeyword

Regards,

Erik
www.AquaThermia.com

Go to Top of Page

jru
Starting Member

United Kingdom
11 Posts

Posted - August 20 2012 :  11:35:41  Show Profile  Reply with Quote
Hi Erik,

Thanks for the reply - does that mean that the source code as shipped by VPASP contains a/some bugs?

Martin
Go to Top of Page

jru
Starting Member

United Kingdom
11 Posts

Posted - August 20 2012 :  11:58:11  Show Profile  Reply with Quote
Hi Erik,

I've messed around a bit and I had 5 fields specified in xsearchfields and it looks like you can only specify 4...I haven't found any documentation saying that is the case though! but I won't have to change the code

Martin
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000