Adding/enabling (you name it) google captcha in phpmyadmin config makes me stuck on the login page, token appears in the URL but I don't get the "control panel", so phpmyadmin becomes kinda useless. Turning on php error reporting gave me nothing, no error messages at all, even in /var/log (apache and mysql and php itself reported no errors). Turning off SSL or accessing via virtualhost that has no SSL configured changes nothing, the same problem is present.
The only way now to access phpmyadmin functionality is to remove google captcha (reCAPTCHA) from the config which is not an option for obvious reasons.
I was running phpmyadmin panel always only on localhost where I was connecting via ssh proxy.
But now I have the need to expose the panel to other users, so after adding it's own virtualhost with SSL which looks like this:
(I didn't touch localhost virtualhost file to be able to access that panel in case where for some reason this config will not work, but it appears that even this thing is broken now)
So, the login page works fine, but the problem is that after trying to login to any user (even from localhost virtualhost [the old way it used to be]) url in browser changes to: https://somehost.tld/index.php?token=sometoken and I'm stuck at the login page.
Since this panel is connected to mysql server and is exposed to public internet I also turend on google recaptcha on login page by adding these lines to /etc/phpmyadmin/config.inc.php :
$cfg['CaptchaLoginPublicKey'] = 'mypublickey' $cfg['CaptchaLoginPrivateKey'] = 'myprivatekey'
When I commented these lines I'm able to access all of phpmyadmin's functionality, why is this captcha breaking everything? In google recaptcha settings I have the right domain added to this captcha keys.
Host is Debian 8, I tried to even run dpkg-reconfigure phpmyadmin to make sure that it's not just config problem. It didn't help.