Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: arifsiyad on May 04, 2021, 07:07:28 AM

Title: Cant login to CWP User :2083
Post by: arifsiyad on May 04, 2021, 07:07:28 AM
My resellers and their clients cant login to their controlpanel. Its keeping on getting redirected back to the same login page.

I have faced same issue before but after clearing cache it will get fixed...but now its not ...tried in different system same issue.

Anyone else facing the same issue?
Title: Re: Cant login to CWP User :2083
Post by: vlado on May 04, 2021, 08:58:57 AM
My clients cant login to their controlpanel. Its keeping on getting redirected back to the same login page.

I have faced same issue before but after clearing cache it will get fixed...but now its not ...tried in different system same issue.

Anyone else facing the same issue?
Title: Re: Cant login to CWP User :2083
Post by: ekgrad on May 04, 2021, 09:00:56 AM
delete the .conf folder in the user's home folder and then try again. don't worry the .conf folder will get created again.
Title: Re: Cant login to CWP User :2083
Post by: vlado on May 04, 2021, 09:07:20 AM
Not working deleting .conf file
Title: Re: Cant login to CWP User :2083
Post by: arifsiyad on May 04, 2021, 05:07:25 PM
Tried not working for me either.... Its an update bug on latestest version of CWP . I have been using CWP for 3 years now
Title: Re: Cant login to CWP User :2083
Post by: josemnunez on May 04, 2021, 08:47:00 PM
Please make sure you are on the latest version, if so, fill out a support ticket and refer to this forum thread and we will gladly resolve your issue.
Title: Re: Cant login to CWP User :2083
Post by: dmzone77 on May 05, 2021, 10:19:45 AM
Hi guys, anyone got any solution regarding the user login problems? Still, I am not able to log in to any user account.  Please share if anyone has got your problem resolved. I think every day updating server is very risky.

My CWPpro version is: 0.9.8.1059
Title: Re: Cant login to CWP User :2083
Post by: aozdemiroglu on May 05, 2021, 07:53:21 PM
What a recklessness !!! User panel does not work after update !!! Is nobody interested? Why did this forum open? We're testing the pen and it just burst in its first week. How would your support team not deal with such an important situation? User Panel Login cannot be made !!!!
Title: Re: Cant login to CWP User :2083
Post by: mk79 on May 07, 2021, 02:21:52 PM
I also had the same problem. I tried clearing the cache, trying a different browser, deleting the .conf folder but it didn't work.

