Page 1 of 1

Smarty error (after changing the name of the Homepage away from Home)

Posted: Wed May 28, 2008 1:19 pm
by mannerv
I got a weird error when I started modifying the pages in my installation. When I click on homepage, I get this:
string(192) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'http://wiki.cmsmadesimple.org/">http:// ... imple.org/"' (Smarty_Compiler.class.php, line 1547)" string(192) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'http://forum.cmsmadesimple.org">http://forum.cmsmadesimple.org"' (Smarty_Compiler.class.php, line 1547)" string(208) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'http://www.cmsmadesimple.org/IRC.shtml" ... /IRC.shtml"' (Smarty_Compiler.class.php, line 1547)" string(222) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'http://www.gnu.org/licenses/licenses.ht ... s.html#GPL"' (Smarty_Compiler.class.php, line 1547)"

Before that, there is the breadcrumb trail. Afterwards, the content begins okay.

I get this error if I change the title and the menutext of the homepage to something else than Home.

I have Smarty 1.2.5 on a Linux Debian box. I am using PHP5.

Re: Smarty error (after changing the name of the Homepage away from Home)

Posted: Wed May 28, 2008 2:24 pm
by mannerv
I have done some more testing and they way I reproduce the error is to change

Menu Text under Edit Content from "Home" (default value) to something else, like "Home2".

After doing this, I get the error message at some reloads of the homepage. Sometimes it comes, sometimes not.

Re: Smarty error (after changing the name of the Homepage away from Home)

Posted: Wed May 28, 2008 4:07 pm
by calguy1000
Clear the cache

Re: Smarty error (after changing the name of the Homepage away from Home)

Posted: Wed May 28, 2008 4:56 pm
by mannerv
calguy1000 wrote: Clear the cache
Mm... What cache do you mean and how would I go about doing it?

Re: Smarty error (after changing the name of the Homepage away from Home)

Posted: Thu May 29, 2008 3:20 am
by Dr.CSS
In Site Admin ยป Global Settings click the clear button...