Error with IE 6 SP1/XP Pro SP1?

This is an archive of old posting to the User Forum

Error with IE 6 SP1/XP Pro SP1?

Postby Nikolaus Gruchot » Fri Nov 15, 2002 10:42 am

Hi,

I have just for the first time placed an order in our online shop (shopsite
6.1) using a XP Professional workstation with SP 1 installed. The order was
placed using IE 6 SP1.

When I do click on the "finalize order" after entering the payment data and
the order is submitted to the shop, an error box appears stating that there
is an "error in line 25" concerning something called
"document.forms.0.Name.value" and there is an selection "do you want to
start the script debugger" Yes or No. If I click on No the order goes
through without any problem.

Anybody out there having the same XP / IE setup and shopsite 6.1 who could
give me a feedback if he can reproduce this error message with his setup?

It does work flawless with IE 5.x.

Regards,

Niko

www.watersafety.net
Nikolaus Gruchot
 

Re: Error with IE 6 SP1/XP Pro SP1?

Postby Nikolaus Gruchot » Fri Nov 15, 2002 11:02 am

Add-on:

The more complete error message is: "document.forms.0.Name.value is zero or
not an object"

Niko

"Nikolaus Gruchot" <gruchot@watersafety.net> schrieb im Newsbeitrag
news:ar3868$58j$1@support.shopsite.com...

When I do click on the "finalize order" after entering the payment data
and
the order is submitted to the shop, an error box appears stating that
there
is an "error in line 25" concerning something called
"document.forms.0.Name.value" and there is an selection "do you want to
start the script debugger" Yes or No. If I click on No the order goes
through without any problem.
Nikolaus Gruchot
 

Re: Error with IE 6 SP1/XP Pro SP1?

Postby Rob M. » Fri Nov 15, 2002 11:03 am

There was a bug in earlier versions of Shopsite (pre 6.1.1) that would cause
this if there is another <form> on the checkout page, such as the one in
your header for searching your site. The "quick" fix is to remove the search
form from your header on the checkout page.

In previous versions of Shopsite, they did not name their checkout form, so
the Javascript would default to try and check the first form on the page,
which will cause the Javascript error you saw.

HTH

Rob

"Nikolaus Gruchot" <gruchot@watersafety.net> wrote in message
news:ar3868$58j$1@support.shopsite.com...
Hi,
When I do click on the "finalize order" after entering the payment data
and
the order is submitted to the shop, an error box appears stating that
there
is an "error in line 25" concerning something called
"document.forms.0.Name.value" and there is an selection "do you want to
start the script debugger" Yes or No. If I click on No the order goes
through without any problem.
Rob M.
 

Re: Error with IE 6 SP1/XP Pro SP1?

Postby jim » Fri Nov 15, 2002 11:09 am

Nikolaus,
The ShopSite html is assuming that the checkout screen is a single form so
"document.forms.0.Name.value" is looking for the checkout screen's first form
(zero base index) and then for the Name field within that form. You have
inserted an additional (search) form on that page above the ShopSite form so
that makes the ShopSite form number 1 not number 0. I believe this is the
cause of the error. I'm not sure what can be done about it but you might try
putting your search field at the bottom of the screen instead of the top.

Jim

Nikolaus Gruchot wrote:

Hi,

I have just for the first time placed an order in our online shop (shopsite
6.1) using a XP Professional workstation with SP 1 installed. The order was
placed using IE 6 SP1.

When I do click on the "finalize order" after entering the payment data and
the order is submitted to the shop, an error box appears stating that there
is an "error in line 25" concerning something called
"document.forms.0.Name.value" and there is an selection "do you want to
start the script debugger" Yes or No. If I click on No the order goes
through without any problem.

Anybody out there having the same XP / IE setup and shopsite 6.1 who could
give me a feedback if he can reproduce this error message with his setup?

It does work flawless with IE 5.x.

Regards,

Niko

www.watersafety.net
jim
 

Re: Error with IE 6 SP1/XP Pro SP1?

Postby loren_d_c » Fri Nov 15, 2002 11:22 am

That change may have been made in the initial 6.1, but as far as I can
tell the version of ShopSite on watersafety.net/danshop.com is not 6.1,
but 6.0.3.

-Loren



"Rob M." wrote:
There was a bug in earlier versions of Shopsite (pre 6.1.1) that would cause
this if there is another <form> on the checkout page, such as the one in
your header for searching your site. The "quick" fix is to remove the search
form from your header on the checkout page.

In previous versions of Shopsite, they did not name their checkout form, so
the Javascript would default to try and check the first form on the page,
which will cause the Javascript error you saw.

HTH

Rob

"Nikolaus Gruchot" <gruchot@watersafety.net> wrote in message
news:ar3868$58j$1@support.shopsite.com...
Hi,
When I do click on the "finalize order" after entering the payment data
and
the order is submitted to the shop, an error box appears stating that
there
is an "error in line 25" concerning something called
"document.forms.0.Name.value" and there is an selection "do you want to
start the script debugger" Yes or No. If I click on No the order goes
through without any problem.
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Error with IE 6 SP1/XP Pro SP1?

Postby Nikolaus Gruchot » Fri Nov 15, 2002 12:03 pm

Thanx everybody,

I have removed the search form in the page header and now it works.

Niko

P.S. Loren, you are right, we are only running 6.0.3. Version 6.1 is
wishfull thinking :-)


"jim" <jim@icentral.com> schrieb im Newsbeitrag
news:3DD52A3A.AFC18E20@icentral.com...
Nikolaus,
The ShopSite html is assuming that the checkout screen is a single form so
"document.forms.0.Name.value" is looking for the checkout screen's first
form
(zero base index) and then for the Name field within that form. You have
inserted an additional (search) form on that page above the ShopSite form
so
that makes the ShopSite form number 1 not number 0. I believe this is the
cause of the error. I'm not sure what can be done about it but you might
try
putting your search field at the bottom of the screen instead of the top.

Jim
Nikolaus Gruchot
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 13 guests