Page 1 of 1

Smarty error - SOLVED

Posted: Mon Mar 05, 2007 4:53 pm
by poffafett
Hi!
I am using CMSMS 1.04 and have recently put it up on a server in sweden. At first everything worked, but after a while (maybe after installing the Album modul) a damn smarty error was on the my site. Heres the error:

string(137) "Smarty error: [in template:17 line 149]: syntax error: expecting '=' after attribute name 'params' (Smarty_Compiler.class.php, line 1577)" 

Whats wrong? I dont understand.
the site is: http://www.storstark.nu/
Its in swedish, but if go go to Galleri and Fotoalbum ju can se the problem, its a problem under Övriga nyheter too.

Hope you can help me!
Beside this I love CMSMS!

Re: Smarty error

Posted: Mon Mar 05, 2007 5:17 pm
by cyberman
poffafett wrote: string(137) "Smarty error: [in template:17 line 149]: syntax error: expecting '=' after attribute name 'params' (Smarty_Compiler.class.php, line 1577)" 
Can you post template 17 line 149 here?

Re: Smarty error

Posted: Mon Mar 05, 2007 7:39 pm
by poffafett
Here is the line, its copied from modul information

{cms_module module="statistics" params}

Re: Smarty error

Posted: Mon Mar 05, 2007 8:24 pm
by cyberman
Error message said there must be something wrong with syntax. You have to replace word params with real statistics params.

Re: Smarty error

Posted: Mon Mar 05, 2007 8:30 pm
by poffafett
Okej! Now I understand!
Now it works! Thanks for the help!
You are the best!