Hi All,
I cannot seem to get WebFM to work ...
ENVIRONMENT
wamp
Drupal 6.2
WebFM 6.x-2.9-alpha2
WebFM root Directory = 'webfm'
File system path = 'sites/default/files'
Real Path = 'D:\Drupal6Stack\apps\drupal\htdocs\sites\default\files\webfm'
Browser = IE6
ALREADY TRIED
I have checked the real-path exists and changed the security of the 'webfm' folder to 'everyone' has 'full control'.
Also I have shared folder 'webfm' with the 'everyone' permission.
I can browse to 'http:/[server name]/drupal/webfm' and see the 'Web File Manager' front-page ok.
SYMPTOMS
'invalid upload path' and 'current directory undefined' in debug.
Comments
Comment #1
Anonymous (not verified) commentedDoes your role have "administer webfm" permissions? If not you need to give the role a specific webfm directory in teh webfm settings.
Comment #2
mrfelton commentedI have the same problem. I have given each of my roles a specific webfm directory. However, I'm loged in as the superuser, so I'm not sure which directory settings I would be taking on.
Comment #3
sjgarth commentedSame with me.
I am adminstrator.
I have installed / created;
Drupal 6.2
WebFM 6.x-2.9-alpha2
WebFM root Directory = 'webfm'
File system path = 'sites/default/files'
Real Path = '..\sites\default\files\webfm'
Browser = IE6
I have also created a '..\sites\default\files\webfm\docs' folder for authenticated user role root directory
I have checked my user permissions and I have permission for everything.
Comment #4
Anonymous (not verified) commentedThis must be sth. window specific, so I can't help any further since I don't have any windows host :-/
Comment #5
mrfelton commentedI'm getting this problem on a linux box actually (ubuntu).
Comment #6
Anonymous (not verified) commentedOh, ok, let's see. At which point does the error message occur and which message exactly? Does it happen when you open the file browser? As superuser, no directory settings are considered but you should start at the webfm directory itself.
Comment #7
richard102@drupal.org commentedHi Frank
I'm logged in as 'admin'
Question - I specifically want the WebFM functionality. Would it be quicker for me to deploy Drupal 5.7 for this do you think?
Comment #8
Frank Steiner commentedI never used 5.7 so I can't tell if its worth doing it :-) In general, I never recommend using versions that are going to be unsupported soon.
Take a look at webfm.js. You will see how to issue debug messages (look there the text "current directory undefined" comes from etc. Add some debug messages on your own so you can see where it goes wrong. E.g. you can check if the directory is really undefined or you get the messages because you don't have permissions to access it etc.
Just try it, that's how I learned how webfm works and wrote my first little patches for Opera (which are still not in 6.x because 6.x seems to be very unmaintained at the moment :-().
Also please try Firefox or Opera to see if it's IE specific. IE is bad in supporting Javascript standards, so maybe sth.goes wrong there.
Comment #9
Cybso commentedThis problem might be related to the usage of https. I've experienced this (and a similar problem with dbfm) when accessing my site through https. There was a "security violation" in Opera's Error Console. I think the JS tries to communicate always via HTTP, which results in a sandbox violation (http://example.com might be another vhost than https://example.com).
Comment #10
deweydui commentedAnybody know how I can set it up so that the root directory is /sites/default/files and not one level down? It's giving me the error, "WebFM root not set."
Thanks.
Comment #11
Aleksic commentedI agree with deweydui. This is exactly trouble I was have also, but no anymore. Right now I decide to uninstall this great module:)
Comment #12
robmilne commentedI just installed a fresh 6.5 site on my localhost and had no issue placing the filesys at /sites/default/files after using creating a settings.php file in the default dir. Of course a
"WebFM root not set" error arises on the first visit to the module if a root path hasn't been first set in the settings for the module.
Comment #13
Anonymous (not verified) commentedI am having the same problem. Anyone found any luck around this issue of "invalid upload path"???
ENVIRONMENT
wamp
Drupal 6.8
WebFM 6.x-2.10-rc3
WebFM root Directory = 'webfm'
File system path = 'sites/default/files'
Browser = IE7
SYMPTOMS
'invalid upload path'
Comment #14
stompersly commentedI found out I get this error if the file is too big, test a smaller file. I had to increase my php upload and post sizes and restart apache.
Comment #15
nhck commented