Why does my site crash?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

NotSober

Established Member
Impact
4
Hi

When I place sedo tracker code into my site html,it crashes my site!? why and how do I fix it??

This is what I see when I put in the tracker code and then visit my site..

Fatal error: Smarty error: [in index.tpl.php line 341]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 580) in /home2/justuplo/public_html/libs/smarty/Smarty.class.php on line 1095

Does somebody know how I can get around this

Cheers

Matt
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
It's conflicting with your template engine, Smarty. What does the tracking code look like?
 
0
Close
Mholt thanks for the reply dude. Itlooks like java script? I'm not fussed anymore as I'm not going to use the tracker anymore.

Rep added.
Cheers

Matt
 
0
Close
Smarty is pretty buggy, you should look into a custom templating engine that is more light weight, there are tutorials all over the place :)
 
0
Close
Sounds like you need to surround the javascript with {literal} and {/literal}. Otherwise it will think the brackets from the script are the beginning of Smarty tags.
 
0
Close
Thanks for the tips rep added.

Cheers


Matt
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Spatial Sidebar: More consistent display
We fixed some bugs in the Spatial Sidebar. It now displays more consistently across browsers and should perform better. If you use it...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back