I would like to access phpmyadmin. I have access it before but, now, I'm just getting a blank page and I really don't get why.
I've installed phpmyadmin using
sudo apt-get install phpmyadmin
I've run
sudo gedit /etc/apache2/apache2.conf
And there added:
#Include phpmyadmin:
include /etc/phpmyadmin/apache.conf
But I was getting a warning when I restart apache, telling me:
The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
How can I solve this, so that I can see phpmyadmin interface again, when I do http://localhost/phpmyadmin instead of seeing a blank webpage?
Dump -
I've tried
apt-get remove phpmyadmin
and thenapt-get install phpmyadmin
- still the same blank page. :(/etc/phpmyadmin
- I've chmod o+w permissions to phpmyadmin folder and it's contents. - still the blank page...
All the previous answers did not help me, but then I found the solution:
this fixed
phpmyadmin
white blank page issue.Try running
To set up the phpmyadmin files, database connections and create the phpmyadmin databases
This problem occurred to me because I modified the php.ini (/etc/php5/apache/php.ini) and introduced a wrong format. Specifically, I needed to upload a bigger file so I modified this line:
with:
As you can see, I missed an M. After restarting apache (
sudo service apache2 restart
), I was getting the blank page.** In general, it might be that a mistake in the php.ini produces a silent (blank page) output in php. **
An old question I know, but I recently had the same problem. Accessing the phpmyadmin url produced a blank white page. The apache logs showed nothing wrong. All response headers were "200 OK".
The problem was simple, I had disabled javascript in the browser.
To fix in firefox, enter the url 'about:config', find the key named 'javascript.enabled' and toggle it true.
In chrome, navigate to Setting > Advanced Settings > Content Settings, scroll down to the Javascript header and toggle the 'Enable javascript' checkbox.
When i changed this inside the config.inc.php:
$cfg['UploadDir'] = '/tmp'; $cfg['SaveDir'] = '/tmp';
to:
$cfg['UploadDir'] = ''; $cfg['SaveDir'] = '';
and reloaded the page then it worked directly!
My problem was different: the page rendered white but, inspecting the HTML, I could see the login and password fields. The problem was in the space on the HDD:
Freeing some made phpMyAdmin work again.
I`m not sure if is the same in ubuntu, but for debian 7.0.0 i find a way and my problem was fixed with this :
apt-get install php5-json
I informed from this link :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710861;msg=7