HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In
Sunday, August 16th, 2009

Recently I published an article about Windows Vista Home Premium and the “problems” I was running into when installing my programs. Well, this time I run into another problem when I installed appserv-win32-2.6.0 . Everything seemed to work just fine, Apache was working well, but when I tried opening PhpMyAdmin for some reason it was displaying a blank page after I entered my login information.
The solution to this blank page problem is fairly easy. Simply modify this line in the phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host'] = 'localhost';
to this:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
In the above code, you’re changing your name server to 127.0.0.1 in order to use TCP/IP connection. After this, you should be able to see your PhpMyAdmin page by opening in your browser the address http://127.0.0.1/PhpMyAdmin
Hope this helps!
Note: Whenever you specify “localhost” or “localhost:port” as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use “127.0.0.1″ instead of “localhost”. If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as Runtime Configuration in your PHP configuration and leave the server field blank.

Recientemente publique un articulo acerca de Windows Vista Home Premium y los “problemillas” con los que me estaba encontrando al instalar ciertos programas. Bueno, en esta ocacion me tope con otro problema cuando instale appserv-win32-2.6.0 . Todo parecia funcionar bien, Apache estaba funcionando bien, pero cuando quise abrir PhpMyAdmin por alguna razon solo me mostraba una pagina en blanco luego de pedirme mi informacion de logeo.
La solucion a este problema de pagina blanca fue algo simple. Solo basto modificar esta linea en phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host'] = 'localhost';
to this:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
En el codigo de arriba, se esta cambiando el nombre de servidor a 127.0.0.1 con la finalidad de usar conexion TCP/IP . Luego de esto te sera posible ver tu pagina de PhpMyAdmin al abrir http://127.0.0.1/PhpMyAdmin en tu navegador.
Espero que este consejillo te haya sido util!
Nota: Siempre que especificas “localhost” o “localhost:port” como servidor, la libreria de MySQL sobreescribira esto y tratara de conectar a una soquete local (named pipe on Windows). So quieres usar TCP/IP, usa “127.0.0.1″ en lugar de “localhost”. Si la libreria MySQL trata de conectar a el soquete local incorrecto, entonces cambia la direccion correcta como Runtime Configuration en tu configuracion y deja el campo de servidor en blanco.







A few days ago I found a really nice tip about how to find your serial number and model of your computer without too much hassle. Some desktops and laptops of the most popular brands come with a serial number. This information comes in handywhenever you are about to get technical support, or wanting to register your product online, just to mention a few cases.
A couple weeks ago I was in charge of configuring an OsCommerce account with PayPal Module. Unfortunately, when searching on the internet I came to find out that there wasn’t a lot of documentation on the web about this subject. So I had to spend a few more minutes trying to figure out some things that I wasn’t familiar with. Fortunately, I didn’t run into many problems, since I had configured OsCommerce a little while ago already, and I only had to take care of configuring PayPal.


