Skip to content
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

Can't open rootFolder #46

Closed
SlitYahoo opened this issue Sep 12, 2016 · 4 comments
Closed

Can't open rootFolder #46

SlitYahoo opened this issue Sep 12, 2016 · 4 comments

Comments

@SlitYahoo
Copy link

Hi! I Get Server error when I set in filemanager.config.json
"serverRoot": true,
"fileRoot": "MyFolder/",
MyFolder is located in domain.com/MyFolder.
Filemanager si located in domain.com/MyFolder/NewFolder/filemanager/index.html

@psolom
Copy link
Owner

psolom commented Sep 13, 2016

Where is your userfiles folder supposed to be located?
Cause you don't need to change "fileRoot" option if you use default folder structure of FM and your userfiles folder is locatead under the domain.com/MyFolder/NewFolder/filemanager/

Your current setup means that your userfiles folder is located in [server_root_folder]/MyFolder/
Which is strange because I doubt I want to save user files directly to /MyFolder, it looks more reasonable
to specify "fileRoot" as "MyFolder/userfiles" in that case. And don't forger to create the specified folder.

@SlitYahoo
Copy link
Author

I want to have ability to delete filese in domain.com/. By setting property the way I describe above I can open folder using exclusiveFolder property. So I can open domain.com/MyFolder but I can't open domain.com/. I thought it worked few days ago :-)

@psolom
Copy link
Owner

psolom commented Sep 14, 2016

You should check your folder permissons.
I don't know what you try to achieve but anyhow it seems strange for me that you set "fileRoot" folder to "domain.com/MyFolder" which is parent for the FM folder.

@SlitYahoo
Copy link
Author

Thanks man :-) you are very bright. The problem was folder premission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants