Page 1 of 1

A strange problem after importing theme

Posted: Thu Jan 31, 2013 12:21 pm
by mitkoto
Hi all,
I`m using CMSmadesimple for a first time.
I installed the cms successful, but after trying to import a theme (theme) a stragne massage apears when i open my domain.
or: at line 702 in file /var/www/html/site/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax Error in template "tpl_head:24" on line 5 "{stylesheet}" unknown tag "stylesheet"
I`m using the latest version of the cms (downloaded from the site)
The theme is theme.xml also downloaded from the site.

Does anybody know how to solve this issue?

Many thanks in advance.

Re: A strange problem after importing theme

Posted: Thu Jan 31, 2013 5:44 pm
by Jo Morg
There is a HUGE WARNING on the main page of the themes site :D
Warning Notice:


If you have a fresh install of 1.10, not an upgrade, some of these themes will give a smarty error related to {stylesheet}, this plugin has been removed, 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)
HTH.

Re: A strange problem after importing theme

Posted: Fri Feb 01, 2013 7:02 pm
by Dr.CSS
I changed the pop up to tell them to read that warning on the side of the site, do I have to include the whole thing in the pop up..?

Re: A strange problem after importing theme

Posted: Sat Feb 02, 2013 9:35 pm
by Jo Morg
HBO wrote:I'm a first time user with a fresh install of 1.11.4 and am getting the same error after applying the fixes in the popup. What am I doing wrong?
If you're having the same error, it must mean that you may have missed a {stylesheet} tag somewhere... remember that templates are stored in the database. Double check what templates are active, which templates are being used on what pages and if you may have missed a {stylesheet} tag in any template.
Syntax Error in template "tpl_head:24" on line 5 "{stylesheet}" unknown tag "stylesheet"
this error can only mean that the parser is finding a stray {stylesheet} tag somehere.