Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: denjlms on July 25, 2019, 06:06:48 PM

Title: Recent update is buggy, it doesn't work
Post by: denjlms on July 25, 2019, 06:06:48 PM
Hello, after a recent update (about a day ago? ) my CWP become unusable, a lot of pages has "Notice: Undefined index: csrf_token" error on them. After submitting your actions on such pages => CWP breaks your admin session and redirects to a login window.
Cleaning cache, re-login or anything else doesn't help, its a problem with a recent CWP build.
CWP version: 0.9.8.654
CWP is up to date
Title: Re: Recent update is buggy, it doesn't work for anyone
Post by: denjlms on July 25, 2019, 06:15:29 PM
example:
(https://i.imgur.com/dmw2nOB.png)

Title: Re: Recent update is buggy, it doesn't work
Post by: josemnunez on July 25, 2019, 08:05:44 PM
Please restart your browser.
Title: Re: Recent update is buggy, it doesn't work
Post by: ring_c on July 25, 2019, 08:27:47 PM
I'm having issues with reaching PMA from the user panel. We get a 502 error.
Title: Re: Recent update is buggy, it doesn't work
Post by: josemnunez on July 25, 2019, 08:30:04 PM
Restart services including php-fpm
Title: Re: Recent update is buggy, it doesn't work
Post by: denjlms on July 25, 2019, 08:56:02 PM
Please restart your browser.
doesn't help. tried several browsers, even rebooted my entire server.
Please look at the PHP error on the image above, it's a server-side issues, CWP side issue. most probably due to a missing csrf-token CWP breaks admin session and redirects me to a login page.
Title: Re: Recent update is buggy, it doesn't work
Post by: denjlms on July 25, 2019, 08:58:18 PM
I am seriously rebooted my browser, no luck.  still the same error, same problem.
Title: Re: Recent update is buggy, it doesn't work
Post by: Igor S. on July 26, 2019, 06:53:07 AM
You have to re-login to CWP. It must help.
Title: Re: Recent update is buggy, it doesn't work
Post by: denjlms on July 26, 2019, 11:58:22 AM
New update  V0.9.8.655 solved the problem
check similar thread for more details: https://forum.centos-webpanel.com/centos-webpanel-bugs/bug-csrf_token/msg24725/#msg24725