View Single Post
  #1  
Old 01-11-2010, 05:39 PM
 
misterjoeg misterjoeg is offline
 

Newbie
  
Join Date: Jan 2010
Posts: 4
 

Default Smarty Error: Syntax ?

I'm hoping someone might be able to point me in the right direction:

I have a JS menu that I'm including via external calls and 2 inline functions in /customer/home.tpl (snippet below). What I'm seeing is this smarty error:

"Error: Smarty error: [in customer/home.tpl line 24]: syntax error: unrecognized tag 'x' (Smarty_Compiler.class.php, line 590) in /var/www/vhosts/********path-to-install/httpdocs/dsbg/include/lib/smarty/Smarty.class.php on line 1093"

The menu appears and operates correctly on the first page load but the error is displayed. Upon a refresh, the error goes away and the menu stops behaving in a normal manner.

Wondering if anyone might be able to point me in the right direction.

Code:
<div id="page-container"> <script language="JavaScript" src="skin1/browserInfo.js" type='text/javascript'></script> <script type='text/javascript'> <literal> function Show() {x = event.clientX + document.body.scrollLeft; y = event.clientY + document.body.scrollTop + 35; Popup.style.display="block"; Popup.style.left = x; Popup.style.top = y; } function Hide() {Popup.style.display="none"; } </literal> </script> <script type="text/javascript" src="skin1/dsbgmenu_var.js"></script> <script type="text/javascript" src="skin1/menu_com.js"></script> <noscript>Your browser does not support script</noscript>
__________________
X-Cart DB Version: 4.3.0 GOLD
Gift Registry
Reply With Quote