The comment system of my multi-site Drupal install 4.6.5 produces strange results:

Only the administrator can send comments by default.

If I want authenticated users (or other created groups) to commit messages, I must set node administration permission for them in the acces controll list.

I'v made a test site where you can see:

http://teszt2.dhost.hu/

admin nem: test pw: test
authenticated use name: testuser pw: testuser

I think the problem is the PHP5 incompatibility.
At home, the same portal works perfectly with PHP4.

Comments

junyor’s picture

Project: Drupal.org site moderators » Drupal core
Version: » 4.6.5
Component: web site » comment.module
varunvnair’s picture

People trying to troubleshoot this should read this forum post and all the comments:
http://drupal.org/node/45925

I must point out a few things here:

  • Problem does not feel like PHP5 incompatibility. We would get PHP errors if that was the case. This definitely feels like a bug an application bug (i.e. in Drupal core or one of the modules).
  • Problem is probably not due to multi-siting.
  • Problem is most probably due to taxonomy_access. But I am not sure so am not changing the component for this bug to taxonomy_access.module. However it would be great if someone (bandika?) could do some testing and confirm that problem is due to taxonomy_access.
tomsys’s picture

Title: Comment problem » Comment problem - Related 33250
Version: 4.6.5 » x.y.z
chx’s picture

Please check with a fresh CVS and report back.

varunvnair’s picture

Title: Comment problem - Related 33250 » Comment problem
Version: x.y.z » 4.6.3

@tomsys: How is this a duplicate of http://drupal.org/node/33250

IMO both are very different issues and will have different solutions. Could you elaborate on why you think this is a duplicate of http://drupal.org/node/33250

Am changing back bug description to the one set by the original poster (bandika)

Drupal used by bandika seems to be 4.6.3. Bandika, can you confirm this? Try using 4.6.5 and see if the problem occurs...

bandika’s picture

Title: Comment problem » Comment problem - exactly history
Version: 4.6.3 » 4.5.5

No, it is surely 4.6.5
It was originally 4.6.4 but I upgraded to 4.6.5 and I tested my project on my home computer.
There was not taxonomy_acces (neither now) at home, but after moving it to my server I had to install this module because a site needed it.
But I had problems with commenting before installing taxonomy_access too. When I installed the first sites (I developed a form script for main site (dhost.hu) in order to mass hosting.-- dhost.hu/node/4) I realized that anonymous users can't see the nodes. I see that node_acces table were empty, so I added manually az insert command to my script to create the "0" user view access.
After it, I can't set anonymous users to create comment messages unless I set the node_access table's comment value to "1"After these I installed the taxonomy_access module..
The previous problem does'nt exist at home, the same code base, but PHP4.
In the evening I'll try a clean 4.6.5 install to test it again.

markus_petrux’s picture

Version: 4.5.5 » 4.6.5

typo?

bandika’s picture

Title: Comment problem - exactly history » yes

yes. I believe in that I'v intalled 4.6.5 :)

markus_petrux’s picture

Title: yes » Comment problem - exactly history

:)

bandika’s picture

Title: Comment problem - exactly history » The problems: evaulation and taxonomy_acces

I think the problems partly based on evaulation sql besides taxonomy_acces' bugs.
There are two strange line in the evaulation.mysql :

ALTER TABLE node_access ADD grant_comment tinyint(1) unsigned NOT NULL;
DELETE FROM node_access WHERE realm = 'all' AND nid = 0;

The most strange is the second line. If you install evaulation, anonymous users can't see your content after it unless you have taxonomy_acces activated. And not only that: taxonomy_access requires the first line of the sql but it's not in the taxonomy_acces.mysql.
If you want to drop evaulation module you got only an empty page after.

These two modules causes Drupal 4.6.5 functional disorder.

killes@www.drop.org’s picture

Status: Active » Closed (won't fix)

You can't use evaluation.module together with taxonomy_access. This is not supported.