phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
665 stars 455 forks source link

add 'max_input_vars = 10000' to phpmyadmin_misc.ini #305

Closed SlavikCA closed 3 years ago

SlavikCA commented 3 years ago

default max_input_vars value is 1000, and it's often too low for DB with large number of tables export, causing fatal error:

Fatal error: Uncaught TypeError: Argument 5 passed to PhpMyAdmin\Export::getFilenameAndMimetype() must be of the type string, null given, called in /var/www/html/export.php on line 380

this PR:

williamdes commented 3 years ago

Hi @J0WI Do you think it should be added in the templates ?

williamdes commented 3 years ago

Hi @SlavikCA

What version did have this error ?

J0WI commented 3 years ago

Do you think it should be added in the templates ?

If it helps with common issues like https://github.com/phpmyadmin/phpmyadmin/issues/15577 I guess the answer is yes. It should probably be documented somewhere in https://docs.phpmyadmin.net/

SlavikCA commented 3 years ago

What version did have this error ?

For me the issue was happening on version 5.0.2 running in the docker:

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

williamdes commented 3 years ago

Merged, thank you for your contribution ! And sorry for the delay