Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started 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?
-
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?
-
delete the .conf folder in the user's home folder and then try again. don't worry the .conf folder will get created again.
-
Not working deleting .conf file
-
Tried not working for me either.... Its an update bug on latestest version of CWP . I have been using CWP for 3 years now
-
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.
-
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
-
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 !!!!
-
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
-
Same problem with version 0.9.8.1061
No solution????? >:( >:(
-
Having the same issue on a fresh install of latest version 0.9.8.1129
Anyone have any luck fixing this?
-
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.
-
check the logs and/or contact support this is something specific to your case since nobody else has the same issue.
-
Hola
Try going to the administrator and force the theme for all accounts, this can be done from the features module.
-
same problem. I keeping on getting redirected back to the same login page. how do i solve?
-
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
-
make changes. the problem continues.
help please
-
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
-
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.
-
close all tabs. It does not work. :(
-
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
-
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
-
I have the same problem, I have tried everything you mention but it doesn't work, it's frustrating :-\
-
what happen if
you change the package of the user
apply
then set the package to the correct one
-
nothing, I even created a new reseller type package and it didn't work
-
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
-
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.
-
Hi I have the same problem, but I do what do you said, but in that tab don't appear nothing no DBS
-
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
-
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
-
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
-
Still waiting on support, anyone else have a solution?
-Dave
-
I am also getting this error. After logging in, you will be redirected to a path like this:
https://domain:2083/login/?acc=logon
-
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
-
/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"
-
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
tail -f /usr/local/cwpsrv/logs/error_log
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/"
-
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
-
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:
yum info cwpsrv
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
yum update -y
yum install wget
cd /usr/local/share
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
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 tail -f /usr/local/cwpsrv/logs/error_log
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:
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 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
-
I have the same problem after upgrading the CWP from version 0.9.8.1148 to 1157. Please help!
-
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.
-
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:"
-
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
yum -y update
/scripts/update_ioncube
/scripts/update_cwp
-
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"
-
Same issue here, also paid for managed support and nothing yet, it's been almost a week.
-
Has anyone heard of a fix yet?
It's been days....
-
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
-
suspend the account and then unsuspend it
-
Thats Work ;D
-
Did anyone manage to solve it, I've been having this problem for weeks too :( :'(
-
The problem persists after the last update. Does anyone know the solution?
-
https://forum.centos-webpanel.com/index.php?topic=13154
-
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
-
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
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.
-
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
-
Hello, please indicate the number of your support ticket.