Syntax error - parser.asp / Classic asp site

Have an asp site that I have been using for a long time, several days ago client contacted me and said site was having issue. I have touched this site in months. Its not talking to the database correctly. I am able to connect to the database from within wappler no problem but getting the following error in the browser when trying to do a basic connection to the DB. @patrick

{type: "Error", fileName: "lib/core/parser.asp", lineNumber: 108, message: "Syntax error",…}
appData
: 
{}
fileName
: 
"lib/core/parser.asp"
lineNumber
: 
108
message
: 
"Syntax error"
scope
: 
{$_ERROR: null, $_ENV: {}, $_SERVER: {,…}, $_GET: {}, $_POST: {},…}
$_COOKIE
: 
{ASPSESSIONIDQCACCATQ: "ALGBLPKAPPNBDEGCGKJCBHDF", ASPSESSIONIDSABBCDTR: "FKALDIABBEBIIDMDPMCGOKEI",…}
ASPSESSIONIDQASBABSQ
: 
"DJMLNIABCMKBGHHKIKCPADJP"
ASPSESSIONIDQCACCATQ
: 
"ALGBLPKAPPNBDEGCGKJCBHDF"
ASPSESSIONIDQCRDCDQQ
: 
"IIBBMOABHBCIDMHGAPJCDEFH"
ASPSESSIONIDSABBCDTR
: 
"FKALDIABBEBIIDMDPMCGOKEI"
ASPSESSIONIDSASBABSQ
: 
"NJMLNIABDPKJOINIKKECOICJ"
ASPSESSIONIDSATAABTR
: 
"CFAHMMBCHKHELEGLMBGJLOHI"
$_ENV
: 
{}
$_ERROR
: 
null
$_GET
: 
{}
$_HEADER
: 
{connection: "keep-alive", accept: "application/json", accept-encoding: "gzip, deflate",…}
accept
: 
"application/json"
accept-encoding
: 
"gzip, deflate"
accept-language
: 
"en-US,en;q=0.9"
connection
: 
"keep-alive"
cookie
: 
"ASPSESSIONIDQCACCATQ=ALGBLPKAPPNBDEGCGKJCBHDF; ASPSESSIONIDSABBCDTR=FKALDIABBEBIIDMDPMCGOKEI; ASPSESSIONIDQASBABSQ=DJMLNIABCMKBGHHKIKCPADJP; ASPSESSIONIDSASBABSQ=NJMLNIABDPKJOINIKKECOICJ; ASPSESSIONIDQCRDCDQQ=IIBBMOABHBCIDMHGAPJCDEFH; ASPSESSIONIDSATAABTR=CFAHMMBCHKHELEGLMBGJLOHI"
host
: 
"formulaboatsmo.com"
referer
: 
"http://formulaboatsmo.com/basictest.asp"
user-agent
: 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
$_POST
: 
{}
$_SERVER
: 
{,…}
ALL_HTTP
: 
"HTTP_CONNECTION:keep-alive\nHTTP_ACCEPT:application/json\nHTTP_ACCEPT_ENCODING:gzip, deflate\nHTTP_ACCEPT_LANGUAGE:en-US,en;q=0.9\nHTTP_COOKIE:ASPSESSIONIDQCACCATQ=ALGBLPKAPPNBDEGCGKJCBHDF; ASPSESSIONIDSABBCDTR=FKALDIABBEBIIDMDPMCGOKEI; ASPSESSIONIDQASBABSQ=DJMLNIABCMKBGHHKIKCPADJP; ASPSESSIONIDSASBABSQ=NJMLNIABDPKJOINIKKECOICJ; ASPSESSIONIDQCRDCDQQ=IIBBMOABHBCIDMHGAPJCDEFH; ASPSESSIONIDSATAABTR=CFAHMMBCHKHELEGLMBGJLOHI\nHTTP_HOST:formulaboatsmo.com\nHTTP_REFERER:http://formulaboatsmo.com/basictest.asp\nHTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
ALL_RAW
: 
"Connection: keep-alive\r\nAccept: application/json\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.9\r\nCookie: ASPSESSIONIDQCACCATQ=ALGBLPKAPPNBDEGCGKJCBHDF; ASPSESSIONIDSABBCDTR=FKALDIABBEBIIDMDPMCGOKEI; ASPSESSIONIDQASBABSQ=DJMLNIABCMKBGHHKIKCPADJP; ASPSESSIONIDSASBABSQ=NJMLNIABDPKJOINIKKECOICJ; ASPSESSIONIDQCRDCDQQ=IIBBMOABHBCIDMHGAPJCDEFH; ASPSESSIONIDSATAABTR=CFAHMMBCHKHELEGLMBGJLOHI\r\nHost: formulaboatsmo.com\r\nReferer: http://formulaboatsmo.com/basictest.asp\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
APPL_MD_PATH
: 
"/LM/W3SVC/18/ROOT"
APPL_PHYSICAL_PATH
: 
"C:\\hshome\\formula2017\\formulaboatsmo.com\\"
AUTH_PASSWORD
: 
""
AUTH_TYPE
: 
""
AUTH_USER
: 
""
CERT_COOKIE
: 
""
CERT_FLAGS
: 
""
CERT_ISSUER
: 
""
CERT_KEYSIZE
: 
""
CERT_SECRETKEYSIZE
: 
""
CERT_SERIALNUMBER
: 
""
CERT_SERVER_ISSUER
: 
""
CERT_SERVER_SUBJECT
: 
""
CERT_SUBJECT
: 
""
CONTENT_LENGTH
: 
"0"
CONTENT_TYPE
: 
""
GATEWAY_INTERFACE
: 
"CGI/1.1"
HTTPS
: 
"off"
HTTPS_KEYSIZE
: 
""
HTTPS_SECRETKEYSIZE
: 
""
HTTPS_SERVER_ISSUER
: 
""
HTTPS_SERVER_SUBJECT
: 
""
HTTP_ACCEPT
: 
"application/json"
HTTP_ACCEPT_ENCODING
: 
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
: 
"en-US,en;q=0.9"
HTTP_CONNECTION
: 
"keep-alive"
HTTP_COOKIE
: 
"ASPSESSIONIDQCACCATQ=ALGBLPKAPPNBDEGCGKJCBHDF; ASPSESSIONIDSABBCDTR=FKALDIABBEBIIDMDPMCGOKEI; ASPSESSIONIDQASBABSQ=DJMLNIABCMKBGHHKIKCPADJP; ASPSESSIONIDSASBABSQ=NJMLNIABDPKJOINIKKECOICJ; ASPSESSIONIDQCRDCDQQ=IIBBMOABHBCIDMHGAPJCDEFH; ASPSESSIONIDSATAABTR=CFAHMMBCHKHELEGLMBGJLOHI"
HTTP_HOST
: 
"formulaboatsmo.com"
HTTP_REFERER
: 
"http://formulaboatsmo.com/basictest.asp"
HTTP_USER_AGENT
: 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
INSTANCE_ID
: 
"18"
INSTANCE_META_PATH
: 
"/LM/W3SVC/18"
LOCAL_ADDR
: 
"69.42.56.240"
LOGON_USER
: 
""
PATH_INFO
: 
"/dmxConnect/api/tests/basictest.asp"
PATH_TRANSLATED
: 
"C:\\hshome\\formula2017\\formulaboatsmo.com\\dmxConnect\\api\\tests\\basictest.asp"
QUERY_STRING
: 
""
REMOTE_ADDR
: 
"97.86.27.155"
REMOTE_HOST
: 
"97.86.27.155"
REMOTE_USER
: 
""
REQUEST_METHOD
: 
"GET"
SCRIPT_NAME
: 
"/dmxConnect/api/tests/basictest.asp"
SERVER_NAME
: 
"formulaboatsmo.com"
SERVER_PORT
: 
"80"
SERVER_PORT_SECURE
: 
"0"
SERVER_PROTOCOL
: 
"HTTP/1.1"
SERVER_SOFTWARE
: 
"Microsoft-IIS/10.0"
URL
: 
"/dmxConnect/api/tests/basictest.asp"
$_SESSION
: 
{}
stack
: 
[{fileName: "lib/app.asp", lineNumber: 108, method: "_exec",…},…]
0
: 
{fileName: "lib/app.asp", lineNumber: 108, method: "_exec",…}
args
: 
[{name: "query", module: "dbconnector", action: "select", options: {connection: "DMXFormula",…},…}]
0
: 
{name: "query", module: "dbconnector", action: "select", options: {connection: "DMXFormula",…},…}
action
: 
"select"
meta
: 
[{type: "text", name: "Description"}, {type: "text", name: "NewUsed"}, {type: "text", name: "status"},…]
0
: 
{type: "text", name: "Description"}
name
: 
"Description"
type
: 
"text"
1
: 
{type: "text", name: "NewUsed"}
name
: 
"NewUsed"
type
: 
"text"
2
: 
{type: "text", name: "status"}
name
: 
"status"
type
: 
"text"
3
: 
{type: "text", name: "Model"}
name
: 
"Model"
type
: 
"text"
4
: 
{type: "text", name: "Make"}
name
: 
"Make"
type
: 
"text"
5
: 
{type: "text", name: "Year"}
name
: 
"Year"
type
: 
"text"
6
: 
{type: "text", name: "Color"}
name
: 
"Color"
type
: 
"text"
7
: 
{type: "number", name: "Price"}
name
: 
"Price"
type
: 
"number"
8
: 
{type: "text", name: "Engines"}
name
: 
"Engines"
type
: 
"text"
9
: 
{type: "text", name: "Horsepower"}
name
: 
"Horsepower"
type
: 
"text"
10
: 
{type: "text", name: "Hours"}
name
: 
"Hours"
type
: 
"text"
11
: 
{type: "text", name: "LOA"}
name
: 
"LOA"
type
: 
"text"
12
: 
{type: "text", name: "Beam"}
name
: 
"Beam"
type
: 
"text"
13
: 
{type: "text", name: "DryWeight"}
name
: 
"DryWeight"
type
: 
"text"
14
: 
{type: "text", name: "location"}
name
: 
"location"
type
: 
"text"
15
: 
{type: "text", name: "options"}
name
: 
"options"
type
: 
"text"
16
: 
{type: "text", name: "photo"}
name
: 
"photo"
type
: 
"text"
17
: 
{type: "text", name: "featured"}
name
: 
"featured"
type
: 
"text"
18
: 
{type: "text", name: "story"}
name
: 
"story"
type
: 
"text"
19
: 
{type: "text", name: "youtube"}
name
: 
"youtube"
type
: 
"text"
20
: 
{type: "text", name: "metakeywords"}
name
: 
"metakeywords"
type
: 
"text"
21
: 
{type: "text", name: "metadescription"}
name
: 
"metadescription"
type
: 
"text"
22
: 
{type: "text", name: "stocknumber"}
name
: 
"stocknumber"
type
: 
"text"
23
: 
{type: "text", name: "keyfeatures"}
name
: 
"keyfeatures"
type
: 
"text"
24
: 
{type: "text", name: "pdfsheet"}
name
: 
"pdfsheet"
type
: 
"text"
25
: 
{type: "text", name: "exterior"}
name
: 
"exterior"
type
: 
"text"
26
: 
{type: "text", name: "cockpit"}
name
: 
"cockpit"
type
: 
"text"
27
: 
{type: "text", name: "cabin"}
name
: 
"cabin"
type
: 
"text"
28
: 
{type: "text", name: "EngineDetail"}
name
: 
"EngineDetail"
type
: 
"text"
29
: 
{type: "text", name: "boattype"}
name
: 
"boattype"
type
: 
"text"
30
: 
{type: "text", name: "detailfulldisplay"}
name
: 
"detailfulldisplay"
type
: 
"text"
31
: 
{type: "number", name: "rsboat_id"}
name
: 
"rsboat_id"
type
: 
"number"
32
: 
{type: "text", name: "version"}
name
: 
"version"
type
: 
"text"
module
: 
"dbconnector"
name
: 
"query"
options
: 
{connection: "DMXFormula",…}
connection
: 
"DMXFormula"
sql
: 
{type: "SELECT", columns: [{table: "dbo.rsBoats", column: "*"}], table: {name: "dbo.rsBoats"},…}
columns
: 
[{table: "dbo.rsBoats", column: "*"}]
0
: 
{table: "dbo.rsBoats", column: "*"}
column
: 
"*"
table
: 
"dbo.rsBoats"
joins
: 
[]
orders
: 
[]
params
: 
[]
primary
: 
"rsboat_id"
query
: 
"SELECT *\nFROM \"dbo.rsBoats\""
table
: 
{name: "dbo.rsBoats"}
name
: 
"dbo.rsBoats"
type
: 
"SELECT"
output
: 
true
outputType
: 
"array"
fileName
: 
"lib/app.asp"
lineNumber
: 
108
method
: 
"_exec"
1
: 
{fileName: "lib/app.asp", lineNumber: 86, method: "exec", args: [{,…}, null]}
args
: 
[{,…}, null]
0
: 
{,…}
steps
: 
{name: "query", module: "dbconnector", action: "select", options: {connection: "DMXFormula",…},…}
action
: 
"select"
meta
: 
[{type: "text", name: "Description"}, {type: "text", name: "NewUsed"}, {type: "text", name: "status"},…]
0
: 
{type: "text", name: "Description"}
name
: 
"Description"
type
: 
"text"
1
: 
{type: "text", name: "NewUsed"}
name
: 
"NewUsed"
type
: 
"text"
2
: 
{type: "text", name: "status"}
name
: 
"status"
type
: 
"text"
3
: 
{type: "text", name: "Model"}
name
: 
"Model"
type
: 
"text"
4
: 
{type: "text", name: "Make"}
name
: 
"Make"
type
: 
"text"
5
: 
{type: "text", name: "Year"}
name
: 
"Year"
type
: 
"text"
6
: 
{type: "text", name: "Color"}
name
: 
"Color"
type
: 
"text"
7
: 
{type: "number", name: "Price"}
name
: 
"Price"
type
: 
"number"
8
: 
{type: "text", name: "Engines"}
name
: 
"Engines"
type
: 
"text"
9
: 
{type: "text", name: "Horsepower"}
name
: 
"Horsepower"
type
: 
"text"
10
: 
{type: "text", name: "Hours"}
name
: 
"Hours"
type
: 
"text"
11
: 
{type: "text", name: "LOA"}
name
: 
"LOA"
type
: 
"text"
12
: 
{type: "text", name: "Beam"}
name
: 
"Beam"
type
: 
"text"
13
: 
{type: "text", name: "DryWeight"}
name
: 
"DryWeight"
type
: 
"text"
14
: 
{type: "text", name: "location"}
name
: 
"location"
type
: 
"text"
15
: 
{type: "text", name: "options"}
name
: 
"options"
type
: 
"text"
16
: 
{type: "text", name: "photo"}
name
: 
"photo"
type
: 
"text"
17
: 
{type: "text", name: "featured"}
name
: 
"featured"
type
: 
"text"
18
: 
{type: "text", name: "story"}
name
: 
"story"
type
: 
"text"
19
: 
{type: "text", name: "youtube"}
name
: 
"youtube"
type
: 
"text"
20
: 
{type: "text", name: "metakeywords"}
name
: 
"metakeywords"
type
: 
"text"
21
: 
{type: "text", name: "metadescription"}
name
: 
"metadescription"
type
: 
"text"
22
: 
{type: "text", name: "stocknumber"}
name
: 
"stocknumber"
type
: 
"text"
23
: 
{type: "text", name: "keyfeatures"}
name
: 
"keyfeatures"
type
: 
"text"
24
: 
{type: "text", name: "pdfsheet"}
name
: 
"pdfsheet"
type
: 
"text"
25
: 
{type: "text", name: "exterior"}
name
: 
"exterior"
type
: 
"text"
26
: 
{type: "text", name: "cockpit"}
name
: 
"cockpit"
type
: 
"text"
27
: 
{type: "text", name: "cabin"}
name
: 
"cabin"
type
: 
"text"
28
: 
{type: "text", name: "EngineDetail"}
name
: 
"EngineDetail"
type
: 
"text"
29
: 
{type: "text", name: "boattype"}
name
: 
"boattype"
type
: 
"text"
30
: 
{type: "text", name: "detailfulldisplay"}
name
: 
"detailfulldisplay"
type
: 
"text"
31
: 
{type: "number", name: "rsboat_id"}
name
: 
"rsboat_id"
type
: 
"number"
32
: 
{type: "text", name: "version"}
name
: 
"version"
type
: 
"text"
module
: 
"dbconnector"
name
: 
"query"
options
: 
{connection: "DMXFormula",…}
connection
: 
"DMXFormula"
sql
: 
{type: "SELECT", columns: [{table: "dbo.rsBoats", column: "*"}], table: {name: "dbo.rsBoats"},…}
columns
: 
[{table: "dbo.rsBoats", column: "*"}]
0
: 
{table: "dbo.rsBoats", column: "*"}
column
: 
"*"
table
: 
"dbo.rsBoats"
joins
: 
[]
orders
: 
[]
params
: 
[]
primary
: 
"rsboat_id"
query
: 
"SELECT *\nFROM \"dbo.rsBoats\""
table
: 
{name: "dbo.rsBoats"}
name
: 
"dbo.rsBoats"
type
: 
"SELECT"
output
: 
true
outputType
: 
"array"
1
: 
null
fileName
: 
"lib/app.asp"
lineNumber
: 
86
method
: 
"exec"
2
: 
{fileName: "lib/app.asp", lineNumber: 86, method: "exec",…}
args
: 
[{meta: {$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}, exec: {,…}}]
0
: 
{meta: {$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}, exec: {,…}}
exec
: 
{,…}
steps
: 
{name: "query", module: "dbconnector", action: "select", options: {connection: "DMXFormula",…},…}
action
: 
"select"
meta
: 
[{type: "text", name: "Description"}, {type: "text", name: "NewUsed"}, {type: "text", name: "status"},…]
0
: 
{type: "text", name: "Description"}
name
: 
"Description"
type
: 
"text"
1
: 
{type: "text", name: "NewUsed"}
name
: 
"NewUsed"
type
: 
"text"
2
: 
{type: "text", name: "status"}
name
: 
"status"
type
: 
"text"
3
: 
{type: "text", name: "Model"}
name
: 
"Model"
type
: 
"text"
4
: 
{type: "text", name: "Make"}
name
: 
"Make"
type
: 
"text"
5
: 
{type: "text", name: "Year"}
name
: 
"Year"
type
: 
"text"
6
: 
{type: "text", name: "Color"}
name
: 
"Color"
type
: 
"text"
7
: 
{type: "number", name: "Price"}
name
: 
"Price"
type
: 
"number"
8
: 
{type: "text", name: "Engines"}
name
: 
"Engines"
type
: 
"text"
9
: 
{type: "text", name: "Horsepower"}
name
: 
"Horsepower"
type
: 
"text"
10
: 
{type: "text", name: "Hours"}
name
: 
"Hours"
type
: 
"text"
11
: 
{type: "text", name: "LOA"}
name
: 
"LOA"
type
: 
"text"
12
: 
{type: "text", name: "Beam"}
name
: 
"Beam"
type
: 
"text"
13
: 
{type: "text", name: "DryWeight"}
name
: 
"DryWeight"
type
: 
"text"
14
: 
{type: "text", name: "location"}
name
: 
"location"
type
: 
"text"
15
: 
{type: "text", name: "options"}
name
: 
"options"
type
: 
"text"
16
: 
{type: "text", name: "photo"}
name
: 
"photo"
type
: 
"text"
17
: 
{type: "text", name: "featured"}
name
: 
"featured"
type
: 
"text"
18
: 
{type: "text", name: "story"}
name
: 
"story"
type
: 
"text"
19
: 
{type: "text", name: "youtube"}
name
: 
"youtube"
type
: 
"text"
20
: 
{type: "text", name: "metakeywords"}
name
: 
"metakeywords"
type
: 
"text"
21
: 
{type: "text", name: "metadescription"}
name
: 
"metadescription"
type
: 
"text"
22
: 
{type: "text", name: "stocknumber"}
name
: 
"stocknumber"
type
: 
"text"
23
: 
{type: "text", name: "keyfeatures"}
name
: 
"keyfeatures"
type
: 
"text"
24
: 
{type: "text", name: "pdfsheet"}
name
: 
"pdfsheet"
type
: 
"text"
25
: 
{type: "text", name: "exterior"}
name
: 
"exterior"
type
: 
"text"
26
: 
{type: "text", name: "cockpit"}
name
: 
"cockpit"
type
: 
"text"
27
: 
{type: "text", name: "cabin"}
name
: 
"cabin"
type
: 
"text"
28
: 
{type: "text", name: "EngineDetail"}
name
: 
"EngineDetail"
type
: 
"text"
29
: 
{type: "text", name: "boattype"}
name
: 
"boattype"
type
: 
"text"
30
: 
{type: "text", name: "detailfulldisplay"}
name
: 
"detailfulldisplay"
type
: 
"text"
31
: 
{type: "number", name: "rsboat_id"}
name
: 
"rsboat_id"
type
: 
"number"
32
: 
{type: "text", name: "version"}
name
: 
"version"
type
: 
"text"
module
: 
"dbconnector"
name
: 
"query"
options
: 
{connection: "DMXFormula",…}
connection
: 
"DMXFormula"
sql
: 
{type: "SELECT", columns: [{table: "dbo.rsBoats", column: "*"}], table: {name: "dbo.rsBoats"},…}
columns
: 
[{table: "dbo.rsBoats", column: "*"}]
0
: 
{table: "dbo.rsBoats", column: "*"}
column
: 
"*"
table
: 
"dbo.rsBoats"
joins
: 
[]
orders
: 
[]
params
: 
[]
primary
: 
"rsboat_id"
query
: 
"SELECT *\nFROM \"dbo.rsBoats\""
table
: 
{name: "dbo.rsBoats"}
name
: 
"dbo.rsBoats"
type
: 
"SELECT"
output
: 
true
outputType
: 
"array"
meta
: 
{$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}
$_GET
: 
[{type: "text", name: "sort"}, {type: "text", name: "dir"}]
0
: 
{type: "text", name: "sort"}
name
: 
"sort"
type
: 
"text"
1
: 
{type: "text", name: "dir"}
name
: 
"dir"
type
: 
"text"
fileName
: 
"lib/app.asp"
lineNumber
: 
86
method
: 
"exec"
3
: 
{fileName: "lib/app.asp", lineNumber: 58, method: "define",…}
args
: 
[{meta: {$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}, exec: {,…}}]
0
: 
{meta: {$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}, exec: {,…}}
exec
: 
{,…}
steps
: 
{name: "query", module: "dbconnector", action: "select", options: {connection: "DMXFormula",…},…}
action
: 
"select"
meta
: 
[{type: "text", name: "Description"}, {type: "text", name: "NewUsed"}, {type: "text", name: "status"},…]
0
: 
{type: "text", name: "Description"}
name
: 
"Description"
type
: 
"text"
1
: 
{type: "text", name: "NewUsed"}
name
: 
"NewUsed"
type
: 
"text"
2
: 
{type: "text", name: "status"}
name
: 
"status"
type
: 
"text"
3
: 
{type: "text", name: "Model"}
name
: 
"Model"
type
: 
"text"
4
: 
{type: "text", name: "Make"}
name
: 
"Make"
type
: 
"text"
5
: 
{type: "text", name: "Year"}
name
: 
"Year"
type
: 
"text"
6
: 
{type: "text", name: "Color"}
name
: 
"Color"
type
: 
"text"
7
: 
{type: "number", name: "Price"}
name
: 
"Price"
type
: 
"number"
8
: 
{type: "text", name: "Engines"}
name
: 
"Engines"
type
: 
"text"
9
: 
{type: "text", name: "Horsepower"}
name
: 
"Horsepower"
type
: 
"text"
10
: 
{type: "text", name: "Hours"}
name
: 
"Hours"
type
: 
"text"
11
: 
{type: "text", name: "LOA"}
name
: 
"LOA"
type
: 
"text"
12
: 
{type: "text", name: "Beam"}
name
: 
"Beam"
type
: 
"text"
13
: 
{type: "text", name: "DryWeight"}
name
: 
"DryWeight"
type
: 
"text"
14
: 
{type: "text", name: "location"}
name
: 
"location"
type
: 
"text"
15
: 
{type: "text", name: "options"}
name
: 
"options"
type
: 
"text"
16
: 
{type: "text", name: "photo"}
name
: 
"photo"
type
: 
"text"
17
: 
{type: "text", name: "featured"}
name
: 
"featured"
type
: 
"text"
18
: 
{type: "text", name: "story"}
name
: 
"story"
type
: 
"text"
19
: 
{type: "text", name: "youtube"}
name
: 
"youtube"
type
: 
"text"
20
: 
{type: "text", name: "metakeywords"}
name
: 
"metakeywords"
type
: 
"text"
21
: 
{type: "text", name: "metadescription"}
name
: 
"metadescription"
type
: 
"text"
22
: 
{type: "text", name: "stocknumber"}
name
: 
"stocknumber"
type
: 
"text"
23
: 
{type: "text", name: "keyfeatures"}
name
: 
"keyfeatures"
type
: 
"text"
24
: 
{type: "text", name: "pdfsheet"}
name
: 
"pdfsheet"
type
: 
"text"
25
: 
{type: "text", name: "exterior"}
name
: 
"exterior"
type
: 
"text"
26
: 
{type: "text", name: "cockpit"}
name
: 
"cockpit"
type
: 
"text"
27
: 
{type: "text", name: "cabin"}
name
: 
"cabin"
type
: 
"text"
28
: 
{type: "text", name: "EngineDetail"}
name
: 
"EngineDetail"
type
: 
"text"
29
: 
{type: "text", name: "boattype"}
name
: 
"boattype"
type
: 
"text"
30
: 
{type: "text", name: "detailfulldisplay"}
name
: 
"detailfulldisplay"
type
: 
"text"
31
: 
{type: "number", name: "rsboat_id"}
name
: 
"rsboat_id"
type
: 
"number"
32
: 
{type: "text", name: "version"}
name
: 
"version"
type
: 
"text"
module
: 
"dbconnector"
name
: 
"query"
options
: 
{connection: "DMXFormula",…}
connection
: 
"DMXFormula"
sql
: 
{type: "SELECT", columns: [{table: "dbo.rsBoats", column: "*"}], table: {name: "dbo.rsBoats"},…}
columns
: 
[{table: "dbo.rsBoats", column: "*"}]
0
: 
{table: "dbo.rsBoats", column: "*"}
column
: 
"*"
table
: 
"dbo.rsBoats"
joins
: 
[]
orders
: 
[]
params
: 
[]
primary
: 
"rsboat_id"
query
: 
"SELECT *\nFROM \"dbo.rsBoats\""
table
: 
{name: "dbo.rsBoats"}
name
: 
"dbo.rsBoats"
type
: 
"SELECT"
output
: 
true
outputType
: 
"array"
meta
: 
{$_GET: [{type: "text", name: "sort"}, {type: "text", name: "dir"}]}
$_GET
: 
[{type: "text", name: "sort"}, {type: "text", name: "dir"}]
0
: 
{type: "text", name: "sort"}
name
: 
"sort"
type
: 
"text"
1
: 
{type: "text", name: "dir"}
name
: 
"dir"
type
: 
"text"
fileName
: 
"lib/app.asp"
lineNumber
: 
58
method
: 
"define"
type
: 
"Error"

