I am running CMSMS 1.54 at www.lasertron.us
We just got the new site up and running and I'm tracking down some unusual problems.
I send search to a different template using {search resultpage="search"} because my home page has some graphics that I don't want on the search results page. It looks ok, but I get a bunch of smarty errors at the top:
string(114) "Smarty error: [in template:17 line 49]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in template:17 line 50]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:17 line 50]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(232) "Smarty error: [in template:17 line 53]: syntax error: unrecognized tag: //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:17 line 53]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
I have seen these errors before (or similar ones) as I was working, but they always went away after the first page build. This one is not going away and my boss noticed it.
Is something wrong? Is something not installed?
Otherwise extremely happy,
Jason Bock
The Laser Tag Guy
www.lasertron.us
[SOLVED] Smarty Error with News Module
[SOLVED] Smarty Error with News Module
Last edited by jebock on Wed Jul 01, 2009 2:29 am, edited 1 time in total.
Re: Smarty Error with News Module
I dont know if you changed your search-template, otherwise, you could press the restore-to-default in Search.
Ronny
Ronny
Re: Smarty Error with News Module
This doesn't have anything to do with the search template itself. This has to do with the template of the page on which results are listed. I have never fiddled with the search templates at all. I did try what you recommended and it didn't change the smarty errors at the top.
J
J
Re: Smarty Error with News Module
Is the result-page, then another template then the normal pages?
Ronny
Ronny
Re: Smarty Error with News Module
No, the result page is my standard template. My home page has a different template and I don't want the search results to show up on the home page's template. The search page is just a standard page on my site with the same template as almost every other page.
J
J
Re: Smarty Error with News Module
Have you tested if you remove this script from your head :
function MM_jumpMenu(targ,selObj,restore)
function MM_jumpMenu(targ,selObj,restore)
Re: Smarty Error with News Module
Looks like that solved it. I had some java script stuff outside of the literal tag. Thank you.
Jason
Jason