A strange problem after importing theme

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mitkoto
New Member
New Member
Posts: 2
Joined: Thu Jan 31, 2013 12:12 pm

A strange problem after importing theme

Post 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.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: A strange problem after importing theme

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: A strange problem after importing theme

Post 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..?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: A strange problem after importing theme

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Locked

Return to “[locked] Installation, Setup and Upgrade”