tinyfilemanager
tinyfilemanager copied to clipboard
application file disappear from server after a couple of minutes
Issue:
- I upload the file Tinyfilmanager.php via FTP in a subfolder, file permission 644, folder permission 755
- I can browse for a couple of minutes in the interface
- After a while I get error 404
- I'm going to check the folder where i uploaded the file, and the file Tinyfilmanager.php is missing, as never uploaded.
is the only file that diasappear, i don't understand why.
Error log report the following
Use of undefined constant FM_EXCLUDE_ITEMS - assumed 'FM_EXCLUDE_ITEMS' in /home/clsprplv/public_html/ipcam/tinyfilemanager.php on line 2248 [31-Dec-2019 20:03:54 Etc/UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /path/tinyfilemanager.php on line 2248
But I can't understand how to solve the error.
Am I missing some setting? Any help would be appreciated.
I have tried to copy the code ina previous php file, that disappear after a while
Hello I have the same problem. A Tinyfilmanager.php file contents disappear from server. (the file Tinyfilmanager.php is empty after the first call)
@decioviegas and @dagon84 , could you please check error logs and security logs, if you found something related to tinyfilemanager, plz share the logs, really it helps to find the root cause.
I have not error log.
Just open the login page and the file (Tinyfilmanager.php) will be empty
The Immunify360 has detected "Original (infected) file will be removed" Reason: SMW-SA-05072-mlw-4 Status: Content removed.
I am having the same issue. After log in, the contents of tinyfilemanager.php disappeared. Anyone know any workaround?
It's because of Immunify360. Reason: SMW-SA-05072-php.tool.filemanager-6
Temporary fixed by adding tinyfilemanager.php as an exclusion in immunify360
in https://github.com/prasathmani/tinyfilemanager/issues/461 you can see more details.
I have the same problem. Did anyone get any solution? My server deletes the file and there is no log on it.
@prasathmani anyone solved this issue?
@attare026 whitelist the script in your ImunifyAV
I had to contact the technical support of my hosting to create an exception on the server so that the file was not deleted.
whitelist the script in your ImunifyAV
can explain it how can I do? thanks
same, the provider locked the entire site, maybe you should mention that in the README, its kind of a big deal!!
removed PHP decoded code in the new version, hope it resolves the issue
isuue is not resolved yet in last version:
reason of delete: SMW-SA-05072-php.tool.filemanager-7
same issue SMW-SA-05072-php.tool.filemanager-7
has anyone solved this issue?
this bug is still present in version tiny file manager 2.4.7
Solution for cPanel firewall:
Open tinyfilemanager.php in a text editor And
Replace All:
fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH));
With:
$FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));
Hello...
the script was working fine on bluehost & hostinger hosting services, but after deploying the security feature the file was detected as malicious file & got deleted ⁉
i am very sad because this is the best file manager scripts that you can find so far... is there any progress on solving this issue ⁉
Regards,
I get the same issue "SMW-SA-05072-php.tool.filemanager-2".
File contents gets wiped after upload.
I've tried @FransW5's suggestion but that didn't work for me unfortunately.
@robsd
I tested on (cPanel 106.0.8 + cPGuard + imunify360 Malware scanner) and with the following replacement, solves the problem.
What hosting management system are you using? What antivirus and firewall is running on your host?
Replace All:
fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH));
With:
$FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));
This issue is addressed in the new release.
Hello...
Still the same issue on hostinger.com it sees it as (Malicious) file!
yes They are deleting instantly now. This single page file manager is awesome but can't run on Hostinger. Really need to do something quickly.
I am happy to fit it, but need more information what line or part of code is causing the problem.
I don't know which line is causing this problem as I have done many changes in Version 2.4.4 and It is working for me. Yesterday I updated the page and it disappear after few minutes. I re upload but again disappear. It was malware scanner from hostinger.com who keep deleting that file. Gave me sometime, Tomorrow I will download previous commits and Upload it One by one.
Winter Release 22 Latest version = 2.5.0 8de16a4 deleting Line number 3085-3087 solves the deleting problem.
if(is_array($contentType)) {
$contentType = implode(' ', $contentType);
}
Delete this above code.
Hello @Salkalkhan
I did what you suggested & it is still the same issue as you can see below :(
Hi, I don't know why it didn't got deleted within an hour but when Today I logged in my server it was deleted. I have left with only those files which were released before Feb 14 2022. I am still working to find the exact code which is causing this issue. Problem is they are not deleting instantly. After making any changes have to wait for them to delete that file.
My suggestion will be to go to commit and download any version which was uploaded before feb 14 this year and work till any solution is released.