Anonymous comments not saved in Drupal
Posted
by Marco
on Stack Overflow
See other posts from Stack Overflow
or by Marco
Published on 2009-12-10T16:30:24Z
Indexed on
2010/05/29
6:42 UTC
Read the original article
Hit count: 277
For some reason I can no longer post a comment as an Anonymous user in my Drupal installation. I haven't tried in a while, so I'm not quite sure when this functionality was broken.
I have Services installed, and I can post anonymous comments using comment.save
. I have altered the Input Formats
if that could break something.
I have enabled both post comments
and access comments
on the anonymous user. The comments does not show up in the database. In fact, the native Drupal function comment_save
isn't called when I try to comment as Anonymous (I check this by adding print_r($edit);die();
at the top of the comment_save
function in comment.module
. Also I read something that not having a User with the UID 0 would break the Anonymous commenting, this user exists (obviously, since commenting through Services works)
I have tried out the AntiSpam
module, and posted a comment as Anonymous that would get caught(and did) in the spamfilter, but this module is now disabled.
I'm really running out of ideas here, does anyone have any other suggestions on what to do? In the meanwhile I'm going to attempt to backtrack the code to figure out why comment_save()
isn't being called.
Edit: Anonymous users also don't have to submit email and such to post, if that matters in any way.
© Stack Overflow or respective owner