Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: PeteB on July 25, 2019, 06:44:50 AM

Title: Notice: Undefined index: csrf_token in [see below] ... csf.php at line 0
Post by: PeteB on July 25, 2019, 06:44:50 AM
Notice: Undefined index: csrf_token in /usr/local/cwpsrv/htdocs/resources/admin/modules/csf.php on line 0


Upgraded today, and since then (but not necessarily because of it, as I have also touched other config), I get this when I click on CSF Firewall:

(https://i.imgur.com/o8dq26P.png)

and this is the top of csf.php

(https://i.imgur.com/dRny7Kq.png)

The only other thing that I did which may be related is setting up php-fpm, which is currently in this state

(https://i.imgur.com/kl3exLl.png)

Don't think it stops or breaks anything, but it may also be happening to others, so I thought I'd report it in.

P








Title: Re: Notice: Undefined index: csrf_token in [see below] ... csf.php at line 0
Post by: deohosting on July 25, 2019, 01:23:30 PM
@studio4host Same with my trouble
Title: Re: Notice: Undefined index: csrf_token in [see below] ... csf.php at line 0
Post by: josemnunez on July 25, 2019, 02:38:21 PM
Please try to log out of your browser and reopen it, and let me know if this is corrected!
Title: Re: Notice: Undefined index: csrf_token in [see below] ... csf.php at line 0
Post by: PeteB on July 25, 2019, 07:49:10 PM
Thanks.  That fixed it.

A bit embarrassed that I just had to turn it off and on again.  I rebooted the server but didn't think to "reboot" the browser.  :-[