could it be because the site isn’t using https:// ?

Trying to figure out what could have happened on their side to break it? They are saying its a script problem, but I didn’t change or update anything. I have updated to all the current files too.

basic test page

http://formulaboatsmo.com/basictest.asp

Were there any server updates?

Not using https should not throw this error.

A syntax error normally means a typo in the code, try to check the parser.asp file line 108 if there perhaps is some strange character added, sometimes with uploading the file gets corrupted.

I’ve deleted the parser.asp file from server and re-uploaded it.

If I just open the file its actually the line 108? It doesn’t look like there is anything wrong there?

This is line 108 it looks ok?

		'|'  : function(a, b)    { return a() | b(); },

That looks fine. Did something change on the server, like updates being installed? It is strange that a working site stopped working without you having updated it.

It is strange. Hosting company says everything looks fine on their side. I do have access to the VM server so I can get in and look at things but can’t seem to find anything wrong. Driving me crazy!

What would be being pushed to the parser.asp? I can I figure out what the actual line that is getting the syntax error?

If you upload with ftp, try setting file transfer to binary. Best is to inspect the file directly on the server.

Do you get errors at multiple endpoints or is this the only one. Seeing the stack trace it seems to happen when doing a select from the database. Does the error perhaps occur only on actions that use database connection. Try to pinpoint which files are affected, it seems that the error probably is not in the parser but maybe related to the database connection.

agreed it is only pages with database calls. But all of the tests for connections work in wappler. I can edit data etc, pull it up from wappler. so seems like it all configured correctly from the wappler side. The hosting set up a test conneciton page on their own and they were able to connec to database.

I’m thinking I should delete all wappler/DMX folders and re upload all the files?

or maybe just a force update on all the wappler files and frameworks?

ok, So I got it working. And sorry for always being a pain in the ass. I’m a one man show and don’t have anyone else to help but you and the forum.

I deleted all DMX folders and reuploaded them all. This seems to have resolved the problem. There was some other funky things going on. So gonna have to dig in a little deeper to see what caused the files to be goofy. But at this point they are fixed!

Thanks again @patrick for all of your help, couldn’t do it without you!

It is still strange that a file got corrupted without you having touched them, but luckily you’ve got is solved.

there was some weird files there too. That I didn’t put there. So I’m guessing maybe there was a compromise of some sort? I will have to dig through all of the security settings to see if there is security issue somewhere.