Reputation: 831
After installing xampp in my computer yesterday, it worked normally along the day. Today, I am about to continue my project. Apache and MySQL are running but localhost/phpmyadmin in my browser is showing blank page without any error message, just totally white screen. Then I am trying to open my application, localhost/stationaryshop, it is working properly including CRUDE process without any problem. Even if xampp control panel is run as administrator, it also couldn't work. How could I fix this? I use xampp v3.2.2, and windows 7.
Upvotes: 16
Views: 95500
Reputation: 41
I face the same issue. please update your php version 8.2 to fix this issue.
Upvotes: 0
Reputation: 11
I installed the webserver in Program Files (x86) folder and one setting in the php.ini was without quotes. I added it and after a restart, phpmyadmin worked. So, change
include_path=C:\Program Files (x86)\xampp\php\PEAR
to
include_path="C:\Program Files (x86)\xampp\php\PEAR"
Upvotes: 0
Reputation: 111285
This happened on my clean CentOS7 + httpd + php7 installation. When I tried to run php phpmyadmin/index.php
in the console I did see the generated html, but the web page was blank. After hours of print debugging thanks to phpmyadmin trying to be clever and overriding error display settings to make errors silent, I narrowed it down to it not being able to initiate a session.
A quick test is to create a php file: <?php session_start(); ?>
and see if it throws any errors in the browser. In my case it said that it couldn't save the session file in /var/lib/php/session/...
.
The solution was to edit /etc/php.ini
and enable session.save_path = "/tmp"
. This was not enough since /etc/httpd/conf.d/php.conf
was overwriting this value, so I also commented out php_value session.save_path "/var/lib/php/session"
under <IfModule mod_php7.c>
there. After restarting httpd the phpmyadmin started loading.
Upvotes: 2
Reputation: 13
I had that problem when I was using Internet Explorer as I was running Apache on a Windows 7 virtual machine and that was the default browser.
I downloaded Google Chrome and it worked: I stopped seeing that blank page and could access the phpMyAdmin panel.
Upvotes: 0
Reputation: 105
This worked for me;
Go to php.ini file, find open_basedir
, then comment it by introducing ';'(semi-colon) as depicted below
;open_basedir = "C:\xampp\htdocs"
You might as well turn error display on to see warnings on your browser(still in php.ini)
display_errors = Off
to
display_errors = On
Upvotes: 0
Reputation: 524
I was able to resolve the issue by clearing my browsing data -> Cached images and files.
I am using Google Chrome: Version 61.0.3163.100 (Official Build) (64-bit).
Steps:
Upvotes: 11
Reputation: 702
None of these answers worked for me.
First I was able to debug the issue by running:
php index.php
On the command-line in the phpmyadmin folder.
It said there was a memory size exhausted but it was only trying to allocate 4Mb when my php memory limit was actually 1Gb.
However when I looked in the php.ini file I had set the memory_limit
to:
1GB
instead of the correct syntax of 1G
.
Remember the correct syntax is G for Gigabytes and M for Megabytes. Once that was corrected phpmyadmin was finally loading properly.
Upvotes: 9
Reputation: 304
This happend to me when I changed my memory_limit to 4096MB (32Bit limitation).
Upvotes: 2
Reputation: 135
I just open the Developer Option on Chrome and disabled the cache, refresh the page and it works perfectly fine even after I close the Developer Option again.
Upvotes: 2
Reputation: 2007
Today I had this same problem and resolved by increasing the value of the max_execution_time property in the php.ini file and temporarily disabling the cache of my browser.
I believe that, for most cases, it is only necessary to reload phpMyAdmin with the browser cache disabled.
In my case, I verified in my apache error.log file this line:
PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\xampp\\phpMyAdmin\\vendor\\composer\\ClassLoader.php on line 354
Then, I edit this property in my 'php.ini':
max_execution_time=300
After that, in Chrome Browser, I opened the 'Developer Tools' (Ctrl+Shift+I), I clicked on 'Network Tab' and, finnaly, I selected 'Disable Cache' checkbox. I reloaded the phpMyAdmin page with this Developer Tool opened and success!
In the next phpMyAdmin runs, you do not need to keep the 'developer tool' open.
Upvotes: 1