Hi,
I have successfully configured this module to work correctly in the past. However, I am creating a new site and the Manage Directories link doesn't appear, not even for user 1. I've checked to see that the permissions in IMCE>settings>user-1 are set to add/delete directories.
I've been comparing my two sites to try and see what different and might be causing this. No luck so far.
Does anyone have any ideas on what might be causing this? Has anyone else experienced this?
Any tips or clues appreciated!
-Tim
Comments
Comment #1
TimG1 commentedI had someone fix this for me. It works now. This is what they said the problem was...
"The module uses the name mkdir.js that uses the mkdir system command name which is not permissible on a linux server."
Making these 3 changes got it working...
drupal_add_js(drupal_get_path('module', 'imce_mkdir') .'/imce_mkdir.js');to
drupal_add_js(drupal_get_path('module', 'imce_mkdir') .'/imce_mdir.js');Why this works is beyond my area of expertise, but it works... Switching this to a bug category.
-Tim
Comment #2
ufku commentedThat's mod_security of Apache who is blocking URLs that contain some predefined words. You can ask your hosting provider to configure mod_sec to allow imce_mkdir.
Comment #3
nisaak commentedI've run into the same issue. I tried the suggestion in reply #1 which made the button appear, however, it throws an error when I try to create a folder, I'm not quite sure if this is related to the same issue or if this is something else. The error that appears is: An HTTP error 404 occurred. /imce?jsop=mkdir&dir=.
Alternately, what modification would I need to make to mod_security in order to allow this module to work? I'm not very familiar with mod_security and I'd rather not end up with a big hole in my security settings.
Any advice is appreciated! Thanks
Comment #4
baff commentedsubscribe - after updatig imce module imce mkdir does ot show anymore
Comment #5
zyxware commentedPlease apply the attached patch out side the imce_mkdir module and rename the module name to imce_mdir. It is working for me
Comment #6
puppyman commentedEven after applying the patch, the Manage Directory button still does not appear in the file manager. I've tried IMCE_mkdir with Drupal 7 with no problems. I have "Add Directories" and "Delete Directories" checked in the settings. Everything should be fine as far as configuration. No luck... Any ideas as to why this might still be happening?
Comment #7
CanOne commentedits working great :)
Comment #8
jnettikI'm having the same problem with this module on my server in both D6 and D7. I'm working with my host right now to allow the imce_mkdir however I feel like this should be something should be fixed in the module. Would the patch in #6 ever get committed? Just simply seems like the module needs a rename to be compatible with a lot of people's security. Thoughts?
Comment #9
enrique.delgado commentedI also have this issue, except that in version 7.x-1.0-beta2. I have tried renaming the module directory, javascript file and everything as described above with no luck. The settings look right, file permissions look right, but no luck. So frustrating :-/