I recently upgraded a client's site that uses WebFM from Drupal 5 to 6, and now none of the documents that were uploaded with WebFM prior to the upgrade are accessible any more. Clicking on the download links for any of them just results in a "File not found" error.
I think this may be because the directory structure of the module appears to have changed from version 5 to version 6. On the old site, most of the files appear to have been uploaded into one central files/webfm directory, with a few in a couple of subdirectories within that, but after the Drupal 6 upgrade, WebFM is now demanding I create and set 69 separate subdirectories - going to the settings page gets me the following error:
# Role root directory not set for authenticated user role
# Role root directory not set for Administrator role
# Group root directory not set for [group name] group
That last line repeats about 67 times, once for each Organic Group on the site, even though I don't want or need separate upload areas for each group.
The problem (aside from the fact that creating all those directories would be a huge headache) is that there doesn't seem to be any way to tell the module about all the years worth of files that are already in the main files/webfm directory - apparently that's no longer considered a valid place for files to be located or something.
How can I fix this and make the files accessible again? If I were to move everything that's now in files/webfm into some subdirectory or other and set that as one of the root directories it wants, would that work? And would it be possible to set all the root directories to the same thing, or do I really have to create 69 separate directories that I don't need?
And please tell me I am not going to have to re-upload all those files individually in order for WebFM to recognize them again... :-(