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

Anonymous’s picture

Does your role have "administer webfm" permissions? If not you need to give the role a specific webfm directory in teh webfm settings.

mrfelton’s picture

I 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.

sjgarth’s picture

Same 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.

Anonymous’s picture

This must be sth. window specific, so I can't help any further since I don't have any windows host :-/

mrfelton’s picture

I'm getting this problem on a linux box actually (ubuntu).

Anonymous’s picture

Oh, 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.

richard102@drupal.org’s picture

Hi 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?

Frank Steiner’s picture

I 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.

Cybso’s picture

This 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).

deweydui’s picture

Anybody 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.

Aleksic’s picture

I agree with deweydui. This is exactly trouble I was have also, but no anymore. Right now I decide to uninstall this great module:)

robmilne’s picture

I 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.

Anonymous’s picture

I 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'

stompersly’s picture

I 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.

nhck’s picture

Status: Active » Closed (cannot reproduce)