Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP set-up problems
 Free Version 6.50 installation problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JP0306
Starting Member

3 Posts

Posted - June 11 2008 :  15:20:46  Show Profile  Reply with Quote
I downloaded the free version 6.50, extracted all the files to c:/Inetpub/wwwRoot/shopping, and then assigned the permission to the database folder.

When I type http://localhost/shopping on my browser, I get the following error message:

Microsoft VBScript compilation error '800a0409'
Unterminated string constant
/shopping/shopheaders.asp, line 1425
str_temp=replace(str_temp, "%"&">","?)

What am I doing wrong? Someone please help!

support
Administrator

4679 Posts

Posted - June 11 2008 :  16:42:26  Show Profile  Visit support's Homepage  Reply with Quote
Hello,

This issue is caused by the default character set of your computer not recognizing certain characters within the VPASP code.

This is generally caused by the locale settings not recognizing the characters ¿ and æ which are used in shopheaders.asp.

You may need to have the code slightly altered to work under your environment.

The solution to this is to replace all of the ¿ and æ characters which are in shopheaders.asp with another uncommonly used character that is recognized by your system (possibly try the pipe character | )

Lines 1424 - 1429 of shopheaders.asp should read:

str_temp = replace(str_source,"<" & "%","¿%")
str_temp = replace(str_temp,"%" & ">","¿")
if left(str_temp,1) = "¿" then str_temp = right(str_temp,len(str_temp) - 1)
if right(str_temp,1) = "¿" then str_temp = left(str_temp,len(str_temp) - 1)
arr_temp = split(str_temp,"¿")
int_len = ubound(arr_temp)


However you may need to change these to something like:

str_temp = replace(str_source,"<" & "%","|%")
str_temp = replace(str_temp,"%" & ">","|")
if left(str_temp,1) = "|" then str_temp = right(str_temp,len(str_temp) - 1)
if right(str_temp,1) = "|" then str_temp = left(str_temp,len(str_temp) - 1)
arr_temp = split(str_temp,"|")
int_len = ubound(arr_temp)


Similarly, line 1572 of shopheaders.asp should read:

cpystr = cpystr & replace(Match2.value,"'","æ")


But you may need to change this to:

cpystr = cpystr & replace(Match2.value,"'","|")



And line 1596 of shopheaders.asp should read:

readfile = replace(str_temp_new,"æ","'")


But you may need to change this to:

readfile = replace(str_temp_new,"|","'")



Updating these characters should resolve the issues you are facing and allow the cart to function correctly on your system.

If you need any assistance with this, please contact our support team at https://www.vpasp.com/virtprog/helpdesk/

Regards
Michael
VPASP SUPPORT



Go to Top of Page

JP0306
Starting Member

3 Posts

Posted - June 11 2008 :  17:49:17  Show Profile  Reply with Quote
I did exactly as you instructed and it took care of the problem. Thank you!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00