Skip to content

[Bug]: Adding zones to a group fails with "Input variables exceeded 1000" (max_input_vars) when managing >1000 zones #1386

Description

@MiKuBB

Describe the problem

When attempting to add zones to a group in an environment with a large number of zones (1000+), the form submission fails due to hitting PHP's default max_input_vars limit.

Because the HTML form posts each zone as an individual POST variable, PHP exceeds its default limit of 1000 input variables upon request startup, dropping excess inputs or failing the request entirely.

Steps to reproduce

To Reproduce
Have a Poweradmin installation with over 1000 zones.

Navigate to Zone Groups and attempt to add/assign zones to a group.

Submit the form containing more than 1000 zone inputs.

Check PHP logs / HTTP response.

Poweradmin version

4.2.4

Database

MariaDB

Additional information (optional)

Image Image

Metadata

Metadata

Assignees

Labels

dnsDNS Managementsize: SSmall effortuiUser Interface

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions