MCFileManager:FAQ
From Moxiecode Documentation Wiki
Frequently Asked Questions
FileManager if created to be easy to integrate with existing server applications such as CMS systems, web hosting controllers or LMS systems.
All I get is an 404 error in the dialog
Most likely mod_rewrite. See below for details.
It just loads and loads forever
Most of the times this because the mod_security plugin is enabled and it blocks the JSON-RPC calls for listing the files. You can normally disable the mod_security engine for specific directories by adding a .htaccess file inside the filemanager directory. Add the following contents to that file:
SecFilterEngine Off SecFilterScanPOST Off
It loads an incorrect page when I open the FileManager
This can be due to many things but the most common is that there is a mod_rewrite rule interfering with the FileManager page requests. You can most of the times disable this for the filemanager directory by creating a .htaccess file with the contents below in it and place that one in the filemanager directory.
# Add this rule to a .htaccess file in the filemanager directory RewriteEngine On
Thumbnails does not get generated.
Verify write access to the images folder, also verify your thumbnail.gd.enabled settings if you use the PHP version.
I can't override option XYZ in a specific directory / mc_access not working.
Check the .allow_override option in you config.php/web.config file and also that it's not restricted by some other mc_access file. Remember the config options inherits.
Variable substitution in options is not working.
If you specify for example ${rootpath} remember to place the contents of this option within ' characters instead of " characters if you are using the PHP version. Since PHP will otherwise think that the $ is a internal PHP variable.
This will not work: $mcFileManagerConfig['filesystem.file_templates'] = "${rootpath}/templates/document.htm"
This will work: $mcFileManagerConfig['filesystem.file_templates'] = '${rootpath}/templates/document.htm'
The page is blank/white when I open up MCFileManager
Check your webserver logs, if "display_errors" is off in PHP it will not display them on the page, you need to check the apache error files. You could also upload a simple php file with<?php phpinfo(); ?>in it so that you can check the configuration settings in PHP, check for display_errors and any type of logging information.
Upload, create directory is greyed out
Check so that the PHP user has write access to folder.
I can't upload larger files
Make sure that your application runtime is configured correctly:
PHP settings needed in php.ini you can check this with a phpinfo call.
; Maximum allowed size for uploaded files. upload_max_filesize = 50M ; Maximum size of POST data that PHP will accept. post_max_size = 50M
In .NET you need to specify this in your web.config:
<system.web> <!-- Enable 32MB uploads --> <httpRuntime maxRequestLength="32768" /> </system.web>
