New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

problems in user accounts to edit files

Started by Danielcr, November 18, 2021, 03:57:03 AM

Previous topic - Next topic

Danielcr

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.

weasam

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

Danielcr

#2
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"

Danielcr

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.

josemnunez

Hello
Please try to repair the user account permissions from the administration panel in the Fix permissions session