By bandika on
hi guys,
I have a very annoying problem and it seems there is no solution. The comment system of my multi-site Drupal install 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 been looking for the reasons for days but I haven't. :(
Where should I search the solution?
Thank you very much for helping me.
B.
ps: sorry fom my weak english.
Comments
+1
I discovered that comments works properly only with "page" type.
When you post a new node to
When you post a new node to the other content types, what are the "comment" options that you have set?
As a node admin, you are given a choice of disabled, read only, or read/write modes?
Or, you can change the default comment mode in the admin>content>configure>content types>
And then editing the "Default Comment Setting" section. Note that editing this Default setting only affects new nodes created after making the change. You would have to go back and edit it for existing nodes to change them to a different comment setting.
--
Knaddison Family Blog
--
Morris Animal Foundation
a test site for it..
Thank you for your answer. The issue is not as easy as seems.
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 drupal's not perfect PHP5 compatibility.
At home, the same portal works perfectly with PHP4.. :(
problem with some module (taxonomy_access?)
I played around with your site for some time and can confirm that the problem does exist and is not due to misconfiguration. I enabled/disabled various things but couldn't get comment for authenticated users to work.
I don't think the problem is PHP5 incompatibility. My gut feeling is that problem is caused by taxonomy_access. It was used/enabled earlier and some of its remnant settings is causing the comments problem.
I also get the following error when playing with taxonomy_access
I would also like to look at the database directly. Please install the dba (database administration) module if possible. I hope this test installation uses a different database from any of your other setups because installing dba will give the admin full access to all the tables in the database.
My Drupal-powered Blog: ThoughtfulChaos
dba enabled
dear Varun,
thank you for helping me! I'v made an issue about this problem too.
(http://drupal.org/node/46175)
I'm thinking abouto to change php5 to php4..
remove taxonomy_access
In your home installation (i.e. the one with PHP4) is taxonomy_access installed? Is it enabled?
Rebuild your entire installation from scratch in the same way as your current installation. Except do not install taxonomy_access at all. Make you new installation a multisited off some common codebase.
Btw you mentioned that this site is multisited. Does the problem occur in any of the other sites that use the same codebase?
My Drupal-powered Blog: ThoughtfulChaos
need taxonomy_Access :(
At home, taxonomy_access is not installed. At server there are multi sites (basen on one drupal installation) installed and communnities need taxonomy_Acces for taxonomy-based acces roles.
I'll change PHP5 to PHP4 rather.
Many thanks :
András
PHP5 is not the problem
I think you are missing the obvious here. PHP5 is NOT the problem. taxonomy_access is the problem.So better tread carefully and do enough pre-launch testing before your site goes live.
My Drupal-powered Blog: ThoughtfulChaos
did you solve the problem?
Did you solve the problem?
My Drupal-powered Blog: ThoughtfulChaos
To quote Killes:
To quote Killes from the issue:
--
Knaddison Family Blog
--
Morris Animal Foundation
maybe
hello Varun, (and greggles)
I made a plan to avoid further problems. I created a clean install which works perfectly, and I'll copy te old sites' prefixed tables and modules into it apart from evaulation. I'l write again later.
thanks a lot:
Andras
most probably a problem with taxonomy_access
I did some more snooping around and now commenting for authenticated users works as expected. Unfortunately I could not pinpoint the exact reason for the problem but here are some pointers.
The problem is most probably caused by taxonomy_access. It is behaving in a weird way when some edge condition occurs. I am unable to replicate the behaviour right now.
I just created a new vocabulary (called 'Categories') and added a couple of dummy terms to it. Then I made sure that appropriate settings were enabled in access control » category roles. That seemed to have cured the problem since newly created nodes after this had commenting enabled for authenticated users. However authenticated users still cannot comment on the older nodes. Seems to me that some module is not playing nice under a certain set of conditions.
I wanted to look at the actual values in the tables but couldn't do so because dba module is not installed.
My advice. Start with a fresh installation and add/enable only those modules that you actually need. Enable and configure 1 module at a time and each time make sure the problem does not recur. If the problem does appear again note down the exact set of conditions/configuration which causes it to appear and file a bug report for the appropriate module.
Hope this helps. Have a nice day.
My Drupal-powered Blog: ThoughtfulChaos