Error on Webpage Object Expected

E

Erickson.Jim

I created an ecommerce site using Yahoo's Site Creator. Everyithing
seems to be working fine except for when I view the site with IE 6 I
get the following error.

Line: 220
Char: 1
Error: Object Expected
Code: 0

I have tried to identify the error but can't seem to find it. I have
posted the HTML below. If anyone could help I would appreciate it.

<!--$sitebuilder version="2.2.2"
md5="e9f503db1ad0ee20edcc5739f237602d"$-->
<!--$templateKey Science|Atomic - Gray|2.0$-->
<html>
<head>
<title>Magpi Designs</title>
<meta name="generator" content="Yahoo! SiteBuilder/2.2.2/1.5.0_04">
<meta name="keywords" content="magpi,designs,craft,gem,interior
design">
<!--$page size 898, 3000$-->
<!--$fontFamily Arial$-->
<!--$fontSize 12$-->
<style type="text/css"><!--
BODY {font-family:"Arial"; font-size:12;}
P {font-family:"Arial"; font-size:12;}
--></style>
</head>
<script>
ns4 = document.layers && true;
msie = document.all && true;
function init() {
}
</script>
<body bgcolor="#FFFFFF"
background="clipart/backgrounds/fullpage/greyRayOfLight.gif"
text="#000000" link="#0000FF" vlink="#800080" onLoad="init()"
onResize="if (ns4) history.go(0);" marginheight="0" marginwidth="1"
topmargin="0" leftmargin="1" hspace="1" vspace="0">
<table border="0" cellspacing="0" cellpadding="0" width="801"
height="805">
<col width="5">
<col width="73">
<col width="4">
<col width="2">
<col width="12">
<col width="100">
<col width="13">
<col width="4">
<col width="14">
<col width="1">
<col width="82">
<col width="135">
<col width="30">
<col width="100">
<col width="19">
<col width="1">
<col width="10">
<col width="5">
<col width="6">
<col width="129">
<col width="30">
<col width="11">
<col width="2">
<col width="13">
<col width="1">
<tr>
<td width="802" height="31" colspan="25"></td>
</tr>
<tr>
<td width="5" height="110"></td>
<td height="110" colspan="19" valign="top"><!--$img
%RemappedImageAsset:/sitebuilder/clipart/bars/regular/horizontal/atomicDetail_blueGray.gif$--><img
src="clipart/pageHeaders/atomicDetail_blueGray.gif" width="740"
height="110"></td>
<td width="57" height="110" colspan="5"></td>
</tr>
<tr>
<td width="802" height="11" colspan="25"></td>
</tr>
<tr>
<td width="82" height="20" colspan="3"></td>
<td height="20" colspan="22" valign="top"><!--$navbar
name=navbar.nav
assetID=%NavbarAsset:/navigation_bars/navbar.nav
$--><!--$begin exclude$--><table border="0" cellspacing="0"
cellpadding="0"><tr><td><a href="index.html"
onMouseOver="document.images['i0'].src='sitebuilder/images/navbar-0-mouseOver-10051.png'"
onMouseOut="document.images['i0'].src='sitebuilder/images/navbar-0-active-10021.png'"><img
name="i0" src="sitebuilder/images/navbar-0-active-10021.png"
width="140" height="20" border="0" alt=""/></a></td><td width="5"
height="0"> <img src="" width="5" height="1"></td><td><a
href="aboutus.html"
onMouseOver="document.images['i1'].src='sitebuilder/images/navbar-1-mouseOver-10152.png'"
onMouseOut="document.images['i1'].src='sitebuilder/images/navbar-1-inactive-10092.png'"><img
name="i1" src="sitebuilder/images/navbar-1-inactive-10092.png"
border="0" width="140" height="20" alt=""/></a></td><td width="5"
height="0"> <img src="" width="5" height="1"></td><td><a
href="contactus.html"
onMouseOver="document.images['i2'].src='sitebuilder/images/navbar-2-mouseOver-10262.png'"
onMouseOut="document.images['i2'].src='sitebuilder/images/navbar-2-inactive-10182.png'"><img
name="i2" src="sitebuilder/images/navbar-2-inactive-10182.png"
border="0" width="140" height="20" alt=""/></a></td><td width="5"
height="0"> <img src="" width="5" height="1"></td><td><a
href="PrivacyPolicy.html"
onMouseOver="document.images['i3'].src='sitebuilder/images/navbar-3-mouseOver-10352.png'"
onMouseOut="document.images['i3'].src='sitebuilder/images/navbar-3-inactive-10292.png'"><img
name="i3" src="sitebuilder/images/navbar-3-inactive-10292.png"
border="0" width="140" height="20" alt=""/></a></td><td width="5"
height="0"> <img src="" width="5" height="1"></td><td><a
href="products.html"
onMouseOver="document.images['i4'].src='sitebuilder/images/navbar-4-mouseOver-10462.png'"
onMouseOut="document.images['i4'].src='sitebuilder/images/navbar-4-inactive-10392.png'"><img
name="i4" src="sitebuilder/images/navbar-4-inactive-10392.png"
border="0" width="140" height="20"
alt=""/></a></td><tr></table><!--$end exclude$--></td>
</tr>
<tr>
<td width="802" height="40" colspan="25"></td>
</tr>
<tr>
<td width="227" height="19" colspan="9"></td>
<td nowrap height="155" colspan="6" rowspan="6"
align="center"><span class="text"><b><font color="#336666"
size="2"><span style="font-size:14px;line-height:17px;">Welcome to
Magpi Designs<br><br>Please explore our website and see all the
exciting <br soft>products we have to offer.<br
soft></span></font></b></span></td>
<td width="208" height="19" colspan="10"></td>
</tr>
<tr>
<td width="227" height="18" colspan="9"></td>
<td width="22" height="18" colspan="4"></td>
<td height="111" colspan="2" rowspan="3" valign="top"><a
href="products.html"><!--$img
%ImageAssetImpl:/images/12-8-2004_3_-60sized.jpg$--><img
src="sitebuilder/images/12-8-2004_3_-60sized-159x111.jpg" width="159"
height="111" border="0" alt=""></a></td>
<td width="27" height="18" colspan="4"></td>
</tr>
<tr>
<td width="84" height="85" colspan="4"></td>
<td height="85" colspan="3" valign="top"><a
href="products.html"><!--$img
%ImageAssetImpl:/images/9-19-2005-01sized.jpg$--><img
src="sitebuilder/images/9-19-2005-01sized-125x85.jpg" width="125"
height="85" border="0" alt=""></a></td>
<td width="18" height="85" colspan="2"></td>
<td width="22" height="85" colspan="4"></td>
<td width="27" height="85" colspan="4"></td>
</tr>
<tr>
<td width="227" height="8" colspan="9"></td>
<td width="22" height="8" colspan="4"></td>
<td width="27" height="8" colspan="4"></td>
</tr>
<tr>
<td width="227" height="9" colspan="9"></td>
<td width="208" height="9" colspan="10"></td>
</tr>
<tr>
<td width="227" height="16" colspan="9"></td>
<td width="11" height="16" colspan="2"></td>
<td height="240" colspan="6" rowspan="7" valign="top"><a
href="products.html"><!--$img
%ImageAssetImpl:/images/12-8-2004_3_-54sizedf.jpg$--><img
src="sitebuilder/images/12-8-2004_3_-54sizedf-183x240.jpg" width="183"
height="240" border="0" alt=""></a></td>
<td width="14" height="16" colspan="2"></td>
</tr>
<tr>
<td width="605" height="62" colspan="17"></td>
<td width="14" height="62" colspan="2"></td>
</tr>
<tr>
<td width="228" height="12" colspan="10"></td>
<td nowrap height="91" colspan="6" rowspan="3"
align="center"><span class="text"><b><font color="#336666"><span
style="font-size:12px;line-height:15px;">Check back often as we are
offering new products all the time<br
soft></span></font></b></span></td>
<td width="10" height="12"></td>
<td width="14" height="12" colspan="2"></td>
</tr>
<tr>
<td width="96" height="66" colspan="5"></td>
<td height="66" valign="top"><a href="products.html"><!--$img
%ImageAssetImpl:/images/8Asized.jpg$--><img
src="sitebuilder/images/8Asized-100x66.jpg" width="100" height="66"
border="0" alt=""></a></td>
<td width="32" height="66" colspan="4"></td>
<td width="10" height="66"></td>
<td width="14" height="66" colspan="2"></td>
</tr>
<tr>
<td width="228" height="13" colspan="10"></td>
<td width="10" height="13"></td>
<td width="14" height="13" colspan="2"></td>
</tr>
<tr>
<td width="605" height="69" colspan="17"></td>
<td width="14" height="69" colspan="2"></td>
</tr>
<tr>
<td width="227" height="2" colspan="9"></td>
<td nowrap height="79" colspan="6" rowspan="4" align="center"
valign="top"><span class="text"><b><font color="#336666" size="4"><span
style="font-size:18px;line-height:22px;">color="#336666"><span style="font-size:12px;line-height:15px;">Website
launched Sep 29, 2005<br soft></span></font></b></span></td>
<td width="11" height="2" colspan="2"></td>
<td width="14" height="2" colspan="2"></td>
</tr>
<tr>
<td width="227" height="20" colspan="9"></td>
<td width="208" height="20" colspan="10"></td>
</tr>
<tr>
<td width="78" height="11" colspan="2"></td>
<td height="77" colspan="6" rowspan="3" valign="top"><a
href="products.html"><!--$img
%ImageAssetImpl:/images/8Fsized.jpg$--><img
src="sitebuilder/images/8Fsized-135x77.jpg" width="135" height="77"
border="0" alt=""></a></td>
<td width="14" height="11"></td>
<td width="208" height="11" colspan="10"></td>
</tr>
<tr>
<td width="78" height="46" colspan="2"></td>
<td width="14" height="46"></td>
<td width="16" height="46" colspan="3"></td>
<td height="125" colspan="4" rowspan="4" valign="top"><a
href="products.html"><!--$img
%ImageAssetImpl:/images/9-19-2005-08sized.jpg$--><img
src="sitebuilder/images/9-19-2005-08sized-176x125.jpg" width="176"
height="125" border="0" alt=""></a></td>
<td width="16" height="46" colspan="3"></td>
</tr>
<tr>
<td width="78" height="20" colspan="2"></td>
<td width="397" height="20" colspan="10"></td>
<td width="16" height="20" colspan="3"></td>
</tr>
<tr>
<td width="610" height="17" colspan="18"></td>
<td width="16" height="17" colspan="3"></td>
</tr>
<tr>
<td width="475" height="42" colspan="13"></td>
<td height="100" rowspan="3" valign="top"><!--$begin html$-->
<LINK REL="SHORTCUT ICON"
href="http://www.yoursite.com/favicon.ico"><!--$end html$--></td>
<td width="35" height="42" colspan="4"></td>
<td width="16" height="42" colspan="3"></td>
</tr>
<tr>
<td width="310" height="51" colspan="11"></td>
<td height="51" valign="top"><!--$addOn
addOn=resource\:/resources/addons/personalSiteSearch/personalSiteSearch.addon
addOn.class=com.yahoo.sitebuilder.elements.PersonalSiteSearchElement
element.icon=resource\:/resources/addons/personalSiteSearch/icon.gif
publish.local=false
resultPage=
$--><!--$begin exclude$--><form method="get" action="/.search">

