Renaming folders? #858
Unanswered
redherring917b
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there.
I find myself unable to rename an existing folder. I had a similar issue with renaming files, until I realized that I had to add to my allowed list of $allowed_file_extensions in the config.php file that I'm using. But allowing extensions wouldn't apply to folders, obviously. Any thoughts on how to successfully rename a folder?
EDITED: To perhaps be clearer, when attempting to rename a folder I'm just getting the "Error while renaming from [oldname] to [newname]" message, so it would seem to be failing on this condition in tinyfilemanager.php:
if (fm_rename($path . '/' . $old, $path . '/' . $new)) {
I've output both the old and new paths and they are identical save for the changed folder name.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions