I have the same problem in v6.15 that "erich93063" has in v7.14, as he describes here:
http://drupal.org/node/1649298
if I go to a node and enable a password and then go to that node, I get a Drupal "Access is denied" as opposed to the Password form. I went into permissions and enabled "access protected content" and "view protected content" for anonymous users and that just makes the "Access Denied" message go away. I still do not ever get a password form. I also tried using a browser with all my cookies cleared
evidently there is some basic setting that both erich93063 and I are overlooking, but after examining the documentation and the settings, I'll be damned if I can figure out what it is.
any ideas? TIA
Comment | File | Size | Author |
---|---|---|---|
#1 | protected_node.module.gz | 8.34 KB | AlexisWilke |
#2 | protected_node.module.gz | 8.57 KB | AlexisWilke |
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedLooking at the code, it could be that the cache is in the way. You could try to clear the cache and see whether that magically makes it work.
This being I'm attaching a version of the protected_node.module with some error messages so we can trace what's happening. It should print errors on your screen and having that output I should be able to determine where it fails and try to infer what goes wrong on your install.
Note that I had to compress the file as it doesn't let you upload a .module file as is. So obviously you need to decompress first. Make sure you use this only on a test system unless you're still in development on your main system or cannot reproduce the problem on your test system...
Thank you.
Alexis Wilke
Comment #2
AlexisWilke CreditAttribution: AlexisWilke commentedLooks like I uploaded the wrong file.
Comment #3
k4v CreditAttribution: k4v commentedFor me it works when I only set "access protected content" not "view protected content"
Comment #4
AlexisWilke CreditAttribution: AlexisWilke commentedAh! Yes! Indeed!
The protected node module let you show protected nodes (view protected content) in which case the password is only used if you try to edit the page (in other words, the editing is password protected, and assuming some other users are given access to the edit of page.)
Thank you for reminding us!
Alexis Wilke
Comment #5
halowind CreditAttribution: halowind commentedI tried granting ONLY "access protected content" to anonymous users, logged out, accessed the site as an anonymous user with a different browser, the protected node title and body was visible and when clicked it did not redirect to a password page
I give up
Comment #6
k4v CreditAttribution: k4v commentedcleared cache?
Comment #7
halowind CreditAttribution: halowind commentedcache cleared, no change
I'm done
Comment #8
AlexisWilke CreditAttribution: AlexisWilke commentedhalowind,
Note that you never answered to #1 & #2.
Best,
Alexis
Comment #9
halowind CreditAttribution: halowind commentedunfortunately I don't have the time or testbed to beta test things
thanks for your work though
Comment #10
GaryGagliardi CreditAttribution: GaryGagliardi commentedI am having this problem, not getting the password page, trying to use Protected Node with Quiz nodes (haven't tried any others). Drupal core Drupal core 6.37
Protected node 6.x-1.9.
Watchdog just says "access denied."
Cleared caches.
Could you send me the version with error reporting?
I am also using the Node Access module, could that be causing problems?
I have a custom access denied page. Could that be a problem?
Comment #11
GaryGagliardi CreditAttribution: GaryGagliardi commentedSince my main site is very complex, I tried protected node on a very simple site, my personal site, with a simple test page. This site doesn't use node access or rules or anything fancy and only has 28 nodes.
Still get "Access Denied Page" instead of password page.
This is on a simple page node.
http://www.garygagliardi.com/?q=content/test-page
is page without password.
Its clone:
http://www.garygagliardi.com/?q=content/clone-test-page
has password. One can be accessed. The other cannot.
No password page appears.
Moved site to Drupal 7. Works now.
Comment #12
GrimreaperHello,
I close this issue because Drupal 6 is no more supported. https://www.drupal.org/drupal-6-eol
If this issue is present in Drupal 7, feel free to re-open it.