Page 1 of 1

[Solved]Problem installing themes, no formatting & "Smarty e

Posted: Sat Oct 22, 2011 1:57 pm
by pingu
I'm currently looking for a good, not-too-difficult-to-use CMS for my websites, and so far CMS Made Simple seems to be what I'm looking for.
Now that I'm trying it out I get errors with every downloaded template I try to use (d/l from http://themes.cmsmadesimple.org/)
The content of the page is displayed but lacks exactly all formatting.
The error shown reads like this:

Code: Select all

string(108) "Smarty error: [in tpl_head:29 line 5]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 198)" string(120) "Smarty error: [in tpl_head:29 line 5]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)"
The only thing remarked upon during installation was the installed php-version which is 5.2.4-2ubuntu5.12 - higher than required but lower than recommended.
Can this really be the cause? Hope not, I can't easily upgrade php right now.

Server is a hosted Dell rackserver (real iron) running:
Ubuntu 8.04.2,
Apache 2.2.8-1ubuntu0.18 and as mentioned
Php 5.2.4-2ubuntu5.12
Me I'm not very familiar with programming / web development, can handle basic html & css - my skills lies primarily in networking and Linux system administration.

TIA
Peter

Re: Problem installing themes, no formatting & "Smarty error

Posted: Sat Oct 22, 2011 2:04 pm
by calguy1000
You did not mention if you were using CMSMS 1.10 (released just a few hours ago)... but I will assume you are.

Some of the themes on the themes site may not be compatible with CMSMS 1.10, however they should be easily fixable.

In Layout >> Templates in your admin console, click on the appropriate template. Then search for {stylesheet} in the template, and replace that with {cms_stylesheet}.

You will have this problem because the {stylesheet} tag was deprecated for some time, and has been removed in the latest version of CMSMS. Also themes that use {startExpandCollapse} and {endExpandCollapse} will not work with new installations of CMSMS 1.10.

Re: Problem installing themes, no formatting & "Smarty error

Posted: Sat Oct 22, 2011 2:06 pm
by calguy1000
Followup: If the steps I described previously work, I would suggest contacting the author of the theme so that he can make the appropriate changes and re-upload.

Re: Problem installing themes, no formatting & "Smarty error

Posted: Sun Oct 23, 2011 9:55 am
by pingu
Thanks, that did it!
.. sorry forgot to mention in first post which version I used.

(And just out of curiosity: on the "Download themes" page there is now a "Warning Notice" - did you just add that or am I really a lousy reader?)

Re: [Solved]Problem installing themes, no formatting & "Smar

Posted: Sun Oct 23, 2011 5:06 pm
by Dr.CSS
We just added that...