page acces denied after install of webform asociate
| Project: | Webform Associate |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I am not sure if this is the right place to post this, but here goes. I am running drupal 6.6 with webform and webform associate.
I had webform up and running, everything looking fine. I installed webform associate made my forms and everything looked fine. But now I have discovered that anonymous users gets a acces denied when posting from any of the forms. The post is registered fine, but its the "result" page that gives me a "You are not authorized to access this page." I have checked that the permissions is set for that form for anonymous users. (and as I said it worked fine before installing webform associate. The problem occurs when the webform is being submitted it posts to this url, http://www.domain.com/node/88/done?sid=40.
Any help much appreciated.
Thanks
/T

#1
#2
Got the same issue, found a "workaround".
The problem is that on submit it tries to redirect to submission results page, where registered users can view their own submission, but obviously there is no way to know witch submission is owned by an anno, thus acces refused.
My solution is to edit the associated webform using the webform not using the content edit, but using the admin>content>webform page, then selecting the associated webform, you can edit more params than in the content edit page, most important, you can edit the confirmation action to redirect to any other public page of you site (or back to the form).
At least it worked for me. I think this should be the defaulf behaviour out of the box for this module.
Hope it helps. (sorry for the poor grammar, non native speaker)
#3
I am seeing this as well. Appreciate the workaround; it is a bit of a hassle though.
Has anyone else encountered this problem?
Will look under the hood, but if anyone has a better fix, please enlighten me.
Thanks Much!
#4
Think this might also be related to #358252: error in webforms: 'Missing argument 3 for webform_associate_menu_access'. As I understand things, the current version of webform_associate (1.0-beta2) always returns false for any menu item with a callback of webform_results_access, i.e. to any results viewing page, regardless of the user's permissions. Consequently you would be getting this error even if you allowed anonymous users to view their own submissions. The patch I submitted in that queue should fix that aspect of this issue.
Of course if you don't allow anonymous users to view their own submissions, then you will need to send them to some sort of anonymous-accessible receipt page, as suggested in comment 2 above.