-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Download and Direct link problems when using with a subfolder... #907
Comments
@carlpeer thanks for reporting the issue. try following config, $root_path = $_SERVER['DOCUMENT_ROOT'].'/subfolder';
$root_url = 'subfolder'; please share some screenshots, it will be helpful to fix. |
@prasathmani Thank you for your support! You will see the page not found error See the screenshot below for the download button that doesn't work... |
@carlpeer , thanks for sharing, Let me check. |
prasathmani
added a commit
that referenced
this issue
Dec 3, 2022
@carlpeer, download issues is fixed now. try with latest version. |
ner00
pushed a commit
to ner00/tinyfilemanager
that referenced
this issue
May 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Case 1:
$root_path = $_SERVER['DOCUMENT_ROOT'].'/subfolder';
$root_url = '';
When using this: download works, but direct link doesn't work.
Case 2:
$root_path = $_SERVER['DOCUMENT_ROOT'].'/subfolder';
$root_url = '/subfolder';
When using this: download works, and direct link works, but when you login with this config you will receive a page not found, because the path to the script becomes: http://url/subfolder/subfolder/index.php
So, the subfolder is a second time in the path.
Problem 2:
Download doesn't work when you click on a filename, and use 'download' on that screen... No download starts and the script returns to the main view with all the files.
The text was updated successfully, but these errors were encountered: