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.
Comment | File | Size | Author |
---|---|---|---|
#1 | production_errors.png | 24.99 KB | t-readyroc |
errors.png | 15.46 KB | t-readyroc |
Comments
Comment #1
t-readyroc CreditAttribution: t-readyroc commented*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:
Comment #2
nhck CreditAttribution: nhck commentedDear 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.
Comment #3
nhck CreditAttribution: nhck commentedThanks again for reporting this. I solved this problem you can find the improvements in git.
Comment #4
nhck CreditAttribution: nhck commented