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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mannerv
Forum Members
Forum Members
Posts: 49
Joined: Wed May 28, 2008 1:02 pm

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

Post 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.
mannerv
Forum Members
Forum Members
Posts: 49
Joined: Wed May 28, 2008 1:02 pm

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

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

Clear the cache
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mannerv
Forum Members
Forum Members
Posts: 49
Joined: Wed May 28, 2008 1:02 pm

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

Post by mannerv »

calguy1000 wrote: Clear the cache
Mm... What cache do you mean and how would I go about doing it?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

In Site Admin » Global Settings click the clear button...
Post Reply

Return to “CMSMS Core”