No matter what I set my IMCE profile directory to be, it does not display any files. Normally I'd have the directory path be "sites/default/files", which contains a bunch of 777 files. None of these are visible within IMCE, and no matter what I set the directory to, IMCE always displays it as empty.

Curiously enough, I can't upload files either. The upload always hangs. When I refresh, it shows the file as existing in the directory, but clicking on it gives me a question mark image, and looking at the FTP folder, the file isn't *really* there.

Comments

ufku’s picture

Category: bug » support

You set the main directory in file system settings, which is independent of an IMCE profile.
In an IMCE profile you set paths relative to the main directory.

ShooterMG’s picture

Thanks, I was able to solve the problem with your advice.

For one, Drupal was set to use the private file system by default, so I had to change that to public in my file system settings. For two, I specified "sites/default/files" in both my file system settings and in IMCE, so in IMCE I changed it to "."

Lastly, and I'm not sure if this was necessary, I unchecked the "disable serving of private files" box in IMCE. Now it performs as expected.

ufku’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.