You are not logged in.

#1 2014-06-27 18:44:49

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

[RESOLVED] Cannot log into phpMyAdmin, redirects back to login prompt.

Hello, I have a strange problem with phpMyAdmin today.

I have installed [apache, php, mariadb, phpmyadmin] a few days ago following the tutorial on the Wiki. It worked perfectly, I could use phpmyadmin just fine.

Now when I go localhost/phpmyadmin, I get to the login prompt

phpmyadmin.png


Now no matter what I enter, it just shows the same page again, without any error.

I tried in terminal, and it seems to work

$ mysql -u root -p
Enter password: 

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.37-MariaDB-log MariaDB Server

Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> 

Any clues? Or how to purge all config and reinstall the database and phpmyadmin?

Last edited by MightyPork (2014-06-27 19:17:35)


If it ain't broke, pacman -Syyu and it will be

Offline

#2 2014-06-27 19:19:44

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

Re: [RESOLVED] Cannot log into phpMyAdmin, redirects back to login prompt.

Ok so how I fixed it:

1. Install php-mcrypt (I found that somewhere on google)
2. Clear all cookies
3. Set correct timezone and enable NTP (also from some forums)
4. Edit /etc/php/php.ini and enable mcrypt.so, and default timezone
5. Sacrifice one black goat

Not sure what of those did the trick, but I can now log in, wohoo


If it ain't broke, pacman -Syyu and it will be

Offline

Board footer

Powered by FluxBB