• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

1.5.10 - Enable/Disable Listener Security Error

Snog

Well-known member
#1
When enabling or disabling listeners from the main development listener list page, a security error happens. You have to go into the listener itself to enable or disable it.
 

Chris D

XenForo developer
Staff member
#3
If you have a lot of listeners, and therefore a lot of inputs being submitted, you may well be hitting the max_input_vars limit in PHP.

Increase this a suitable amount and the issue should go away.
 

Chris D

XenForo developer
Staff member
#5
For each event listener there is two inputs (one hidden, and then the checkbox itself). Then there is the _xfToken (which if missing causes the security error). If you have 500 or so code event listeners then you will exceed the limit.
 

Xon

Well-known member
#6
For each event listener there is two inputs (one hidden, and then the checkbox itself). Then there is the _xfToken (which if missing causes the security error). If you have 500 or so code event listeners then you will exceed the limit.
That explains why I've been hitting it.

At least it doesn't cause dataloss which can happen in Wordpress!
 

Snog

Well-known member
#7
Yeah, after a couple of new add-ons and a couple of installs of other add-ons for testing I hit 576 listeners. I never thought of the x2 factor which means 1152 variables being passed not including the token.