Author |
Topic |
|
jru
Starting Member
United Kingdom
11 Posts |
Posted - August 18 2012 : 12:23:37
|
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-CART New User
France
134 Posts |
Posted - August 19 2012 : 05:39:53
|
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
|
|
|
jru
Starting Member
United Kingdom
11 Posts |
Posted - August 20 2012 : 11:35:41
|
Hi Erik,
Thanks for the reply - does that mean that the source code as shipped by VPASP contains a/some bugs?
Martin |
|
|
jru
Starting Member
United Kingdom
11 Posts |
Posted - August 20 2012 : 11:58:11
|
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 |
|
|
|
Topic |
|