Page 1 of 1

Comments module not working

Posted: Mon Dec 04, 2006 7:54 am
by nakuttaja
Hello!

I'm pretty newbie on using cms ms. I tried to install the comments module in to a fresh installation of cmsms. Comments seems to install properly but when I add the requested line anywhere of my page nothing shows. I tried to install comments from the module manager and from cmsms forge page. No difference.

Do anybody have ideas what is wrong?

I'm using:
CMS Made Simple v 1.02
Comments v 1.7 & 1.7.1 (tried both versions)

Server information:
Currently Running: Apache
Mysql v5.0.26-Debian_3-log
PHP v5.2.0

Thanks, Nakuttaja

Re: Comments module not working

Posted: Tue Dec 05, 2006 4:57 am
by nakuttaja
Anyone?

Re: Comments module not working

Posted: Tue Dec 05, 2006 7:57 am
by 3dcandy
Have you entered the tag for the comments in your stylesheet for the nesw for example, and then attached the stylesheet to your pages?

Re: Comments module not working

Posted: Tue Dec 05, 2006 9:02 pm
by nakuttaja
3dcandy wrote: Have you entered the tag for the comments in your stylesheet for the nesw for example, and then attached the stylesheet to your pages?
I tried that. I even tried to switch to Minimal Template and put the style-part and the cms_module-part to the same file. Then I got this error:

string(122) "Smarty error: [in template:19 line 17]: syntax error: unrecognized tag: width:300px; (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in Testiartikkeli
template:19 line 17]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)"

Still no comments or textare displaying :(

Re: Comments module not working

Posted: Wed Dec 06, 2006 1:52 am
by Elijah Lofgren
Maybe FCKeditor is changing the " to &quote;

Try with single quotes like this:

Code: Select all

{cms_module module='comments'}
Hope this helps,

Elijah

Update: Also, all that will show up on your page is this: "Add A Comment" it can be easy to miss sometimes.

Re: Comments module not working

Posted: Wed Dec 06, 2006 7:47 am
by 3dcandy
I always use single quotes when using fckeditor...

try that! Or gimme an address to take a looksy

Re: Comments module not working

Posted: Wed Dec 06, 2006 9:57 am
by nakuttaja
I tracked the problem to Spam protection. When unchecked everything works fine. Odd part here is that when spam protection is on it doesn't show anything related to comments and it also swallows the rest of the page! When normally there are these "next page" and "top ^" texts disappear.

url is http://www.hapatus.net/cms