User panel not allowing login for some users (POSSIBLE BUG) HELP!!

Started by tyrnight, December 11, 2018, 06:45:09 PM

Previous topic - Next topic

tyrnight

Some users can log in fine.. and I can't seem to find the cause.

as I try to log in I get "incorrect access" error in red.


This log states this error, but says that even for a user that does work.
/usr/local/cwp/php71/var/log/php-fpm.log

[11-Dec-2018 13:36:47] WARNING: [pool login] child 26206 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined variable: session_number in /usr/local/cwpsrv/var/services/users/login/index.php on line 0"
[11-Dec-2018 13:36:48] WARNING: [pool evalueator] child 26210 said into stderr: "NOTICE: PHP message: PHP Warning:  session_start(): open(/tmp/session/sess_l5mfaofogrgu8bohf6frmtei92, O_RDWR) failed: Permission denied (13) in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[11-Dec-2018 13:36:49] WARNING: [pool evalueator] child 26210 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[11-Dec-2018 13:36:49] WARNING: [pool evalueator] child 26210 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0"
[11-Dec-2018 13:36:49] WARNING: [pool evalueator] child 26210 said into stderr: "NOTICE: PHP message: PHP Warning:  Unknown: open(/tmp/session/sess_l5mfaofogrgu8bohf6frmtei92, O_RDWR) failed: Permission denied (13) in Unknown on line 0"
[11-Dec-2018 13:36:49] WARNING: [pool evalueator] child 26210 said into stderr: "NOTICE: PHP message: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/session) in Unknown on line 0"

Next thought is that the User is over 8 characters long, and there was a change in CWP awhile back that made these users not work. Is there a way to change this behavior?

But the user CAN log in via SSH just fine.

Administrator

This issue was resolved with the latest CWP update, it will be updated automatically or you can run the manual update by using this command in the shell as root:

sh /scripts/update_cwp

tyrnight

I ran it earlier today and it didn't update anything


[root@server scripts]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
[root@server scripts]#


Problem still exists


tyrnight


jsteel

I'm getting the same when users are trying to reset their passwords. Any fix for this?

jsteel

I had this happening on a brand new account. After I reset the account's password AND logged in as the user I was able to get the password reset working.

pixelpadre

Quote from: Administrator on December 11, 2018, 08:28:38 PM
This issue was resolved with the latest CWP update, it will be updated automatically or you can run the manual update by using this command in the shell as root:

sh /scripts/update_cwp

update is not working either in cron or manually.  See my other post.  This is going to become a mega problem for all users.  I lost admin panel due to expired files.  Very soon everyone will be screaming for help or a solution.  CWP has become a nightmare.