-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot delete or edit filename or folder name. #2040
Comments
Hi, i might found the issue. Usually the delete command will be 'rm', but the system that im using require to use 'trm' instead. Its that possible that I can do any modification on this? But still got no idea whats going on cant create folder or txt document. |
@Jeffery4000 The localFileSystem driver of elFinder uses PHP's file function to process it. For example, file deletion is |
@nao-pon Hi, thanks for your reply. I tested with a common php script below and it successfully delete my test.txt in the same directory. So its seems like my unlink function is working correctly. I got problem deleting a folder which is not empty. Any idea on how to do this? $Path = './test.txt'; Problem encounter:
|
I tried other web file explorer running php as well, everything seems fine. But i will still prefer elFinder, so hope that we could find out the issue here. Thank you. |
Did you check the permissions? |
Do you mean the file/folder permission? Yes, I did. |
Yes, it is. Is the owner of the folder a PHP execution account? If not, please change it to 0777 and so on. |
Also, please set |
@nao-pon Thanks for your prompt reply. I did what you mentioned, and there seems no error on apache server log. |
If the folder name and the file name are ASCII character strings, the locale problem will not occur. By the way. You said "Error: Invalid backend response. Data is not JSON." in the first. Can you check HTTP responce at that case? |
this is what im getting |
OK, Probably, elFinder version is old. Please try the latest 2.1.24 or nightly build. |
Tried both 2.1.24 and nightly build but all getting the same error. Should i give up and use other file explorer instead? |
Is it same to "Fatal error: Uncaught ArgumentCountError: Too few arguments to function access(), 5 passed in /home/psltr/.app/apache2/htdocs/elfinder/php/elFinderVolumeDriver.class.php on line 3677"? line 3677? |
@Jeffery4000 I found a bug! I'll fix it. Really thanks! |
|
Seems fine now with the nightly build. Thanks a lot =) |
Long Path Tool deletes, copies and renames path too long files/folders. Try using long path tool . It worked for me . ! I hope it helps |
When i try editing folder or file name, it throw me an error
Error: Invalid backend response. Data is not JSON.
I was able to delete any file under root directory but not in any folder, with the same error message on top.
May i know whats the issue ?
As i was able to run everything fine on my ubuntu, when i try to locate elFinder to a web server. This things happend.
The text was updated successfully, but these errors were encountered: