Error when leaving comments in news

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
heidig
New Member
New Member
Posts: 6
Joined: Sun Apr 12, 2009 8:47 pm

Error when leaving comments in news

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error when leaving comments in news

Post 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...
ilia3d

Re: Error when leaving comments in news

Post by ilia3d »

Dr. CSS wrote: 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...
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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error when leaving comments in news

Post 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}
ilia3d

Re: Error when leaving comments in news

Post 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
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Error when leaving comments in news

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error when leaving comments in news

Post 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/
Post Reply

Return to “Modules/Add-Ons”