Author Topic: problems in user accounts to edit files  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
problems in user accounts to edit files
« on: November 18, 2021, 03:57:03 AM »
Hello, from about 3 days ago, users who want to edit a file cannot because of this error when giving it in save:  failed to open stream: Permission denied in /usr/local/cwpsrv/var/services/users/codeEditor.php on line 0
and tried changing the permissions but without any result, From my administrator account if I can use the file editor of the file manager without problem, but from the user accounts it is not possible, can you help me, Thank you.

Offline
*
Re: problems in user accounts to edit files
« Reply #1 on: November 18, 2021, 04:19:17 AM »
Hi, I'm not expert on programming, Here I give you an idea to troubleshoot the problem.
1. create a new account weather the editor working or not
2. CWP admin panel navigate to [Filemanagement]>[CWP log Viewer]>[Registry file: error log] and select the domain had issue

Offline
*
Re: problems in user accounts to edit files
« Reply #2 on: November 18, 2021, 05:22:26 AM »
And created a new account and from the new account if the file editor works :), but all other accounts on the server the file editor does not work, I found some error logs in one that I review and it gives this.

17/Nov/2021:23:50:27 -0500] "POST /cwp_ec39ba369dc2d13b/montesio/codeEditor.php?filename=/home/montesio/public_html/index.html HTTP/1.1" 200 202 "/cwp_ec39ba369dc2d13b/montesio/codeEditor.php?filename=/home/montesio/public_html/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53"
[17/Nov/2021:23:50:30 -0500] "GET /cwp_ec39ba369dc2d13b/montesio/codeEditor.php?filename=/home/montesio/public_html/index.html HTTP/1.1" 200 18293 "/cwp_ec39ba369dc2d13b/montesio/fileManager_v2.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53"
[17/Nov/2021:23:51:38 -0500] "GET /cwp_ec39ba369dc2d13b/montesio/montesio/index.php?module=filemanager&resolveIds=1&acc=listFiles¤tDir=/home/montesio/public_html/ HTTP/1.1" 200 770 "/cwp_ec39ba369dc2d13b/montesio/fileManager_v2.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53"
[17/Nov/2021:23:51:45 -0500] "GET /cwp_ec39ba369dc2d13b/montesio/codeEditor.php?filename=/home/montesio/public_html/index.html HTTP/1.1" 200 18293 "/cwp_ec39ba369dc2d13b/montesio/fileManager_v2.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53"
[17/Nov/2021:23:51:53 -0500] "GET /cwp_ec39ba369dc2d13b/design/images/loader.gif HTTP/1.1" 404 191 "/cwp_ec39ba369dc2d13b/montesio/codeEditor.php?filename=/home/montesio/public_html/index.html"
« Last Edit: November 18, 2021, 05:46:23 AM by Danielcr »

Offline
*
Re: problems in user accounts to edit files
« Reply #3 on: November 18, 2021, 06:28:26 AM »
To tell you that I have managed to solve the problem from the administrator control panel with the fix Permissions tool in the users section, we can mark this issue as solved, Thank you very much for everything.

Offline
*****
Re: problems in user accounts to edit files
« Reply #4 on: November 18, 2021, 12:22:16 PM »
Hello
Please try to repair the user account permissions from the administration panel in the Fix permissions session