On Drupal 7, a clickable link to popup a Webform window is impelemented; link for example is - http://www.website.com/webform-sample-original-url?width=700&height=500.... clicking on link, pop-up works but webform is missing with an error "You are not authorized to access this page". Double checked all permissions and roles and everything is correct.

Drupal webform access error

Checked (and compared) webforms, and found there is a redirect URL found for the webform concerned. Redirected URL was due to Redirect module implementation. 

Drupal webform access error auto redirect URL

 

Therefore to avoid confusion in the future, deleted the redirected URL, then disabled the Redirect module. Suggest to enable once website is ready after all testing is done and ready for deployment.

Drupal-webform-access-error-disable-redirect-url-module.png

And updated the webform popup link from original URL:

http://www.website.com/webform-sample-original-url?width=700&height=500

to the new, current redirected URL used:

http://www.website.com/webform-sample-new-redirected-url?width=700&height=500

 

Leave a Comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now