Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have installed and set donate module. However, when a form is created, I can only see it when signed in as the administrator. Anonymous & any authenticated user sees access denied. I thought it was because be form wasn't attached to another node but unlike 6.x there is nothing that allows it.
Comment | File | Size | Author |
---|---|---|---|
#4 | donate-make_donations_permission-1539358-4.patch | 361 bytes | eduardo.flores |
Comments
Comment #1
eclauset CreditAttribution: eclauset commentedsame problem here, only admin user can access the form.
Comment #2
eduardo.flores CreditAttribution: eduardo.flores commentedI have the same problem. I installed Pay, Donate and Authorize.net modules and created a donation form but only admin user can access it, other users get Access Denied.
Does anyone know the solution for this issue?
Thanks.
Comment #3
jeffnine CreditAttribution: jeffnine commentedI'm in the same boat. Pay, Donate, & Authorize.net enabled here as well. Need this to work for anonymous.
Comment #4
eduardo.flores CreditAttribution: eduardo.flores commentedI found an error on donate_permissions function, the error is on the Make Donations permission key.
I'm atacching a patch with the fix.
Comment #5
Dave.Ingram CreditAttribution: Dave.Ingram commentedI can confirm that this patch fixed the issue for me and pretty clearly was the problem. Nice catch edufk88.
Comment #6
haleagar CreditAttribution: haleagar commentedYes this fixes the permission issue for me.
Not apparently working in D7 yet however.
Comment #7
breethink CreditAttribution: breethink commentedNo, not working for 7.
Comment #8
meeeee CreditAttribution: meeeee commentedYou have to first make changes to donate.module as explained by " edufk88 " above.
And if still problem exists then you have to make changes inside "role_permission" table which is inside your drupal website database.
-> grant permission "make donations" to respective role_id against donate module.
-> and if spelling of "make donations" is "make dontations" then change it to "make donations".
These two things works for me, i hope it works for you too. :)
Comment #9
rsiegel201 CreditAttribution: rsiegel201 commentedI have both Admin & Site Admin rights for my Drupal 7 site. I get "Access denied. You are not authorized to access this page." error when I try to view the donation form I've created. I checked all my permissions & that wasn't the problem.
It seems there is a typo in the word "donation" within the code, which is causing the problem. I'm still learning Drupal, so I'm not willing to take a shot at fixing anything at this point. Any chance this bug & other related issues will be fixed soon for the Donate module (and Pay API module, Authorize.net module)? I'd really rather use this Donation module set than the UberCart one(s). Please let me know.
Comment #10
rsiegel201 CreditAttribution: rsiegel201 commentedLet's try this again. I'm still learning the interface. ;-)
I have both Admin & Site Admin rights for my Drupal 7 site. I get "Access denied. You are not authorized to access this page." error when I try to view the donation form I've created. I checked all my permissions & that wasn't the problem.
It seems there is a typo in the word "donation" within the code, which is causing the problem. I'm still learning Drupal, so I'm not willing to take a shot at fixing anything at this point. Any chance this bug & other related issues will be fixed soon for the Donate module (and Pay API module, Authorize.net module)? I'd really rather use this Donation module set than the UberCart one(s). Please let me know.
Comment #11
j4 CreditAttribution: j4 commentedI am also facing this problem..any progress in this?
Thanks!
Jaya
Comment #12
j4 CreditAttribution: j4 commentedUpdate: make the change in the module as suggested in comment 5, go back to the permissions page, and update the permissions for the people who can fill the form and then you are able to view the form!
Hope this helps someone!
Jaya
Comment #13
pritam.tiwari CreditAttribution: pritam.tiwari commentedCan some one, please update this change in module file. So new comers will not face this issue.
Thanks
Comment #14
realityloopThe patch in #4 fixes the issue
Comment #15
sanjaykaronjiya CreditAttribution: sanjaykaronjiya commentedThanx,
Comment #4 worked for me....
Comment #16
sureshcj CreditAttribution: sureshcj commentedThanks a lot..
The patch #4 worked for me....
Comment #17
vikasp@vgroupinc.com CreditAttribution: vikasp@vgroupinc.com commentedI was facing the same issue but patch #4 helped me to get rid from this. Patch #4 works for me.
Comment #18
anbarasan.r CreditAttribution: anbarasan.r commentedHad the same issue and the patch solved the issue, this needs to updated into the module ASAP. As this breaking basic use case.
Note, After applying the patch, you have to give the permission again.