I just posted this in another issue, then realized that the issue had been closed. It was apparently closed because it was a duplicate of another issue that had been "fixed" in a newer version, but as you can read below, it has apparently not been fixed.

I just got the same behavior (as here) on both 2.18 and 2.x-dev. Visiting the permissions section by going to configuration > webfm > permissions gives the role root dir not set + group root dirs not set for each of my groups. Attempting to set these options results in the same errors being displayed along with the PHP settings upload size error reported by zap-admin above (exact same, 2097152 MB).

Environment:

  • Drupal 6.25
  • MySQL 5.1.62
  • PHP 5.3.6

The odd thing is that the directories specified are in fact created. The actual server file system mirrors the setup that I specified, but the settings aren't saved.

The user sees nothing, but can still upload. The upload goes directly into the repository root, which I can see when visiting WebFM as an admin.

CommentFileSizeAuthor
#1 production_errors.png24.99 KBt-readyroc
errors.png15.46 KBt-readyroc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

t-readyroc’s picture

FileSize
24.99 KB

*Edit/update: I installed the module on our production server, & though I got the attached errors after saving the configuration, the options actually did save.

Environment:

  • Drupal 6.26
  • MySQL 5.1.61
  • PHP 5.3.3
nhck’s picture

Priority: Major » Normal

Dear t-readyroc,

thank you for reporting this and helping to make webfm better.

You discovered one minor bug:
It should say that your file limit is 2097152Byte or 2MB instead of 2097152MB.

You also discovered kind of a usability issue:
The error message that the directories do not exist are shown regardless of it being the first visit to that page using drupal_set_message. These messages apparently stay if a form gets submitted - so I will think of a different way how to display them. The form works nevertheless.

Thank you.

nhck’s picture

Title: Permissions options changes not saving » Permissions dialog messages are confusing
Version: 6.x-2.18 » 6.x-2.x-dev
Assigned: Unassigned » nhck
Priority: Normal » Minor

Thanks again for reporting this. I solved this problem you can find the improvements in git.

nhck’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.