Jump to content

smarty error


semaj

Recommended Posts

am reciveing this problem

 

"Fatal error: Smarty error: [in new/header.tpl line 16]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1268) in /home/yourhost/public_html/client/libs/Smarty.class.php on line 1095"

 

my site: http://www.complete-hosting.co.uk

 

i also linked a copy of my header.tpl so if anyony can see my issue

Link to comment
Share on other sites

You need to take all of your javascript and put it in a scripts.js and include it like you do CSS.

 

Smarty doesn't handle JavaScript well.

 

There may be a way to include it in the template in Smarty with a Smarty tag, but separating the JavaScript is a good idea either way.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated