Page 1 of 1
Error when leaving comments in news
Posted: Thu May 14, 2009 10:38 pm
by heidig
When I leave a comment on a newspost, I get this errormessage:
DEBUG: query failed
SQL: INSERT INTO skogtalt_module_comments (comment_id, page_id, comment_title, comment_author, author_email, author_website, comment_data, comment_date, module_name, create_date, modified_date, active, author_notify, ip) VALUES (5, 3, '', 'Test', '', '', 'Test','2009-05-15 00:32:57', 'News', '2009-05-15 00:32:57', '2009-05-15 00:32:57', 1, 0, "91.149.62.203")
ERROR: Unknown column 'comment_title' in 'field list'
What am I doing wrong?? The commentsmodule is just been updatet.
Thanks if someone will help me!
Heidi
Re: Error when leaving comments in news
Posted: Tue Jul 21, 2009 10:12 pm
by Dr.CSS
Helps when we know how, where, etc. you use the tag, as it works fine for me always has...
See
http://multiintech.com/about-me.html and the other ones below it...
Re: Error when leaving comments in news
Posted: Sun Jul 26, 2009 7:15 pm
by ilia3d
Hi!
the same Problem...
i used this tag in news details template
Code: Select all
{cms_module module='comments' number='20' emailfield='1' modulename='News' lang='ru_RU' pageid=$entry->id}
but seit 1.6.X it seems not to be working

thanks a lot!
Re: Error when leaving comments in news
Posted: Sun Jul 26, 2009 7:54 pm
by Dr.CSS
Someone has updated comments since the last time I used it..
I have no idea what this is for but when I remove it from the comments template I get no errors...
{if isset($smarty.session.Comments.error)}
{* display an error message from the comments module *}
{$smarty.session.Comments.error}
{elseif isset($smarty.session.Comments.message)}
{* display an optional message from the comments module *}
{$smarty.session.Comments.message)}
{/if}
Re: Error when leaving comments in news
Posted: Sun Jul 26, 2009 9:22 pm
by ilia3d
Dr. CSS wrote:
Someone has updated comments since the last time I used it..
I have no idea what this is for but when I remove it from the comments template I get no errors...
{if isset($smarty.session.Comments.error)}
{* display an error message from the comments module *}
{$smarty.session.Comments.error}
{elseif isset($smarty.session.Comments.message)}
{* display an optional message from the comments module *}
{$smarty.session.Comments.message)}
{/if}
i don't have this, but i try to check my template... tnx
Re: Error when leaving comments in news
Posted: Mon Jul 27, 2009 6:50 am
by Jeff
That will get rid of the display of the error, but the error is still there.
http://forum.cmsmadesimple.org/index.ph ... 230.0.html
Re: Error when leaving comments in news
Posted: Mon Jul 27, 2009 6:50 pm
by Dr.CSS
I see no error/error message...
Click the news title link and see the Add A Comment and no error...
http://dezertdesign.com/default/