Page 1 of 1

Problem with editing files in file manager

Posted: Tue 19. May 2020, 21:05
by frajer
Hello, im on the phone right now, and i have to change something in my forum .htaccess, but after editing, it says "Failed to update file".

I had that problem on KeyHelp 20.0, so i thought its a 20.0 problem, but after upgrading to 20.1 i still cant edit it.

I tried also .html and .php files but still the same problem.

How can i fix it?

EDIT: I forgot to say, i had that issue on DigitalOcean, and i moved to another hosting but still the same problem.

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 21:41
by Alexander
This sounds, that your file permissions aren't correct.

Please check if the files belong to the correct owner and have appropriate file permissions.

(You may want to post a screenshot if you are unsure.)

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 21:43
by frajer
What permissions do you mean? 775 or 777?

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 21:49
by frajer
Hello, i changed permissions to 777, now it works. Thanks!

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 22:37
by frajer
By The Way, does KeyHelp have official Discord server?

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 22:43
by Jolinar
frajer wrote: Tue 19. May 2020, 22:37 By The Way, does KeyHelp have official Discord server?
No.

Re: Problem with editing files in file manager

Posted: Tue 19. May 2020, 23:12
by Alexander
frajer wrote: Tue 19. May 2020, 21:49 Hello, i changed permissions to 777, now it works. Thanks!
Although it works, the 777 permission is never a good choice. Please check the file owner. I guess the files belongs to root (or somebody else) and not the user it should be.
(You may have copied the files as root when setting up the account.)
All files should belong to the appropriate user account.
If you are logged in as a user "testuser", all files within it's /www/ folder should belong to the user "testuser".

Re: Problem with editing files in file manager

Posted: Sat 30. May 2020, 22:58
by prune
Can you please refine the editor? It does not show the full code in 1 screen view. You have to scroll vertically or horizontally.

Re: Problem with editing files in file manager

Posted: Tue 2. Jun 2020, 10:16
by Alexander
I have now added a full screen mode for the editor.