1.5.10 - Enable/Disable Listener Security Error

Snog

Well-known member
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.
 

Snog

Well-known member
At the moment this is only happening on my development server. I'll see if I can track down the problem.
 

Chris D

XenForo developer
Staff member
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.
 

Snog

Well-known member
Yep, that fixed it. Thanks Chris.

Odd though. Don't see 1000 variables, but increasing to 2000 fixed it.
 

Chris D

XenForo developer
Staff member
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
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
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.
 
Top