Page 1 of 1

Shopsite 6.3.0 Pro PROBLE: Error loading page.

PostPosted: Fri May 16, 2003 1:07 pm
by Stanley Bridgeford
Hello All,

I've upgraded one of my stores to 6.3.0 and I've now noticed that we now get
a JavaScript error when the shopping cart loads. When I look at the details
I see "Unterminated string constant" on line -. When I view source I see
that a JavaScript has been added to the end of the cart link:

<script language="JavaScript">
<!--

function moveForward() {
Onload=focus();" ///// note the double quotation mark here /////
}
// -->
</script>


That extra quotation mark is NOT terminated and that seems to be causing the
problem. Is anyone else seeing this? I did not add this script so I figure
it must be coming from Shopsite. I checked for patches and did not find
anything listed there.

Thanks for any help.

Re: Shopsite 6.3.0 Pro PROBLE: Error loading page.

PostPosted: Fri May 16, 2003 2:09 pm
by loren_d_c
That is not coming from ShopSite by default, it must be in with some custom HTML
you have entered somewhere in ShopSite, either in one of the text areas in
Commerce Setup -> Order System or in a text field in Preferences -> Store Text.

-Lroen


Stanley Bridgeford wrote:

Hello All,

I've upgraded one of my stores to 6.3.0 and I've now noticed that we now get
a JavaScript error when the shopping cart loads. When I look at the details
I see "Unterminated string constant" on line -. When I view source I see
that a JavaScript has been added to the end of the cart link:

script language="JavaScript"
!--

function moveForward() {
Onload=focus();" ///// note the double quotation mark here /////
}
// --
/script

That extra quotation mark is NOT terminated and that seems to be causing the
problem. Is anyone else seeing this? I did not add this script so I figure
it must be coming from Shopsite. I checked for patches and did not find
anything listed there.

Thanks for any help.