Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Settings reset prevents login and causes PHP Warnings #13914
Steps to reproduce
Settings to be reset.
The "Login cookie validity" and "Maximum tables" fields go blank when clicking Reset. When clicking Apply this immediately causes PMA to log me out, and shows a warning:
Now when I try to log in it logs me straight back out again immediately (presumably because the login time is getting parsed as 0). Even updating or deleting the config manually from the
So the main fix would be for those two fields should be set to their default instead of blanks. Perhaps it would also be worth setting an absolute minimum so it cannot be set to 0 or 1 second?
PMA 4.7.7, PHP 7.1, MySQL 5.6.13, Apache 2.4.28.