Hi guys,

Whenever I go to add a new component to any of my webforms, I get an "Access Denied" page while signed in on the main administration account. ALL permissions are enabled. I'm running the latest versions of both Drupal and Webform. I cannot add any components to any webforms. I am able to create the webform general information (name, description, e-mail sending, etc.), but when it comes to adding the form elements, I am unable to do so. Thanks!

Comments

GreatLakesWeb’s picture

Assigned: Unassigned » GreatLakesWeb
Category: bug » support

bump

GreatLakesWeb’s picture

Assigned: GreatLakesWeb » Unassigned
Category: bug » support
quicksketch’s picture

Marked http://drupal.org/node/245308 as duplicate.

Did you run this as a clean install or is this an updated version of webform?

Anonymous’s picture

Clean install on a 6.2: same problem here creating webforms with components is impossible due to the "Access Denied". I guess it's a bug!

GreatLakesWeb’s picture

Totally new to Drupal, so it was not an update. I installed Drupal 6.2 as found on Drupal.org, then installed Webform 6.x-2.0-beta3 as found on the Webform node at drupal.org.

pivica’s picture

Category: support » bug

Same problem here. Clean Drupal 6.2 install and Webform 6.x-2.0-beta3. Getting access denied when adding component.

Also on another site that I upgraded from Drupal 6.1 to 6.2 getting php warning when trying to view results. For example for url ...node/5/submission/3 i get:

    * warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/includes/database.inc on line 235.
    * warning: implode() [function.implode]: Bad arguments. in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/includes/database.inc on line 235.
    * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/modules/user/user.module on line 500.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/modules/user/user.module on line 500.
    * warning: Illegal offset type in isset or empty in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/modules/user/user.module on line 509.
    * warning: Illegal offset type in isset or empty in /home/ivicap/moje/bin/lampp/htdocs/drupal-dist/cms/modules/user/user.module on line 509.

I guess access problem are produced because little menu access handling change in 6.2 API. Pleae check http://drupal.org/node/243389.

quicksketch’s picture

Assigned: GreatLakesWeb » Unassigned
Category: support » bug

Thanks, this is due to the API change from 6.1 to 6.2, as noted in the security advisory (http://drupal.org/node/244637). I've been out of the country making immediately updating the module a bit of a trick. I'll try to review the API changes and get a new version out in the next day. Hang in there, this is a bit of an anomaly that a core update breaks existing APIs.

quicksketch’s picture

Status: Active » Closed (duplicate)

Let's consolidate this with http://drupal.org/node/245013.