My CWPpro version: 0.9.8.1060
Title: Re: Cant login to CWP User :2083
Post by: juanyves on May 10, 2021, 10:21:00 PM
Same problem with version 0.9.8.1061
No solution????? >:( >:(
Title: Re: Cant login to CWP User :2083
Post by: pau1phi11ips on February 14, 2022, 12:25:49 PM
Having the same issue on a fresh install of  latest version 0.9.8.1129

Anyone have any luck fixing this?
Title: Re: Cant login to CWP User :2083
Post by: stelian on March 03, 2022, 04:37:37 AM
The same issue here ... It seems there are several threads with the same issue and nobody has found a solution.
The support seems to ignore us completely.

Very frustrating considering that thousands of admins have the same issue and there is no answer on how to fix it.

If they don't know the platform, then who does?
There must be a guru who knows a quick fix.

Thank you.
Title: Re: Cant login to CWP User :2083
Post by: studio4host on March 03, 2022, 09:17:13 AM
check the logs and/or contact support this is something specific to your case since nobody else has the same issue.
Title: Re: Cant login to CWP User :2083
Post by: josemnunez on March 03, 2022, 12:44:26 PM
Hola

Try going to the administrator and force the theme for all accounts, this can be done from the features module.
Title: Re: Cant login to CWP User :2083
Post by: user1CWP on March 23, 2022, 01:36:31 PM
same problem. I keeping on getting redirected back to the same login page. how do i solve?
Title: Re: Cant login to CWP User :2083
Post by: josemnunez on March 23, 2022, 01:43:35 PM
Please check the following
1. Account disk space
2. Go to admin, feature module and change the language to the accounts
3. Check that /home/USER/tmp has write permission
Title: Re: Cant login to CWP User :2083
Post by: user1CWP on March 23, 2022, 02:35:03 PM
make changes. the problem continues.
help please
Title: Re: Cant login to CWP User :2083
Post by: josemnunez on March 23, 2022, 02:36:52 PM
Please complete a support ticket (FREE) and mention this ticket, please do not forget to enter the access to your server to be able to check the problem
Title: Re: Cant login to CWP User :2083
Post by: Alnork on March 23, 2022, 03:19:23 PM
same problem. I keeping on getting redirected back to the same login page. how do i solve?

Hi,

Close all browser tabs and only use one to log in.
Title: Re: Cant login to CWP User :2083
Post by: user1CWP on March 23, 2022, 04:33:56 PM
close all tabs. It does not work.  :(
Title: Re: Cant login to CWP User :2083
Post by: weasam on April 28, 2022, 12:26:07 PM
Has the issue fixed?  and how, my CWPpro version: 0.9.8.1135 also have the same issue
did like other clean everything and but with the same version on my local machine CWP Not having this issue
I guess is the SSL redirecting, tomorrow will try delete the SSL and Issue new one
Title: Re: Cant login to CWP User :2083
Post by: jsme on June 02, 2022, 08:25:50 AM
Hi there
I got the same issues.

OS: Rocky Linux release 8.6 (Green Obsidian)
MySQL: Ver 8.0.26 for Linux on x86_64

I solve the Issue by edit /root/.my.cnf and update mysql root user to user mysql_native_password
Title: Re: Cant login to CWP User :2083
Post by: jlsanabria on August 02, 2022, 03:52:26 PM
I have the same problem, I have tried everything you mention but it doesn't work, it's frustrating  :-\
Title: Re: Cant login to CWP User :2083
Post by: PakPos on August 02, 2022, 04:02:22 PM
what happen if

you change the package of the user
apply
then set the package to the correct one
Title: Re: Cant login to CWP User :2083
Post by: jlsanabria on August 02, 2022, 04:19:30 PM
nothing, I even created a new reseller type package and it didn't work
Title: Re: Cant login to CWP User :2083
Post by: PakPos on August 03, 2022, 04:11:30 AM
i mean this step

1. login as root
2. make sure you have at least 2 packages
3. go to user list
4. select user package then switch it to other packages.
5. apply
6. re select same user, and turn back the packages to first one
7. apply...

**) make sure you already push the member logout ( you can see the connected user at bottom left ) before step 3
Title: Re: Cant login to CWP User :2083
Post by: davevdm on September 05, 2022, 03:42:54 PM
Had same problem
Users couldn't log into their CWP panels and email account couldn't check mail.

From SQL Services ran Repair DB on the following DBs

mysql
oauthv2
postfix
postfix_policyd
roundcube
performance_schema

Not sure which one fixed the problem.
Title: Re: Cant login to CWP User :2083
Post by: Avidr on October 06, 2022, 05:14:33 PM
Hi I have the same problem, but I do what do you said, but in that tab don't appear nothing no DBS
Title: Re: Cant login to CWP User :2083
Post by: DaveF on November 04, 2022, 10:10:41 PM
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
Title: Re: Cant login to CWP User :2083
Post by: PakPos on November 05, 2022, 05:46:35 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
Title: Re: Cant login to CWP User :2083
Post by: DaveF 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
Title: Re: Cant login to CWP User :2083
Post by: DaveF on November 23, 2022, 01:04:44 AM
Still waiting on support, anyone else have a solution?
-Dave
Title: Re: Cant login to CWP User :2083
Post by: Webso1dotcom 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
Title: Re: Cant login to CWP User :2083
Post by: PakPos 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
Title: Re: Cant login to CWP User :2083
Post by: Webso1dotcom 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"
Title: Re: Cant login to CWP User :2083
Post by: mehroz 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/"


Title: Re: Cant login to CWP User :2083
Post by: PakPos 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
Title: Re: Cant login to CWP User :2083
Post by: mehroz 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

Title: Re: Cant login to CWP User :2083
Post by: dreamlinnia 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!
Title: Re: Cant login to CWP User :2083
Post by: overseer 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.
Title: Re: Cant login to CWP User :2083
Post by: dreamlinnia 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:"
Title: Re: Cant login to CWP User :2083
Post by: overseer 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
Title: Re: Cant login to CWP User :2083
Post by: dreamlinnia 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"
Title: Re: Cant login to CWP User :2083
Post by: Radical Redemption 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.
Title: Re: Cant login to CWP User :2083
Post by: Panjab on June 13, 2023, 06:55:40 PM
Has anyone heard of a fix yet?
It's been days....
Title: Re: Cant login to CWP User :2083
Post by: DaveF on June 14, 2023, 08:29:11 PM
Never solved mine.
If you create a new user can you log into that user account?
I wound up just migrating to a new server. Obviously, not a solution for everyone.

-Dave
Title: Re: Cant login to CWP User :2083
Post by: hill on June 21, 2023, 03:35:41 AM
suspend the account and then unsuspend it
Title: Re: Cant login to CWP User :2083
Post by: kigedesebayu on October 21, 2023, 01:15:14 AM
Thats Work  ;D
Title: Re: Cant login to CWP User :2083
Post by: michelgomide on October 21, 2023, 02:39:46 PM
Did anyone manage to solve it, I've been having this problem for weeks too  :( :'(
Title: Re: Cant login to CWP User :2083
Post by: Ortunç Özkent on October 23, 2023, 02:20:02 PM
The problem persists after the last update. Does anyone know the solution?
Title: Re: Cant login to CWP User :2083
Post by: Starburst on October 23, 2023, 07:37:08 PM
https://forum.centos-webpanel.com/index.php?topic=13154
Title: Re: Cant login to CWP User :2083
Post by: emar on November 21, 2023, 03:33:47 PM
Guys try this, it works for me,
Create another user under List Accounts.
Then I was able to access all other control panels.

Hope this helps you.

https://forum.centos-webpanel.com/index.php?topic=13189.msg45807#msg45807
Title: Re: Cant login to CWP User :2083
Post by: ManjunathPM on November 27, 2023, 11:57:41 AM
I do own 4 CWP pro Accounts. According to me this issue is getting in to all new CWP accounts. Out of 4 accounts two are 3 year old account and remaining two are just 2month and 8 months old account. but this 2month old account is having admin panel and user panel login issues. tried all my skills but this time I am getting an different issue

Quote
Failed to restart cwpsrv-phpfpm.service: Unit not found.
Failed to restart cwp-phpfpm.service: Unit not found.

tried to install php-fpm manually. but for some reason it is not allowing me to do that. I am still searching for all other ways round.
Title: Re: Cant login to CWP User :2083
Post by: DateorMate on February 10, 2024, 04:35:24 AM
I have all the login info but can not reset threw email as the person who set it up can not be found

when i try to sign in to cwp page does not open  NO HELP FROM CWP

CWP will not tell me if it is closed down because of bill

what ever im stuck and cwp keeps sending different messages that do nothing

Title: Re: Cant login to CWP User :2083
Post by: josemnunez on February 10, 2024, 04:13:14 PM
Hello, please indicate the number of your support ticket.