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.
Smarty error (after changing the name of the Homepage away from Home)
Re: Smarty error (after changing the name of the Homepage away from Home)
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.
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.
-
- 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)
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.
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.
Re: Smarty error (after changing the name of the Homepage away from Home)
Mm... What cache do you mean and how would I go about doing it?calguy1000 wrote: Clear the cache
Re: Smarty error (after changing the name of the Homepage away from Home)
In Site Admin » Global Settings click the clear button...