Skip to content

user specific directories causes Open in a new window to malfunction #1288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tbrockett opened this issue Mar 11, 2025 · 0 comments
Open

Comments

@tbrockett
Copy link

I placed tinyfilemanager.php in my root directory - www.mydomain.com
I wanted to isolate a user to the directory - www.mydomain/docs/pdf
So after much trial and error I set user specific directories to

$directories_users = array(
'admin' => '/home/mydomain/publi_html/docs/pdf',
);

That worked fine. After logging in as admin I was placed in the www.mydomain.com/docs/pdf subdirectory.

But when I clicked on a pdf no preview was available. When I arrived at the Download - Delete - Open - Backtribution page the Full path listed was Full Path: /home/mydomain/public_html/docs/pdf/Lee Well.pdf
That was correct but no preview was available.
When I clicked on open I received the following error message:
Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The URL was
https://www.mydomain.com/home/mydomain/public_html/docs/pdf/Project%20Review/Lee%20Well.pdf

How can I fix this?

Other than this error the program is wonderful and I will make a contribution.
Thank you for writing a wonderful and very useful program.
I will be using this as an alternative to DropBox.

Best Regards,
Tim B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant