I think I've installed everything as directed:

my drupal installation is in a subdirectory - http://mydomain.net/drupal
the base url is http://mydomain.net

so my paths are

http://mydomain.net/drupal/files
http://mydomain.net/drupal/files/webfm > /webfm in WebFM settings with chmod 775
http://mydomain.net/drupal/files/webfm-ftp > /webfm-ftp in WebFM settings with chmod 775

i put some files in the ftp folder but I am not able to see these. I also cannot make a directory with the "Create New Dir" button - I get a "mkdir fail" message.

here's a log of what i get it the debug log:
mkdir=
mkdir=
tree fetch url:http://mydomain.net/?q=webfm_js
tree fetch url:http://mydomain.net/?q=webfm_js
mkdir=
tree fetch url:http://mydomain.net/?q=webfm_js
mkdir=
mkdir=
mkdir=
current directory undefined
tree fetch url:http://mydomain.net/?q=webfm_js
tree fetch url:http://mydomain.net/?q=webfm_js

is it some sort of permissions thing? i really can't figure out what's going on. Any ideas? Let me know if you need additional info about my setup.

thanks!!

Comments

robmilne’s picture

It is difficult to diagnose filesystem issues remotely with little information. You may need to open up the permissions to 777 depending on what file rights apache requires. Is drupal functioning on the site normally without WebFM?

drutube’s picture

I'm having this exact same issue. I don't know what more information one shoudl be supplying here. that he did not. The only thing I can add is that I'm suing the version that was uploaded on or about Feb 10.

I also tried the permissons both ways.

robmilne’s picture

Status: Active » Closed (fixed)
enboig’s picture

Version: 4.7.x-1.3 » 5.x-1.5

Same problem with 5.x-1,5 version. I set permissions to 777 in both directories, but I cannot upload files nor create directories.

Is there a way to debug this?

thanks

robmilne’s picture

>Is there a way to debug this?

Can you see the directories in WebFM? If you manually add (with ftp or OS shell) files/directories to the ftp area can you see them in WebFM? There isn't much I can say with such little info.

mbria’s picture

Status: Closed (fixed) » Active

Same issue in recently upgraded drupal 5.2, over an apache2 php-cgi 5.2.1 with suPHP and last stable webfm release (5.x-1.11).
The funny thing is that other site in the same server with same privileges (774) on "file/mywebfmdir" with drupal 5.1 and webfm 5.x-1.6 works like a charm.

And what is bizarre is that the "Directory Tree" is showing the directory correctly... but the right side, don't list and don't allow to create directories.

When refreshing the file area ("dirlistbody") WebFM's debug informs: current directory undefined
When creating a new directory the debugger reports: mkdir=
(and user interface highlights "mkdir fail")

Ohhh my God !! Just when I was close to submit this post webFM worked again !!
Could be related with the "Directory Tree" refreshing? Is webFM caching something?

The only thing in my configuration I can imagine could interfere it's that my server has to IPs under the same domain name... so it could be a problem for some ajax petitions, isn't it?

I don't know... I'm astonish to think clearly. 8-|

nhck’s picture

As per #803722: Cease support of Drupal 5? support for D4 and D5 has been closed. Sorry, please upgrade to Drupal 6. If you think this issue still applies with Version 6.x please reopen this issue with correct version tag.

nhck’s picture

Status: Active » Closed (won't fix)