Author Topic: Users cannot login in CWP Control WebPanel port 2083  (Read 1799 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Users cannot login in CWP Control WebPanel port 2083
« on: September 10, 2019, 02:29:49 PM »
Hello,

Like other I also have a problem with the users accessing the user panel.
info:
CWP version:
0.9.8.885
the users have a package assigned, some have a custom package and some users the default package but neither can login, the login page just refreshes if the username and password is correct.

Logs from /usr/local/cwp/php71/var/log/php-fpm.log:

[10-Sep-2019 17:17:35] WARNING: [pool cwpsrv] child 12770 said into stderr: "sed: couldn't write 78 items to stdout: Broken pipe"
[10-Sep-2019 17:17:37] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "ErrorException: Undefined index: OFFUSERSCHTHEME in /usr/local/cwpsrv/var/services/user_api/v1/app/routes/api.php:0"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "Stack trace:"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#0 /usr/local/cwpsrv/var/services/user_api/v1/app/routes/api.php(0): Slim\Slim::handleErrors(8, 'Undefined index...', '/usr/local/cwps...', 0, Array)"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#1 [internal function]: {closure}()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#2 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Route.php(0): call_user_func_array(Object(Closure), Array)"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#3 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php(0): Slim\Route->dispatch()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#4 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/Flash.php(0): Slim\Slim->call()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#5 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/MethodOverride.php(0): Slim\Middleware\Flash->call()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#6 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/PrettyExceptions.php(0): Slim\Middleware\MethodOverride->call()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#7 /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php(0): Slim\Middleware\PrettyExceptions->call()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#8 /usr/local/cwpsrv/var/services/user_api/v1/index.php(0): Slim\Slim->run()"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "#9 {main}"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "                                 Dload  Upload   Total   Spent    Left  Speed"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- "
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "--:--"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: ":--    "
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " 0"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "curl: (60) Peer's certificate issuer has been marked as not trusted by the user."
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "More details here: http://curl.haxx.se/docs/sslcerts.html"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: ""
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "curl performs SSL certificate verification by default, using a "bundle""
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " of Certificate Authority (CA) public keys (CA certs). If the default"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " bundle file isn't adequate, you can specify an alternate file"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " using the --cacert option."
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "If this HTTPS server uses a certificate signed by a CA represented in"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " the bundle, the certificate verification probably failed due to a"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " problem with the certificate (it might be expired, or the name might"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " not match the domain name in the URL)."
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: "If you'd like to turn off curl's verification of the certificate, use"
[10-Sep-2019 17:17:38] WARNING: [pool cwpsrv] child 12770 said into stderr: " the -k (or --insecure) option."
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: code in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:38] WARNING: [pool adruser] child 16226 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[10-Sep-2019 17:17:40] WARNING: [pool cwpsrv] child 12989 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[10-Sep-2019 17:17:46] WARNING: [pool cwpsrv] child 12770 said into stderr: "sed: couldn't write 78 items to stdout: Broken pipe"

Logs from /usr/local/cwpsrv/logs/error_log

2019/09/10 17:17:38 [info] 12529#0: *400 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *402 "^/v1/([^/]+)/?$" matches "/v1/token_valid/", client: 127.0.0.1, server: localhost, request: "POST /v1/token_valid/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *402 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/token_valid/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *402 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12528#0: *404 "^/v1/([^/]+)/?$" matches "/v1/updatetoken/", client: 127.0.0.1, server: localhost, request: "POST /v1/updatetoken/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12528#0: *404 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/updatetoken/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12528#0: *406 SSL_do_handshake() failed (SSL: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:SSL alert number 48) while SSL handshaking, client: 127.0.0.1, server: 127.0.0.1:2302
2019/09/10 17:17:38 [info] 12528#0: *404 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [info] 12528#0: *407 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *409 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *409 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *409 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12528#0: *411 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12528#0: *411 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12528#0: *411 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *413 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *413 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *413 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12528#0: *415 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12528#0: *411 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *413 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *413 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *413 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12528#0: *415 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12528#0: *415 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12528#0: *415 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *417 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *417 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *417 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12528#0: *419 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12528#0: *419 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12528#0: *419 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [notice] 12529#0: *421 "^/v1/([^/]+)/?$" matches "/v1/serverstatus", client: 127.0.0.1, server: localhost, request: "POST /v1/serverstatus HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *421 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/serverstatus HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *421 client 127.0.0.1 closed keepalive connection
2019/09/10 17:17:38 [error] 12528#0: *376 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: token in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: code in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: return in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: username in /usr/local/cwpsrv/var/services/users/ind
2019/09/10 17:17:38 [notice] 12529#0: *424 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [notice] 12529#0: *424 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/09/10 17:17:38 [info] 12529#0: *424 client 127.0.0.1 closed keepalive connection


Any ideea how this can be fixed?
Thank you,
Cristian


Offline
*
Re: Users cannot login in CWP Control WebPanel port 2083
« Reply #1 on: September 10, 2019, 04:03:12 PM »
I was facing the same issue , upon looking into the log files i found that hte error_log pointed at the dashboard file and its deps. I was able to solve this by setting the default theme and removing the users ability to change the theme.
path = featuers, themes and languages, select the themes tab, and confirm that the default theme  "dot" is selected, and hit the save button, try to login as user, is not go back and remove the users ability to change the theme, and save again. then try login.

applogies if this does not help.
« Last Edit: September 10, 2019, 04:06:24 PM by od1tspyd3r »

Offline
*
Re: Users cannot login in CWP Control WebPanel port 2083
« Reply #2 on: September 10, 2019, 07:51:31 PM »
od1tspyd3r thank you very much, it worked, you have saved me, thanks again.

Best regards,
Cristian