[ZBX-8858] Undefined index for user groups Created: 2014 Oct 06  Updated: 2017 May 30  Resolved: 2014 Oct 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.6
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Oleg Ivanivskyi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: undefinedindex, usergroups
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File error.png    
Issue Links:
Duplicate
duplicates ZBX-4785 The max_input_vars limitation and set... Reopened

 Description   

When I'm trying to crate a new users group with wright access to all host groups (the total number of the configured host groups is up to 350) I see "Undefined index: name [ in /nfs/web_content/zabbix/zabbix/usergrps.php:159]" error.



 Comments   
Comment by Krists Krigers (Inactive) [ 2014 Oct 07 ]

Please check if php error log contains error messages related to "max_input_vars". Try increasing value of "max_input_vars" in php.ini to 2000. If server is running with Suhosin extension values of "suhosin.post.max_vars" and "suhosin.request.max_vars" also must be increased to the same value.

Comment by Oleg Ivanivskyi [ 2014 Oct 08 ]

Sorry, it is not a Zabbix issue. The "max_input_vars" was the root cause here. Thank you. Closed.

Comment by richlv [ 2014 Oct 08 ]

we still shouldn't have undefined indexes - reopening

Comment by Pavels Jelisejevs (Inactive) [ 2014 Oct 08 ]

This most definitely is a Zabbix issue. We shouldn't try to submit such large forms.

But this is a duplicate of ZBX-4785. CLOSED.

Comment by Jairo Alves [ 2015 Nov 26 ]

I just wanted to say thank you to Richlv.

After adding a handful of Host Groups, I couldn't assign any group permissions. It was solved after adjusting the indicated php value.

Generated at Fri Apr 18 05:47:40 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.