Closed mattlr20 closed 9 years ago
FM is suspecting an attack .... could you post your config file ?
I'm talking about filemanager.config.js file : https://github.com/simogeo/Filemanager/blob/master/scripts/filemanager.config.js.default
{
"_comment": "IMPORTANT : go to the wiki page to know about options configuration https://github.com/simogeo/Filemanager/wiki/Filemanager-configuration-file",
"options": {
"culture": "en",
"lang": "php",
"theme": "flat-dark",
"defaultViewMode": "grid",
"autoload": true,
"showFullPath": false,
"showTitleAttr": false,
"browseOnly": false,
"showConfirmation": true,
"showThumbs": true,
"generateThumbnails": true,
"searchBox": true,
"listFiles": true,
"fileSorting": "default",
"chars_only_latin": true,
"dateFormat": "d M Y H:i",
"serverRoot": true,
"fileRoot": false,
"baseUrl": false,
"logger": true,
"logfile": "C:/filemanager_log.txt",
"capabilities": ["select", "download", "rename", "delete", "replace"],
"plugins": []
},
"security": {
"allowFolderDownload": false,
"allowChangeExtensions": false,
"allowNoExtension": false,
"uploadPolicy": "DISALLOW_ALL",
"uploadRestrictions": [
"jpg",
"jpe",
"jpeg",
"gif",
"png",
"svg",
"txt",
"pdf",
"odp",
"ods",
"odt",
"rtf",
"doc",
"docx",
"xls",
"xlsx",
"ppt",
"pptx",
"csv",
"ogv",
"mp4",
"webm",
"m4v",
"ogg",
"mp3",
"wav",
"zip",
"rar"
]
},
"upload": {
"multiple": true,
"number": 5,
"overwrite": false,
"imagesOnly": false,
"fileSizeLimit": 16
},
"exclude": {
"unallowed_files": [
".htaccess",
"web.config"
],
"unallowed_dirs": [
"_thumbs",
".CDN_ACCESS_LOGS",
"cloudservers"
],
"unallowed_files_REGEXP": "/^./",
"unallowed_dirs_REGEXP": "/^./"
},
"images": {
"imagesExt": [
"jpg",
"jpe",
"jpeg",
"gif",
"png",
"svg"
],
"resize": {
"enabled":true,
"maxWidth": 1280,
"maxHeight": 1024
}
},
"videos": {
"showVideoPlayer": true,
"videosExt": [
"ogv",
"mp4",
"webm",
"m4v"
],
"videosPlayerWidth": 400,
"videosPlayerHeight": 222
},
"audios": {
"showAudioPlayer": true,
"audiosExt": [
"ogg",
"mp3",
"wav"
]
},
"pdfs": {
"showPdfReader": true,
"pdfsExt": [
"pdf",
"odp"
],
"pdfsReaderWidth": "640",
"pdfsReaderHeight": "480"
},
"edit": {
"enabled": true,
"lineNumbers": true,
"lineWrapping": true,
"codeHighlight": false,
"theme": "elegant",
"editExt": [
"txt",
"csv"
]
},
"customScrollbar": {
"enabled": true,
"theme": "inset-2-dark",
"button": true
},
"extras": {
"extra_js": [],
"extra_js_async": true
},
"icons": {
"path": "images/fileicons/",
"directory": "_Open.png",
"default": "default.png"
},
"url": "https://github.com/simogeo/Filemanager",
"version": "2.0.0-dev"
}
OS version ? are you using a AMP package ?
I am using Windows OS. I am not using a AMP package.
what is the path to your web server ? what is the path to your Filemanger folder ?
The path to the filemanager folder is C:/dev/webprojects/Intranet/wwwroot/filemanager
Sorry, I'm having trouble finding out the path to the web server.
echo $_SERVER['DOCUMENT_ROOT']
Thanks, its: C:\dev\www
C:\dev\www
/scripts/filemanager.config.js.default
and rename it to /scripts/filemanager.config.js
It works! Thanks for helping so quickly!
I believe this particular "No Way" error is from line 230 in the php connector. Any ideas?
Here is the log. [08/09/2015 02:43:49]#1.0.0.1#Filemanager::enableLog - Log enabled (in Z:/filemanager_log.txt file) [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->root value Z:\path\Filemanager-master\ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->path_to_files Z:\path\Filemanager-master\userfiles/ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->doc_root value Z:\www [08/09/2015 02:43:49]#1.0.0.1#Filemanager::__construct $this->separator value userfiles [08/09/2015 02:43:49]#1.0.0.1#substr path_to_files : \ [08/09/2015 02:43:49]#1.0.0.1#path_to_files : Z:\path\Filemanager-master\userfiles\ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::error - error message : No way. [08/09/2015 02:43:49]#1.0.0.1#Filemanager::enableLog - Log enabled (in Z:/filemanager_log.txt file) [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->root value Z:\path\Filemanager-master\ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->path_to_files Z:\path\Filemanager-master\userfiles/ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::construct $this->doc_root value Z:\www [08/09/2015 02:43:49]#1.0.0.1#Filemanager::__construct $this->separator value userfiles [08/09/2015 02:43:49]#1.0.0.1#substr path_to_files : \ [08/09/2015 02:43:49]#1.0.0.1#path_to_files : Z:\path\Filemanager-master\userfiles\ [08/09/2015 02:43:49]#1.0.0.1#Filemanager::error - error message : No way.