SITUATION:
-I have an installation of Drupal and Ubercart (5.10 and 1.3 respectively) plus many more modules.
-I have one role with access permissions to create blog entries and product node types.
PROBLEM:
-Many times when a user tries to create content, when they select a node type and click to create, they are presented with an "access denied" message in error.
WORK AROUND:
-Rebuilding node access (/admin/content/node-settings/rebuild) fixes the problem temporarily. I do not have any node access modules, so I suppose it is perhaps the call to clear the cache in the node_access_rebuild function fixing the problem. HOWEVER, a little while later users are unable to create nodes again.
Because of the randomness of having to fix the issue with the work around, many users are left unable to properly access the node edit page.
Does anyone know what could be causing this behavior? Where do I begin looking for the culprit and fixing it? Thanks in advance.
Comments
=-=
the list of "many more modules" may provide a clue. Especially the enabled modules.
Here is a list (there are
Here is a list (there are quite a few, so I don't know where to begin):
-CCK and various field type modules
-Various Drupal core modules
-Hierarchical Select
-ImageAPI + ImageCache
-Simplenews
-Usernode
-Advanced profile kit
-FAQ
-Forward
-Modr8
-Revision Moderation
-Pathauto
-Search 404 and Search Config
-Secure Pages
-Taxonomy breadcrumb
-Thickbox
-Token
-Ubercart and many of its modules
-Ubercart Marketplace
-Service links
-Similar By Terms
-Javascript Aggregator
-Flag
-Google Analytics
-Bio
-Backup and Migrate
-MimeDetect
-Panels and some of its modules
-Buddylist
-CAPTCHA
-Tagadelic
-Userpoints
-Nodecarousel
-Views
-Fivestar
-Workflow-ng
-XML Sitemap
Thanks
Any ideas?
I am still struggling to understand what is going on with this. Why are users seeing "Access Denied" when they try to create/edit a node they have permission to add? I am positive I have no modules that mess with the node_access table as it always contains 0, 0, 'all', 1, 0, 0. In addition, no modules implement node_grant(). Is this a cache issue (I have cache setting on normal)? How can I fix this? Thanks.
=-=
The only way to diagnose this with that many contrib modules is to start disabling them one at a time until the problem is no longer.
insure core is up to date
and all modules are up to date
Since the issue occurs
Since the issue occurs sporadically and I am unaware of how to "trigger" the error, do you recommend disabling modules one-by-one when my site is in a state of error and seeing if the problem is corrected, or (harder) disabling one-by-one when site is working and "waiting" to see if error comes about. The problem I fear with the first approach is if something corrupted the cache or something than switching out modules would have no effect. The obvious problem with the second approach is how to test efficiently. Thanks for your replies.
maybe you saw this already,
maybe you saw this already, turgid?
http://drupal.org/Troubleshooting-FAQ
hope that helps!