Page 1 of 1

[SOLVED] ERROR: at line 702 in file

Posted: Sun Sep 01, 2013 10:05 pm
by vipernet
Im getting this error, not sure how to correct it. any help would be awesome.

Code: Select all

ERROR: at line 702 in file /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax Error in template "tpl_head:60" on line 5 "{stylesheet}" unknown tag "stylesheet"

Code: Select all

#0 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(488): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "st...', 5)
#1 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templateparser.php(2393): Smarty_Internal_TemplateCompilerBase->compileTag('stylesheet', Array)
#2 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r37()
#3 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(37)
#4 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '??<title>')
#5 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('<head>??<meta n...')
#6 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#7 /home/content/10/11717410/html/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#8 /home/content/10/11717410/html/lib/classes/class.Smarty_CMS.php(323): Smarty_Internal_TemplateBase->fetch('tpl_head:60', 'p15', NULL, NULL, false, false, false)
#9 /home/content/10/11717410/html/index.php(241): Smarty_CMS->fetch('tpl_head:60')
#10 {main}

Re: ERROR: at line 702 in file

Posted: Mon Sep 02, 2013 6:12 am
by staartmees
http://themes.cmsmadesimple.org/

some themes will give a smarty error related to {stylesheet}, this plugin has been removed from CMSMS distributions. use {cms_stylesheet} instead.

a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
e) Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg)

Re: ERROR: at line 702 in file

Posted: Mon Sep 02, 2013 6:52 am
by Rolf

Re: ERROR: at line 702 in file

Posted: Tue Sep 03, 2013 6:43 pm
by vipernet
Thank you guys.!

Re: ERROR: at line 702 in file

Posted: Tue Sep 03, 2013 7:01 pm
by staartmees
Please add solved to the title.