Localhost works PhpMyAdmin blank -- worked before
Posted by: bonitarunner (---.tampabay.res.rr.com)
Date: January 12, 2011 03:01AM

Local host works but now phpmyadmin is blank. (recent reboot of system)
Apache/2.2.17 (Win32) PHP/5.3.3 MySql 5.1.36 --- Vista 64 SP2

Pulling my hair out over this one. Used to work fine on same server. IIS 7.X installed but stopped after reboot.
Checked headers and get 200 OK at localhost/phpmyadmin but BLANK SCREEN. Checked all LOGS and no errors.

c:\wamp\bin\mysql\mysql5.1.36\bin\mysql.exe I can get into MySQL with credentials just fine.

phpinfo works fine also.

Any ideas?

Options: ReplyQuote
Re: Localhost works PhpMyAdmin blank -- worked before
Posted by: stevenmartin99 (---.251.255.11.threembb.ie)
Date: January 12, 2011 07:04AM

Its thwlr Hosts file causing the issue.

C:/windows/system32/drivers/etc/hosts

Make sure it has

127.0.0.1 Localhost


Make sure it does not have

::1 Localhost

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Localhost works PhpMyAdmin blank -- worked before
Posted by: bonitarunner (---.tampabay.res.rr.com)
Date: January 12, 2011 01:55PM

@stevemartin99 -- I think you are on to something as I did modify this file recently. That is the only change. However, here is my current file and there is No -- ::1 Localhost in there. I double checked also. Here is what it looks like.

127.0.0.1 localhost
127.0.0.1 dev1.localhost
127.0.0.1 dev2.localhost
127.0.0.1 dev3.localhost

It was a devil to modify this file as some program was monitoring it like Spybot S&D. Had to modify it in safe mode to add dev1 thru dev3 to keep my projects separate. I can get to index pages in all those directorys. I also have no .htaccess in www. Took that out for troubleshooting.

Tried 127.0.0.1 with no luck. Does anyone know if I perform a Vista 64 rollback if the system touches this localhost file?

Here is sequence before phpmyadmin can no longer be seen in browser.
1) only changed dev1 through dev3 in hosts file.
2) did a reboot because of Microsoft automatic updates

Still phpmyadmin and no errors in logs. [localhost] or [127.0.0.1] Just blank screen in FF, Chrome, and IE.

I did save my Database out. Final note, can I upgrade to another version or 2.0J over top of my WAMP as last ditch effort?

Thanks again...

Options: ReplyQuote
Re: Localhost works PhpMyAdmin blank -- worked before
Posted by: yfastud (Moderator)
Date: January 12, 2011 02:51PM

Quote

did a reboot because of Microsoft automatic updates
Personally I never set my PC to auto update but always manually update only what I need; anyway, try to use System Restore to rollback to date before issue winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Localhost works PhpMyAdmin blank -- worked before
Posted by: stevenmartin99 (---.251.255.14.threembb.ie)
Date: January 12, 2011 03:17PM

U can drag the hosts onto desktop- edit it , and move it back

Clear the browser history and delete the session files from c:/wamp/temp

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Localhost works PhpMyAdmin blank -- worked before---SOLVED
Posted by: bonitarunner (---.tampabay.res.rr.com)
Date: January 13, 2011 06:59PM

SOLVED.

Thanks for all the help. Before I gave up, I decided to replace hosts file from another of my working computers. That did it. The hosts file was somehow corrupt on this system. I had moved to desktop several times and saved via Notepad ++ and VIM. Then moved back to the C:\Windows\System32\drivers\etc directory. No joy. Syntax was exactly as all other working system.

Cleared sessions and browsers cache - no joy.

What was very strange is that I could get to localhost and all other virtual hosts index pages fine. So it acted like hosts was working fine. It just continued to show blank PhpMyAdmin screens.

Finally, overwrote existing hosts file from another box. And presto all is good.

Options: ReplyQuote


Sorry, only registered users may post in this forum.