<input type="hidden" name="results_page" value="">
<input type="text" name="p" value="" size="18">
<input type="submit" name="name" value="Search">
</form><!--$end exclude$--></td>
<td width="30" height="51"></td>
<td width="227" height="51" colspan="11"></td>
</tr>
<tr>
<td width="475" height="7" colspan="13"></td>
<td width="227" height="7" colspan="11"></td>
</tr>
<tr> <!-- workaround for IE table layout bug -->
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br><br>

<div id="e0"
style="position:absolute;left:219;top:71;width:378;height:63;"><!--$img
%ImageAssetImpl:/images/stoneutopia1.png$--><img
src="sitebuilder/images/stoneutopia1-378x63.png" width="378"
height="63"></div>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --><!--
Counter/Statistics data collection code --><script
language="JavaScript"
src="http://hostingprod.com/js_source/geov2.js"></script><script
language="javascript">geovisit();</script><noscript><img
src="http://visit.webhosting.yahoo.com/visit.gif?us1128452696"
alt="setstats" border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001524&t=1128452696" ALT=1
WIDTH=1 HEIGHT=1>
 
R

Robert Aldwinckle

I created an ecommerce site using Yahoo's Site Creator. Everyithing
seems to be working fine except for when I view the site with IE 6 I
get the following error.

Line: 220
Char: 1
Error: Object Expected
Code: 0

I have tried to identify the error but can't seem to find it. I have
posted the HTML below. If anyone could help I would appreciate it.


Have you tried using a script debugger? <eg>

Alternatively use View Source and then in the Notepad window
turn off Word Wrap (Alt-o,W), turn on Status bar (Alt-V,S)
and then goto line 220 (Ctrl-g,220,Enter)

My guess is that the code in here,

http://hostingprod.com/js_source/geov2.js

specifically the geovisit() function will be where the error is.
Source for that function shows that it is doing
a not particularly robust browser version check.

Problems caused by such a lack of robustness could be
exacerbated if you have an unusual userAgent string.
(e.g. "open" javascript:navigator.userAgent in an IE Address bar
to capture that.)


Good luck

Robert Aldwinckle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top