Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

syntax error


magicspon

Recommended Posts

Posted

Hi,

 

When i load my site in IE it states that there is a syntax error on line 9 and line 20.. can anyone spot the error in the code, because i've tried deleting and editting certain parts but to no avail.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
<head>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Coco</title>
<head>
<!--$headcontent-->
<script language="javascript"><!--
function popupWindow(url) {window.open(url,'popupWindow',& 39;'toolbar=no,location=no,directories=no status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height
=100,screenX=150,screenY=150,top=150,left=150')
//--></script>

<body>
<table width="911" border="0" cellpadding="0" cellspacing="0">
 <!--DWLayoutDefaultTable-->
 <tr>
<td width="75" rowspan="3" valign="top"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','75','height','550','src','/chocolatedrip','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/chocolatedrip' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="75" height="550">
 <param name="movie" value="/chocolatedrip.swf" />
 <param name="quality" value="high" />
 <embed src="/chocolatedrip.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="75" height="550"></embed>
</object></noscript>
<script type="text/javascript" src="ieupdate.js"></script>
 </td>
 <td height="32" colspan="9" valign="top"><table width="94%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
  <td width="738" height="25"><img src="../../../../Lines.jpg" width="735" height="32" /></td>
	</tr>
 </table></td>
 <td width="100" rowspan="2" valign="top"><img src="../../../../Coco.jpg" alt="Coco" width="100" height="52" /></td>
 <td width="1"></td>
 </tr>
 <tr>
<td width="111" height="21" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="56" valign="top"><a href="index.php"></a> <a href="index.html"><img src="../../../../home.jpg" alt="Home" width="42" height="21" border="0" /></a></td>
<td width="62" valign="top"><a href="index.php?cPath=21"><img src="../../../../sweets.jpg" alt="Sweets" width="51" height="21" border="0" /></a></td>
<td width="81" valign="top"><a href="index.php?cPath=23"><img src="../../../../sugarfree.jpg" alt="Sugar Free" width="72" height="21" border="0" /></a></td>
<td width="78" valign="top"><a href="index.php?cPath=22"><img src="../../../../chocolate.jpg" alt="Chocolate" width="69" height="21" border="0" /></a></td>
<td width="86" valign="top"><a href="index.php?cPath=24"><img src="../../../../handmade.jpg" alt="Handmade" width="80" height="21" border="0" /></a></td>
<td width="90" valign="top"><a href="account.php"><img src="../../../../account.jpg" alt="My Account" width="82" height="21" border="0" /></a></td>
<td width="103" valign="top"><a href="shopping_cart.php"><img src="../../../../shoppingcart.jpg" alt="Shopping Cart" width="96" height="21" border="0" /></a></td>
<td width="68" valign="top"><a href="checkout_shipping.php"><img src="../../../../checkout.jpg" alt="Checkout" width="68" height="21" border="0" /></a></td>
<td></td>
 </tr>
 <tr>
<td colspan="10" rowspan="2" valign="top">$content</td>
<td height="516"></td>
 </tr>
 <tr>
<td height="1"></td>
<td></td>
 </tr>
</table>
</body>
</html>

 

Any ideas?

it works fine in slimbrowser and firefox

 

Thanks

Posted

Line 9 (<head>) should be </head>

 

Maybe start there and see where that gets you.

Posted
Line 9 (<head>) should be </head>

 

Maybe start there and see where that gets you.

 

Hi,

 

Changed it to </head> still says that there is a syntax error on line 9 and 20... argh!!! Really don't like IE, the annoying thing is i imagine it is the most widely used browser. grrr <_<

 

thanks

dave

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...