Hi all. I have this strange problem with my drupal 6 site (www.ziodrupal.net): anonymous comment are not displayed. Anonymous can send comment and comment are writer to DB (I can see it in the comments and node_comment_statistics tables), but not displayed in the node's page. I have checked the permission and seems correct to me.

If you see this page:

http://www.ziodrupal.net/links/prova-di-inserimento.html

You can see "2 comments in reply to prova di inserimento" and infact in the db there are 2 comments, but only the one of "admin" user is displayed. I have tried with my theme and with "garland" theme, but the results is the same.

Any help is welcome.

Ah, the site is an upgrade from 5.12 to 6.6.

M.

Comments

Cayhn’s picture

In your premission settings have you clicked the box "post comments without approval"? Check your Content -> Comments and see if there are comments waiting for approval.

Konstantin_by’s picture

I have same problem in drupal 6.10
I deleted my old site and make new one, proble don't go away. I think there some problem in drupal api
I cheked comments waiting for approval and there no comments anon. comments

Konstantin_by’s picture

I just go to database table "users" in first column change uid=16 to uid=0.

jcisio’s picture

Not a theming problem.

The anonymous user is deleted by some of your modules. To recover is easy:
- Go to PhpMyAdmin
- Insert a new record in {users}
- Update that record so that uid=0

You can't just insert directly an user with uid=0 as MySQL doesn't allow that in a field with AUTO_INCREMENT. So, INSERT, then UPDATE.

simeli’s picture

anonymous comments are saved in the database (all with uid 0) but not displayed under published comments or approval queue. when posting as an administrator, the comments gets displayed for some odd reason... i have a new 6.14 in place

winawer’s picture

Thanks very much. your tip help me.
I had problem in anonymous commenting. the problem was:
that user with user_id = 0 in my database was deleted.
when i create a new user and set that user_id to 0 my problems solved.

Thanks again.