[ic] Checkout page error with 'selectedIndex' & 'elements'
N.E.S.T. Solutions
nest_consulting at yahoo.ca
Wed Aug 3 11:12:10 EDT 2005
>>n Aug 1, 2005, at 11:29 AM, N.E.S.T. Solutions wrote:
>>
>> 2 - The payment options box shows my desired options, but will not
>> refresh the 'visible' part when selecting a different option.
>> 'visible' part will show when I press the top "recalculate" button.
>>
>> 3 - The "recalculate" button from the cart display up top works,
>> but the checkout and recalculate buttons from the bottom of the
>> page dont. I get error :
>>
>> "'selectedIndex' is null or not an object" OR "'elements' is null
>> or not an object" from the process file.
>
>This is a long shot, but in your ord/checkout.html, try replacing the
>include for the browser_payment to:
>[include include/checkout/old_browser_payment]
>
>I have had troubles before when it uses the new_browser_payment. It
>might not be your browser -- it could be that something is screwed up
>in that it won't work in any browser. Some of those classes may be
>assigned dynamically, so be careful when you change things.
>
>> I wonder...My HDD had crashed, and I got all my files from a backup.
I
>> re-installed IC on a new fresh drive & OS and when I put my data in
my
>> catroot, I ended up with a few files that are named like
>> .~.filename.extension, and they're only in the /etc, /config and
>> /pages dirs. None like that in /include/checkout and /pages/ord
>>
>> Are those backups made by IC in some situations? Should I remove
them?
>
>I have those files too, some with two and three tildes, but only in
>my catalogs that use CVS. They all have the same dates. I don't know
>what they are for, but they aren't affecting anything here.
>
>--
>Josh Lavin
>Kingdom Design http://www.kingdomdesign.com/
Hi all, and thanks Josh for your suggestions, much appreciated.
I have narrowed it down a lot, but I'm still stuck.
Tried the old/new_browser trick Josh suggested, didn't work for me,
but then I decided to make a catalog from scratch and go step by
step import and file import untill it craps out.
Turns out that my problem is in my NOLEFT_TOP template. Perhaps
the problem is caused by onmouseover/onmouseout?? The table for
the top menu bar is also in the other top templates and it works
everywhere else fine. There just might be a typo or language conflict?
Any idea why my NOLEFT_TOP could interfere with the checkout.html and
includes, causing the above #2 & #3 problems?
Below is my NOLEFT_TOP template file
Thank you all in advance, I'm really looking forward to resolving this
issue.
Martin H.
--------------
<!-- BEGIN NOLEFT_TOP -->
[if scratch members_only]
[set members_only][/set]
[if !session logged_in]
[seti mv_successpage][var MV_PAGE 1][/seti]
[bounce page=login]
[/if]
[/if]
<html>
<head>
<title>[scratch page_title]</title>
__THEME_CSS__
</head>
<body marginheight="0" marginwidth="0" bgcolor="__BACKGROUND__">
<center>
<!--- top left and right logo --->
<center>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="maincontent" align="left" width="300" height="42"
background="__THEME_LOGO__" border="0">
</td>
<td> </td>
<td align="right" width="400" height="42"
background="__IMAGE_DIR__/__THEME__/fade1l.gif" border="0">
</td>
</tr>
</table>
<!--- menu bar along the top --->
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" colspan="18"
background="__IMAGE_DIR__/__THEME__/line740.gif" border="0">
</td>
</tr>
<tr>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
<td class="menubar" height="18" width="80">
<a href="[area index]"
onmouseover="document.home.src='__IMAGE_DIR__/__THEME__/homeov.gif'"
onmouseout="document.home.src='__IMAGE_DIR__/__THEME__/home.gif'">
<img name="home" border="0"
src="__IMAGE_DIR__/__THEME__/home.gif">
</a>
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
[if session logged_in]
<td class="menubar" height="18" width="80">
<a href="[area login]"
onmouseover="document.logout.src='__IMAGE_DIR__/__THEME__/logoutov.gif'"
onmouseout="document.logout.src='__IMAGE_DIR__/__THEME__/logout.gif'">
<img alt="[L]Log Out[/L]" name="logout" border="0"
src="__IMAGE_DIR__/__THEME__/logout.gif">
</a>
</td>
[else]
<td class="menubar" height="18" width="80">
<a href="[area login]"
onmouseover="document.login.src='__IMAGE_DIR__/__THEME__/loginov.gif'"
onmouseout="document.login.src='__IMAGE_DIR__/__THEME__/login.gif'">
<img alt="[L]Log In[/L]" name="login" border="0"
src="__IMAGE_DIR__/__THEME__/login.gif">
</a>
</td>
[/else]
[/if]
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
<td class="menubar" height="18" width="108">
<a href="[area ord/basket]"
onmouseover="document.cart.src='__IMAGE_DIR__/__THEME__/cartov.gif'"
onmouseout="document.cart.src='__IMAGE_DIR__/__THEME__/cart.gif'">
<img alt="[L]Your Cart[/L]" name="cart" border="0"
src="__IMAGE_DIR__/__THEME__/cart.gif">
</a>
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
<td class="menubar" height="18" width="134">
<a href="[area ord/checkout]"
onmouseover="document.checkout.src='__IMAGE_DIR__/__THEME__/checkoutov.g
if'"
onmouseout="document.checkout.src='__IMAGE_DIR__/__THEME__/checkout.gif'
">
<img alt="[L]Check Out[/L]" name="checkout" border="0"
src="__IMAGE_DIR__/__THEME__/checkout.gif">
</a>
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
<td class="menubar" height="18" width="109">
<a href="[area customerservice]"
onmouseover="document.service.src='__IMAGE_DIR__/__THEME__/serviceov.gif
'"
onmouseout="document.service.src='__IMAGE_DIR__/__THEME__/service.gif'">
<img alt="[L]Customer Service[/L]" name="service" border="0"
src="__IMAGE_DIR__/__THEME__/service.gif">
</a>
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketr2.gif">
</td>
<td class="menubar" height="18" width="100">
<a href="[area aboutus]"
onmouseover="document.about.src='__IMAGE_DIR__/__THEME__/aboutov.gif'"
onmouseout="document.about.src='__IMAGE_DIR__/__THEME__/about.gif'">
<img alt="[L]About Us[/L]" name="about" border="0"
src="__IMAGE_DIR__/__THEME__/about.gif">
</a>
</td>
<td class="menubar" height="18" width="16">
<img src="__IMAGE_DIR__/__THEME__/bracketl2.gif">
</td>
</tr>
<tr>
<td align="center" colspan="18"
background="__IMAGE_DIR__/__THEME__/line740.gif" border="0">
</td>
</tr>
</table>
<!--- left category column, main content column, and right special
column --->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="95%" valign="top" align="center"
class="maincontent">
[component group=content]
_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
More information about the interchange-users
mailing list