Greetings. I'm using IMCE 6.12 as a "standalone" module in Drupal 6.13 (meaning, I haven't integrated it into FCK or any other editor). My goal is give logged in users -- my clients -- access to a set of files I've uploaded for them. IMCE is *perfect* for this -- the File Browser tab on the user's account page, combined with the ability to create and restrict access to directories based on a logged-in user's username, is awesome! Well, except that I can't get it to work for clients.

Uploading and access restriction seem to do what they're supposed to, but any attempt to open or download a file throws a "Page Not Found" error. IMCE attempts to open the file at the URL [domain name]/sites/default/files/[username]/[filename]. That matches (excluding the domain name) the physical path in my installation. If I change that to [domain name]/system/files/[username]/[filename], the image or file is displayed properly.

I've tried configuring IMCE with and without absolute URLs. I've uninstalled and reinstalled. Now, I'm stuck, and any advice will be appreciated.

It may also help to know that when I first installed IMCE, Drupal was set to use private files -- meaning outside the web-accessible directory structure. IMCE didn't work with that configuration and I saw notes suggesting that it wasn't supported, so I switched to the public method.

Thanks for any help!

Comments

ufku’s picture

if a file is in sites/default/files/[username]/[filename] it should be accessible whether private files are on or off. Check directory permissions. It seems to allow reading to only the owner(PHP).

ufku’s picture

Status: Active » Closed (fixed)

Closing 6.x-1.x issues as this branch is no more supported.