Posts Tagged ‘Vista’

HowTo Fix: PhpMyAdmin Muestra Pagina En Blanco Despues de Logeo

Wednesday, September 15th, 2010

Método #1

La solución a este problema de página blanca fue algo simple. Sólo basto modificar esta línea en phpmyadmin/config.inc.php

$cfg['Servers'][$i]['host'] = 'localhost';

to this:

$cfg['Servers'][$i]['host'] = '127.0.0.1';

En el código de arriba, se esta cambiando el nombre de servidor a 127.0.0.1 con la finalidad de usar conexión TCP/IP . Luego de esto te sera posible ver tu página de PhpMyAdmin al abrir http://127.0.0.1/PhpMyAdmin en tu navegador.

Espero que este consejillo les haya sido útil!

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.

ACTUALIZACION Dic 15, 2010:

Investigando más a fondo este problema, al parecer es causado por un PHP bug #45150. El problema parece ser con la manera en que Windows maneja el localhost, especificamente la manera en la que localhost lee ::1 cuando IPv6 se encuentra habilitado. Si tienes Windows Vista o Windows 7 es probably que IPV6 este habilitado por defecto.

Método #2

1. Ir a Conexiones de Red -> Propiedades y en Conexion de Area Local-> deselecciona IPV6.

2.Abrir \%windir%\system32\drivers\etc\ con algun procesador de texto y quita el comentario de:

::1 localhost

and agregale el prefijo:

#::1 localhost

Este arreglo ayudará a que la interface 127.0.0.1 apunte a localhost.

Guardar y las conexiones de PHP/MySQL empezaran a funcionar al instante.

Ambos métodos funcionan, aunque prefiero este último por ser una manera más formal.

To read this article in English, click here.

HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In

Sunday, August 16th, 2009

phpmyadmin-vista

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.

Method #1

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.

UPDATE Dec 15, 2010:

Doing further research on this subject, this problem seems to be caused by a PHP bug #45150. The problem seems to be with Windows resolving localhost, more specifically localhost resolving to ::1 when IPv6 is enabled. If you have Windows Vista or Windows 7 it’s most likely you have IPV6 enabled by default.

Method #2

1. Go to Network Connections-> Properties and on local area connection->uncheck IPV6.

2.Open up \%windir%\system32\drivers\etc\ with a text editor and comment out this line:

::1 localhost

and prefix it:

#::1 localhost

This fix will help the loopback interface 127.0.0.1 point to localhost.

Save it and your PHP/MySQL connections will immediately begin working.

This is another way of fixing this problem. Both methods will work, but I’d recommend to follow this last method over the first one since it’s updated and it solves the localhost issue in a more efficient way now that we have detected the source of the problem.

Big thanks: to my readers Joberror, Adrian, Brandon and everyone else for your contributions.

HowTo Fix: Dreamweaver Closes Automatically when Initializing in Windows Vista Home Premium

Friday, July 24th, 2009

dwvista

For the last couple of weeks I have been working on my new laptop that has Windows Vista Home Premium installed in it. Unfortunately, I run into a problem a week after I had it, I decided to install Dreamweaver CS3 and it wouldn’t start correctly. Dreamweaver would look as if it was starting and then close itself a few minutes later.

I tried running the program as Administrator, uninstalling and reinstalling, I tried installing other DW versions but still no luck.

Finally, I figured out that my Acer Aspire 5920 laptop had a program called Acer Empowering Frameworks installed that was blocking Dreamweaver. I still don’t understand why it would block a program, but it’s certainly a problem that Acer needs to solve soon.

So once that I identified the problem the solution was simple. Uninstalling Acer Empowering Frameworks Software from my Acer laptop was the solution, as simple as that. I believe this advice has been useful to a lot of people so there you have it. Hope this helps you as it helped me.