Page 1 of 1

File manager not working.

Posted: Mon Mar 22, 2021 7:57 pm
by kombajnik
Hello, uploading via filemanager not working.

After finish of upload in console appear error:
Image

Re: File manager not working.

Posted: Mon Mar 22, 2021 9:37 pm
by myVesta
I think the error is somewhere else.
Can you check the Response of ajax upload?

Re: File manager not working.

Posted: Tue Mar 23, 2021 12:00 am
by kombajnik
dpeca wrote: Mon Mar 22, 2021 9:37 pm I think the error is somewhere else.
Can you check the Response of ajax upload?
How to check response of ajax?


ps.
i tested this on 3 copies of myvestacp, every copy of myvestacp on another vps, and all have the same problem.

Re: File manager not working.

Posted: Tue Mar 23, 2021 12:34 am
by myVesta
I believe this code is causing your problem - https://github.com/myvesta/vesta/commit ... 0d3860f355
You can delete those lines, as temporary solution.

This security fix is expecting that you access the panel via URL: https://hostname-of-your-server:8083/
Probably you are accessing the panel with address that is different than hostname of your server.

I will try to fix it in next update.

Re: File manager not working.

Posted: Tue Mar 23, 2021 8:35 pm
by kombajnik
dpeca wrote: Tue Mar 23, 2021 12:34 am I believe this code is causing your problem - https://github.com/myvesta/vesta/commit ... 0d3860f355
You can delete those lines, as temporary solution.

This security fix is expecting that you access the panel via URL: https://hostname-of-your-server:8083/
Probably you are accessing the panel with address that is different than hostname of your server.

I will try to fix it in next update.
Thank you, entering via domain(hostname) fixed problem!