I just installed Drupal 6.12 and I'm working through the O'Reilly book "Learning Drupal". So I enabled the Core-optional>Blog module, I created a blog, and I then created an entry in that blog. But when I view the blog entry, there's no comment submission form. I've checked all the relevant settings I can think of and they look right to me:
Administer>Site building>Modules>Core - optional>Comment: Enabled
Administer>Content management>Content types>Blog entry>Comment Settings:
Default comment setting: Read/Write
Comment controls: Display above the comments
Anonymous commenting: Anonymous posters may leave their contact information
Location of comment submission form: Display below post or commentsAdminister>User management>Permissions>comment module:
post comments: anonymous user: yes, authenticated user: yes
post comments without approval: anonymous user: no, authenticated user: yes
Can anyone suggest what else might be causing the comment submission form not to display?
Since this is for me to teach myself to use Drupal, I've got this installed on my laptop. In case it's relevant, here are details of the system it's running on.
Hardware: Dell Inspiron 6000
OS: Windows XP Professional, Service Pack 2
Webserver: Apache 2.0.58
PHP: 5.2.9-2
MySQL: 5.0.23
Drupal: 6.12
Comments
=-=
is this only happening on the blog content type?
which theme is in use?
At present I only have two
At present I only have two content types: Page and Blog entry. I changed Page's Comment Settings to match those of Blog entry. Neither displayed the comment input form.
I have two themes enabled: Chameleon and Garland. I've tried it with both themes and neither displayed the comment input form.
=-=
no idea, I have multiple sites running 6.12 and I can't recreate this.
list of contrib modules?
Where in the code should I start looking?
This brings up a larger question. How do non-programmers go about diagnosing things when Drupal malfunctions?
If I'm dealing with a piece of code that's misbehaving, I can step through it in a debugger and figure out what's going wrong. But with a GUI-oriented, "user-friendly" application like Drupal, most end-users can't do that. What do they do to solve problems like this?
Also, if I wanted to debug the code, it would probably take me about a week to learn my way around the Drupal engine before I could start trying to solve my specific problem. Are there any programmers in this forum who are sufficiently familiar with Drupal's innards that they can suggest where in the code I should start looking?
Modules
Other than "Core-optional" and "Core-required", the admin/build/modules page shows only an "Administration" section containing "Administration menu 6.x-1.4" - a module suggested by O'Reilly's "Using Drupal". It speeds up access to administrative functions by putting copies of all the menu items found under the Administer into a set of pulldown menus at the top of the webpage, but only if you happen to be logged in as an administrative user.
=-=
Not sure what to tell you here. You shouldn't have to debug the code there are 1000's of drupal 6 sites and if this problem was common there would be 1000's of threads about it.
Rereading your original thread you don't have permissions set to view: comments on the comment module. which may be crossing wires as you are allowing users to comment but not allowing them to view the comments.
Access comments is enabled
I really appreciate your making the effort to try and help out, even if it hasn't lead to a solution.
As it happens, "Access Comments" is enabled. When I originally listed the settings under Administer>User management>Permissions>comment module, I summarized them, focusing only on those that seemed relevant. To understand the full set of comment module settings, I must first tell you that I've defined two additional roles: Editor and Site Administrator. Since you have to log in to become either of those, they'll also have whatever permissions are allowed to Authenticated User. The full set of Comment Module permissions is as follows:
=-=
Hmm, im not sure about this inheritance from authenticated user.
are you sure authenticated doesn't inherit from anon and all other roles are "permissions as given" ?
Inheritance is irrelevant to the problem
If and when I run into problems while logged in as either Editor or Site Administrator, I'll keep that in mind. But the comment submission form fails to display when I'm not logged in as any user, so the permissions that apply in that circumstance are those of Anonymous User.
when you edit the content
when you edit the content type, under 'Comment Settings', be sure that the setting for 'Location of comment submission form' is 'Display below post or comments'.
Same problem over here
Hi MBR
Did you find a solution?
If I log in as admin I have all rights anyway. But even with the admin user I don't get a comment form.
Thanks for taking your time and giving me a hand!
Best Regards
Ernst
www.pluess.li
Worked when adding a new blog entry as editor
I had the same problem. Then I logged in as an editor, posted a new blog entry, and comments seem to work with that newest entry.
I still cannot add comment to the older/original blog entry.
Comment settings are strored per node
The comment settings of the node type are like a template and are taken into account when the node is created. If you change this settings, they are only true for new nodes. The existing ones do keep the old settings.
You can set the comment settings different on every node, provided you have the rights to set them.
Best Regards
Ernst
www.pluess.li