Hello,

I just installed Filebrowser 6.x-2.0-beta2 on top of Drupal 6.2. (I don't have mod_rewrite enabled)

I created a "directory listing" pointing to /mnt/public. Drupal named it node/2855.

Traversing directories is working pretty good. (Linked URL appear like this: http://www.site.org/?q=node/2855/Subfoldername)

My problem is I cannot access the files: I get "Page not found". Linked URL appear like this: http://www.site.org/?q=mnt/public/Subfoldername/File.pdf while it should be: http://www.site.org/mnt/public/Subfoldername/File.pdf (without "?q=").

Any advice on this issue?

Comments

Susurrus’s picture

Category: support » bug

So that seems to be a bug. It looks like the URL generation for file links uses l() when it should just link to them directory. I'll propose a patch later today, but it should be a quick fix.

cst-1’s picture

Thank you for looking at it.
Another issue I found is that I cannot expose a "directory listing" to anonymous visitors.

Susurrus’s picture

Please file a separate bug for that, cst. It makes it easier on me.

Susurrus’s picture

Title: Displaying files doesn't work. (Displaying folders does) » Links to files incorrectly adjusts according to Clean URL settings
Status: Active » Fixed

Should be fixed now. Check it out in the nightlies or next release.

cst-1’s picture

I confirm the issue is fixed using 6.x-2.x-dev of 2008-Jul-02.
Thanks a lot Susurrus.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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