Hey guys, I have installed Drupal 7 and I have a problem with comments.

Problem is when I edit comments I do see Anonymous for the author name while the author name exists, then I edited comment.module file and added #value of the comment form to author and now I can see it.

Now problem is when I save it, it doesn't save,

Any help?

Comments

First reverse your change to

First reverse your change to comment.module. Never hack core! In this case Drupal core most definitely works and definitely does not need modification.

OK, you are seeing Anonymous when name 'exists': do you mean, exists in the database because a name has been submitted (rather than because the user is logged in)? Is 'display author name' set for the relevant content type? Does switching theme make a difference? Anyway needs to debugged but some method other than adjusting code.

Note there is live issue if you are using Entity API http://drupal.org/node/1637384

The author name was submitted

The author name was submitted by guest members and they exists already in both database and also comments list.

But when I want to edit the comment, it changes back to anonymous without hacking the core module.

I will try the patch for the entity to see if it fixes the issue and let you know.

PHP, MySQL and Java programmer at Gchats.com

I tried it and I couldn't

I tried it and I couldn't manage to use the patch,

I am using drupal 7 and I cannot find the entity module to update it.

Any hints?

Thanks

PHP, MySQL and Java programmer at Gchats.com

I wroteNote there is live

I wrote

Note there is live issue if you are using Entity API http://drupal.org/node/1637384

Note the 'if' - I cannot know whether you are using this module, If you did not install and enable it, presumably you are not.

I am not sure why comments are not behaving as you expect. Does this happen also with a core theme such as Bartik or Garland set as default?

Yes, it does. If I change the

Yes, it does.

If I change the comment.module file it appears correctly, however it doesn't save.

I am not using entity module too.

I am a bit confused now.

PHP, MySQL and Java programmer at Gchats.com

I am puzzled too. There is

I am puzzled too. There is also an issue with anti-spam module http://drupal.org/node/1143888 which has the same effect
I wonder whether there is some module such as that overriding the normal behaviour of Drupal core.

In your position I would be tempted to drop in a clean install of Drupal 7 on your server with no added modules and test it, because normally it works ok. But I am not sure how else to trace the problem.

nobody click here