Steps to reproduce:-
- Go to any import page in server/db/table mode.
- Wait for the session to expire. (set a lower session timeout value temporarily or delete session file)
- Select a file to import/ Or this step may be skipped.
- Click 'Go' at the bottom of import page.
- You will reach login screen as session had timed out, so Log in.
- See an empty red error div as in the screenshot.
- Click any other link, you get session timeout popup div.
- Login again, stuck in a login loop.
Similar to https://sourceforge.net/p/phpmyadmin/bugs/3881/ if you can reproduce that.
Fixed with https://github.com/phpmyadmin/phpmyadmin/commit/9d66a521a14fcc331229596d511bd8963a0e92f4