Author Topic: Cant login to CWP User :2083  (Read 588963 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Cant login to CWP User :2083
« Reply #30 on: November 07, 2022, 02:47:01 AM »
Having the same problem, tried all the things listed in here and no help. Opened a paid ticket a WEEK ago and it's still not fixed.

-Dave


try turnoff adblock
change package

Did that, support could duplicate the error.
That was a week ago, have not heard back since.
-Dave

Offline
*
Re: Cant login to CWP User :2083
« Reply #31 on: November 23, 2022, 01:04:44 AM »
Still waiting on support, anyone else have a solution?
-Dave

Offline
*
Re: Cant login to CWP User :2083
« Reply #32 on: February 21, 2023, 09:07:43 AM »
I am also getting this error. After logging in, you will be redirected to a path like this:

https://domain:2083/login/?acc=logon

Offline
***
Re: Cant login to CWP User :2083
« Reply #33 on: February 21, 2023, 09:46:04 AM »


just change the packages and turn it back to the old one


turn off the adblock if you had one...


make your browser security lower (just for test)

but .... dont touch any file.. if you touch or edit... maybe it will not work
« Last Edit: February 21, 2023, 09:48:22 AM by PakPos »

Offline
*
Re: Cant login to CWP User :2083
« Reply #34 on: February 21, 2023, 09:50:31 AM »
/usr/local/cwpsrv/logs/error_log


2023/02/21 16:42:49 [error] 2856#0: *285 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'apache_additional' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'dns' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fant3menu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: LANG in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'cloudlinux' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fsl' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'userpma' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'postgres' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'softmenu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'sitepad' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'streaming' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: url in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Fatal error:  Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/
2023/02/21 16:42:49 [notice] 2855#0: *307 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/21 16:42:49 [notice] 2855#0: *307 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"
2023/02/21 16:42:50 [info] 2855#0: *307 client 127.0.0.1 closed keepalive connection
2023/02/21 16:42:50 [error] 2856#0: *285 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Warning:  session_destroy(): Trying to destroy uninitialized session in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined variable: [obfuscated] in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined variable: [obfuscated] in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined variable: [obfuscated] in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined variable: [obfuscated] in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined variable: [obfuscated] in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Warning:  parse_ini_file(/usr/local/cwpsrv/var/services/users/login/conf/en.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 27.74.255.122, server: localhost, request: "GET /login/?acc=logon HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "control.webso1.vn:2083"
2023/02/21 16:42:50 [error] 2855#0: *286 open() "/usr/local/cwpsrv/var/services/users/login/cwp_theme/original/js/popper.min.js.map" failed (2: No such file or directory), client: 27.74.255.122, server: localhost, request: "GET /login/cwp_theme/original/js/popper.min.js.map HTTP/1.1", host: "control.webso1.vn:2083"
2023/02/21 16:42:50 [error] 2856#0: *293 open() "/usr/local/cwpsrv/var/services/users/login/toastr.js.map" failed (2: No such file or directory), client: 27.74.255.122, server: localhost, request: "GET /toastr.js.map HTTP/1.1", host: "control.webso1.vn:2083"
2023/02/21 16:42:50 [error] 2855#0: *286 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 27.74.255.122, server: localhost, request: "POST /login/index.php?acc=cookie HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "control.webso1.vn:2083", referrer: "https://control.webso1.vn:2083/login/?acc=logon"
2023/02/21 16:43:02 [error] 2856#0: *274 FastCGI sent in stderr: "PHP message: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, incomplete input in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_themes_lang.php on line 0
PHP message: PHP Fatal error:  Uncaught Error: Call to a member function fetchArray() on boolean in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_themes_lang.php:0
Stack trace:
#0 /usr/local/cwpsrv/htdocs/admin/admin/loader_ajax.php(0): unknown()
#1 {main}
  thrown in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_themes_lang.php on line 0" while reading response header from upstream, client: 27.74.255.122, server: localhost, request: "POST /cwp_e94e837346d3439af9a0f702454595d2/admin/loader_ajax.php?ajax=themes_lang&acc=feature_manager&op=editfeacture HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "control.webso1.vn:2087", referrer: "https://control.webso1.vn:2087/cwp_e94e837346d3439af9a0f702454595d2/admin/index.php?module=themes_lang2"
2023/02/21 16:43:51 [error] 2855#0: *327 open() "/usr/local/cwpsrv/htdocs/admin/robots.txt" failed (2: No such file or directory), client: 27.74.255.122, server: localhost, request: "GET /robots.txt?1676972641330 HTTP/1.1", host: "control.webso1.vn:2087"
2023/02/21 16:43:51 [error] 2856#0: *326 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 27.74.255.122, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "control.webso1.vn:2087", referrer: "https://control.webso1.vn:2087/cwp_e94e837346d3439af9a0f702454595d2/admin/fileManager_v2.php"

Offline
*
Re: Cant login to CWP User :2083
« Reply #35 on: February 22, 2023, 03:48:18 PM »
Hi, I just finished a fresh install of CWP and added a client account. I am also facing the same issue. The client account gets redirected to login after authentication. I have tried every solution mentioned in this and other threads but I can't figure this out.

Here is the result of
Code: [Select]
tail -f /usr/local/cwpsrv/logs/error_log
Code: [Select]
2023/02/22 14:40:59 [notice] 437#0: *9173 "^/v1/([^/]+)/?$" matches "/v1/valid_user/", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:40:59 [notice] 437#0: *9173 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [info] 437#0: *9173 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083", referrer: "https://srv.mydomain.com:2083/login/"
2023/02/22 14:41:00 [notice] 436#0: *9179 "^/v1/([^/]+)/?$" matches "/v1/generaluser/", client: 127.0.0.1, server: localhost, request: "POST /v1/generaluser/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [notice] 436#0: *9179 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/generaluser/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [info] 436#0: *9179 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [info] 436#0: *9181 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'apache_additional' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'dns' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fant3menu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: LANG in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'cloudlinux' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fsl' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'userpma' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'postgres' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'softmenu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'sitepad' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'streaming' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: url in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Fatal error:  Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/
2023/02/22 14:41:01 [notice] 437#0: *9186 "^/v1/([^/]+)/?$" matches "/v1/user_panel_dashboard/", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:01 [notice] 437#0: *9186 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:01 [info] 437#0: *9186 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:01 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property 'domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'account' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'pack' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'sub_domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'account' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'sub_domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'pack' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'ftp' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'domain' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'ftp' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framewor
2023/02/22 14:41:04 [notice] 437#0: *9189 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:04 [notice] 437#0: *9189 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"
2023/02/22 14:41:05 [info] 437#0: *9189 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:05 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083"
2023/02/22 14:41:05 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "POST /login/index.php?acc=cookie HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083", referrer: "https://srv.mydomain.com:2083/login/"



Offline
***
Re: Cant login to CWP User :2083
« Reply #36 on: February 23, 2023, 12:12:55 AM »
Hi, I just finished a fresh install of CWP and added a client account. I am also facing the same issue. The client account gets redirected to login after authentication. I have tried every solution mentioned in this and other threads but I can't figure this out.




are you use "CWP installer" from vps ?

please describe

OS:
Version:
how you get cwp
when the error occurs
(tell us more)

have you already change the template ?


i believe someone here can help with more data
« Last Edit: February 23, 2023, 12:14:50 AM by PakPos »

Offline
*
Re: Cant login to CWP User :2083
« Reply #37 on: February 23, 2023, 05:02:03 PM »
Yes I used CWP install script and everything else is working alright.
OS: CentOS Linux release 7.9.2009 (Core)
Version:0.9.8.1150


have you already change the template ?

Here is the result of:

Code: [Select]
yum info cwpsrv
Code: [Select]
Installed Packages
Name        : cwpsrv
Arch        : x86_64
Version     : 1.15.10
Release     : 4
Size        : 852 k
Repo        : installed
From repo   : cwp
Summary     : CWP daemon
URL         : http://centos-webpanel.com
License     : Proprietary License
Description : This package provides cwpsrv service

I installed CWP using following steps
Code: [Select]
yum update -y
Code: [Select]
yum install wget
Code: [Select]
cd /usr/local/share
Code: [Select]
wget http://centos-webpanel.com/cwp-el7-latest
Code: [Select]
sh cwp-el7-latest
Code: [Select]
shutdown -r now
Then after creating first client account and tried to login but after showing successfully logged in the panel throws me back to login page

I checked error log using
Code: [Select]
tail -f /usr/local/cwpsrv/logs/error_log
Code: [Select]
2023/02/22 14:40:59 [notice] 437#0: *9173 "^/v1/([^/]+)/?$" matches "/v1/valid_user/", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:40:59 [notice] 437#0: *9173 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [info] 437#0: *9173 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083", referrer: "https://srv.mydomain.com:2083/login/"
2023/02/22 14:41:00 [notice] 436#0: *9179 "^/v1/([^/]+)/?$" matches "/v1/generaluser/", client: 127.0.0.1, server: localhost, request: "POST /v1/generaluser/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [notice] 436#0: *9179 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/generaluser/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:00 [info] 436#0: *9179 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [info] 436#0: *9181 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:00 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'apache_additional' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'dns' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fant3menu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: LANG in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'cloudlinux' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'fsl' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'userpma' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'postgres' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'softmenu' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'sitepad' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Trying to get property 'streaming' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: THEME in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice:  Undefined index: url in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Fatal error:  Uncaught Twig_Error_Loader: Unable to find template "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_theme). in /usr/local/cwpsrv/var/services/twig/lib/Twig/
2023/02/22 14:41:01 [notice] 437#0: *9186 "^/v1/([^/]+)/?$" matches "/v1/user_panel_dashboard/", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:01 [notice] 437#0: *9186 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:01 [info] 437#0: *9186 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:01 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property 'domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'account' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'pack' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'sub_domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'account' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'sub_domains' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'pack' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'ftp' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'domain' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Notice:  Trying to get property 'ftp' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framewor
2023/02/22 14:41:04 [notice] 437#0: *9189 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2023/02/22 14:41:04 [notice] 437#0: *9189 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"
2023/02/22 14:41:05 [info] 437#0: *9189 client 127.0.0.1 closed keepalive connection
2023/02/22 14:41:05 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0
PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083"
2023/02/22 14:41:05 [error] 437#0: *9171 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 122.129.80.120, server: localhost, request: "POST /login/index.php?acc=cookie HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "srv.mydomain.com:2083", referrer: "https://srv.mydomain.com:2083/login/"

Then I tried changing packages by creating first creating a reseller package then assigning to the user and then switching back the package.

Then I tried assigning default theme and language using
Dashboard>User Accounts>Features,Themes,Language

Then I tried rebuilding user configuration using following command:
Code: [Select]
sh /scripts/cwpsrv_rebuild_user_conf
Then I tried repairing databases using Dashboard>SQL Services>MySQL Manager>Repair Database.

But the problem is still there and the error is same. Nothing I do seems to affect it.

Today I tried logging in using ip address instead of server hostname and it gave me 502 Bad Gateway Error after login. When I check the
Code: [Select]
tail -f /usr/local/cwpsrv/logs/error_log the error was still same as mentioned above..


Posted by: Webso1dotcom
« on: February 21, 2023, 09:50:31 AM »

    Insert Quote


Offline
*
Re: Cant login to CWP User :2083
« Reply #38 on: June 02, 2023, 12:50:16 PM »
I have the same problem after upgrading the CWP from version 0.9.8.1148 to 1157. Please help!

Offline
*****
Re: Cant login to CWP User :2083
« Reply #39 on: June 02, 2023, 01:15:27 PM »
Have you tried logging in twice? Login once and it appears to succeed but kicks you back to the login page. But then immediately login again and then it will actually succeed. This was a bug I encountered and was my workaround (but that client rarely logged into the user control panel, so it wasn't much of an issue). I resolved it by adjusting the features of the user under User Accounts>Features,Themes,Language -- since it was a dedicated VM for a single client, I effectively gave them full permissions and full features over every aspect of the server. After that, they were able to login on the first try. You don't need to go to that extreme, just try giving them one feature not currently assigned and see if that fixes it.

Offline
*
Re: Cant login to CWP User :2083
« Reply #40 on: June 02, 2023, 02:04:06 PM »
There is no feature for my user accounts. I created one anyway but still got the same error. It redirected me to the 2083 login page when I tried to open the panel with the token from the CWP Pro console. I got the uerror when I tried to log in from the Cpanel user page.

The log shows these errors...

[error] 964#0: *2105 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/var/services/user_api/v1/app/routes/modules/redirect.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "127.0.0.1:2302"

[error] 965#0: *2103 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.0", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:"

Offline
*****
Re: Cant login to CWP User :2083
« Reply #41 on: June 03, 2023, 02:35:38 AM »
When I see errors re: "The encoded file... has expired" it makes me believe it is an IonCube problem, which is either a non up-to-date CWP installation or PHP version. Is your CWP fully up to date? Did you run
Code: [Select]
yum -y update
/scripts/update_ioncube
/scripts/update_cwp

Offline
*
Re: Cant login to CWP User :2083
« Reply #42 on: June 03, 2023, 01:17:55 PM »
The CWP is up to date. It`s running version 0.9.8.1157.

Any ideas for these warnings in the log?

[03-Jun-2023 08:09:30] WARNING: [pool login] child 21778 said into stderr: "mkdir: cannot create directory '/usr/local/cwp/php71/tmp': Permission denied"
[03-Jun-2023 08:09:31] WARNING: [pool cwpsrv] child 21155 said into stderr: "NOTICE: PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/var/services/user_api/v1/app/routes/modules/redirect.php</b> has expired. in Unknown on line 0"
[03-Jun-2023 08:09:31] WARNING: [pool login] child 21778 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0"
[03-Jun-2023 08:09:31] WARNING: [pool login] child 21778 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: intended in /usr/local/cwpsrv/var/services/users/login/index.php on line 0"
[03-Jun-2023 08:09:31] WARNING: [pool login] child 21778 said into stderr: "NOTICE: PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/local/cwp/php71/tmp/session) is not within the allowed path(s): (/tmp/:/usr/local/cwpsrv/var/services/users/login/:/usr/local/cwpsrv/var/services/users/cwp_theme/:/usr/local/cwpsrv/var/services/twig/) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0"
[03-Jun-2023 08:09:31] WARNING: [pool login] child 21778 said into stderr: "mkdir: cannot create directory '/usr/local/cwp/php71/tmp': Permission denied"

Offline
*
Re: Cant login to CWP User :2083
« Reply #43 on: June 06, 2023, 08:20:51 AM »
Same issue here, also paid for managed support and nothing yet, it's been almost a week.

Offline
*
Re: Cant login to CWP User :2083
« Reply #44 on: June 13, 2023, 06:55:40 PM »
Has anyone heard of a fix yet?
It's been days....