I can't publish new webforms since I updatet from 5.x.1.2 to 5.x.1.3.
The permission to access the site is denied.
All webforms which I created with 5.x.1.2 can be (re)published and are accessible.

Comments

quicksketch’s picture

There were some small changes to the permissions settings. Make sure that you have 'administer nodes' or 'create webforms' permissions.

schmitty’s picture

Sorry, let me put it like this.
I can create webforms, but when I set the checkmark to publish it, no one (exept me) can access it.
I also found some errors in the logs:

Missing argument 4 for _webform_validate_file() in /w_13/WWW/html/fbb/fbb0001/drupal/modules/webform/components/file.inc in line 206.
Missing argument 2 for _webform_validate_email() in /w_13/WWW/html/fbb/fbb0001/drupal/modules/webform/components/email.inc in line 78

schmitty’s picture

hmmm...
I've searched the node_access table in the database and there aren't any access rules for my new(!) webforms. (any other new(!) content has)

flippen’s picture

Hi,

I've got the same problem. I cannot access the webform when I'm not logged in. Tried the webform on another server, and there I didn't have any problems.

holydrupal’s picture

Priority: Normal » Critical

I have the same problem too
and also I get an error when I try to add a file component in version 5.1.3:

# warning: Missing argument 2 for _webform_validate_file() in /home/xxx/public_html/fa/modules/webform/components/file.inc on line 206.
# warning: Missing argument 3 for _webform_validate_file() in /home/xxxx/public_html/fa/modules/webform/components/file.inc on line 206.
# warning: Missing argument 4 for _webform_validate_file() in /home/xxx/public_html/fa/modules/webform/components/file.inc on line 206
there is no option for guest access to this form, just admin could view it.

quicksketch’s picture

Priority: Critical » Normal

The validation issue you've reported is separate from this issue of permission, and it has already been fixed in the 5.x branch. I haven't looked into the permissions issue, so any additional information that can be provided will be helpful.

quicksketch’s picture

I can't reproduce this in the development version. Could you try it out and see if the problem still exists?

flippen’s picture

The problem still exists. The only message that appears is “Access denied, you are not authorized to access this page”. But I noticed that the PHP version is 4.3.6 and not 5. Maybe that's the problem.

quicksketch’s picture

I still can't reproduce on PHP 4.4.6. Can you provide a step-by-step way to reproduce from a clean Drupal 5/webform install?

codegal’s picture

Try rebuilding permissions under post settings. It worked for me, when I had the same problem. Hopefully it will work for you

schmitty’s picture

I've done nothing, but now it works with the new dev version.

quicksketch’s picture

Status: Active » Fixed

Great, I bet this was fixed in http://drupal.org/node/149044.

flippen’s picture

Ok, now everything works (with the dev-version), even the alternative URL.

Thank you for a good work and your patience.

Anonymous’s picture

Status: Fixed » Closed (fixed)