Alias entry/charactor limit?
-
Greetings,
Is there size/# of entries limit for an alias?
I'm added a large number of subnets into an alias export and then uploaded that into pfsense. It displays properly but when I try to add items the screen goes white and text appears stating php.ini limitation or something. Sorry I don't have the text to show.
Thanks ahead of time.
Dino
-
Nothing…? Anyone? I figured this would be an easy one...
-
Like you said, you're probably bumping up against some PHP limit. Ca you describe exactly what you're doing? Are you loading up a bunch of individual hosts, or network? How many are we talking about?
-
Thank you for your response!
Adding a ~500 Networks with descriptions.
-
Weird. Both upload_max_filesize and post_max_size at set to 200MB in php.ini, and I assume that your file is much smaller than that. What is the exact error text it gives?
-
Sorry for the late reply. I have the error. The steps taken to trigger the error.
1. Imported the Alias
2. Navigated to the alias.
3. Clicked '+' to add an entry
4. Added an IP and description.
5. Click save, browser page goes completely white and this is the error that was posted without formatting:Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 Warning: session_start(): Cannot send session cache limiter - headers already sent in /usr/local/www/csrf/csrf-magic.php on line 351 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 48 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 49 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 50 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 51 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 52 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 55 Warning: Cannot modify header information - headers already sent in /usr/local/www/firewall_aliases_edit.php on line 480
THAT is litterally what shows up on the screen. White screen, the warning up to the 1000, there is a pause of MAYBE a second or two, and then the rest scrolls on the screen.
Thoughts?
-
Php.ini has no such variable definition so it must be a default. You could try hacking /etc/rc.php_ini_setup to insert a larger value for max_input_vars.