Page 1 of 1

'http://localhost' is blank on clicking Admin in XAMPP panel

PostPosted: 02. November 2008 14:55
by aberry
I installed XAMPP on my Win XP machine 1st time today. After launching XAMPP control panel, clicked Admin button.

1) It is showing 'http://localhost/' in browser address bar, but no content appear on page.
2) when I type 'http://localhost/index.html' in browser and press Enter then it show 'It works', but typing 'http://localhost/index.php' and pressing enter it again show nothing. :(

could any1 tell me whether my installation is faulty (however i did not get any error while XAMPP install) OR I need to do some setting


Thanks,
ab

Re: 'http://localhost' is blank on clicking Admin in XAMPP p

PostPosted: 04. November 2008 13:54
by aberry
aberry wrote:I installed XAMPP on my Win XP machine 1st time today. After launching XAMPP control panel, clicked Admin button.

1) It is showing 'http://localhost/' in browser address bar, but no content appear on page.
2) when I type 'http://localhost/index.html' in browser and press Enter then it show 'It works', but typing 'http://localhost/index.php' and pressing enter it again show nothing. :(

could any1 tell me whether my installation is faulty (however i did not get any error while XAMPP install) OR I need to do some setting


Thanks,
ab


No ans :(
I checked access.log in apache folder ....
"GET / HTTP/1.1" 500 -'
Do any1 have any clue .

thnx
ab

PostPosted: 04. November 2008 14:23
by Wiedmann
I checked access.log in apache folder ....
"GET / HTTP/1.1" 500 -'

Read the "error.log".

PostPosted: 05. November 2008 10:03
by aberry
Wiedmann wrote:
I checked access.log in apache folder ....
"GET / HTTP/1.1" 500 -'

Read the "error.log".


Thanks for response...
Here is the error.log contents (It seem everything fine here )
"
[Wed Nov 05 14:31:21 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Wed Nov 05 14:31:21 2008] [notice] Server built: Jun 14 2008 19:02:12
[Wed Nov 05 14:31:21 2008] [notice] Parent: Created child process 5852
[Wed Nov 05 14:31:22 2008] [notice] Child 5852: Child process is running
[Wed Nov 05 14:31:22 2008] [notice] Child 5852: Acquired the start mutex.
[Wed Nov 05 14:31:22 2008] [notice] Child 5852: Starting 250 worker threads.
[Wed Nov 05 14:31:22 2008] [notice] Child 5852: Starting thread to listen on port 443.
[Wed Nov 05 14:31:22 2008] [notice] Child 5852: Starting thread to listen on port 80. "

I have the same problem

PostPosted: 06. November 2008 10:29
by thirdeie
In case that someone can fix it i would like 2 know

PostPosted: 06. November 2008 19:39
by glitzi85
Internal Server Error MUST bring an Error Message in the error.log.

If Apache is running as a service, you can check if you find anything in the Windows Event Log.

glitzi

PostPosted: 06. November 2008 23:02
by Sharley
@aberry
Troubleshooting your issue may be quite time consuming and entail many routes.

This is just a stab in the dark but do you have a firewall or a virus scanner, like Symantec's Norton etc., issue here.

Have you set Windows firewall or ZoneAlarm etc. as these can give issues.
http://www.apachefriends.org/en/faq-xam ... html#xpsp2
http://www.apachefriends.org/en/faq-xam ... ml#nostart

Try to temporarily disable your firewall and virus scanner then test again.

Also do you have another web server running, perhaps as a service, or another instance of PHP running (the favoured issue here) because the page "It works" is the standard index.html page, as you pointed out, from the htdocs folder in XAMPP - XAMPP will give a php based Welcome page when all is working correctly but not if Apache is not running it's own instance of PHP.

Stop any other instances of PHP that may be installed by other programs and are accessing via the system path variable - Eclipse perhaps, there may be a php.ini file in the Windows folder that may be a clue, as Apache in XAMPP uses the php.ini file in the apache\bin folder - try renaming any other php.ini files you find, other than those in the .\xampp tree, to php.ini.bak for example, then try again after restarting your XAMPP Apache server.

Find out what is on the ports that XAMPP uses by double clicking on .\xampp\xampp-portcheck.exe
They should all be free...

...but first you would need to stop all XAMPP components by using the stop bat files including running the stop services bat files - Using the bat files eliminates any possible issues with the XAMPP Control Panel.
.\xampp\apache_stop.bat
.\xampp\mysql_stop.bat
.\xampp\apache\apache_uninstallservice_2.2.bat
.\xampp\mysql\mysql_uninstallservice.bat

Tip - using the .\xampp\apache_start.bat file instead of the XAMPP Control Panel will give some good clues if the XAMPP instance of Apache is having problems starting.

So in conclusion, it really does seem to point to a rogue instance of PHP that is preventing the XAMPP instance of PHP from being used.

PostPosted: 07. November 2008 15:51
by aberry
Finally it worked :)
You all guys are genius truly :) esp. Sharley u r Hero.
Thnaks for such detailed reply... it worked :D

Before coming to XAMPP... I tried PHP with IIS earlier. However I uninstalled PHP. But as you point that there may old PHP content in Windows... yes there were some leftover in Windows/PHP folder. on cleaning it worked for me....

once again Thanks to all who replied nd to those even who spent time on looking my concern...

PostPosted: 07. November 2008 17:57
by thirdeie
:(( im the only one that cannot fix it

PostPosted: 07. November 2008 21:47
by Sharley
thirdeie wrote:In case that someone can fix it i would like 2 know...

...im the only one that cannot fix it
You have provided no details of what you are seeing, what you have tried already, what you have changed in any of the configuration files, what OS, what XAMPP version and how you installed it and any error messages you receive.

It is hard for anyone to attempt to troubleshoot your particular issue without this information.

If you have tried all the remedies found on these forums, after searching, then a complete reinstall of XAMPP usually fixes things.

Before uninstalling, follow the instructions in my last post above for stopping all XAMPP components including the XAMPP control panel and uninstalling all XAMPP components running as services using the bat files - then and only then delete the XAMPP folder and re-install XAMPP and my preferred method is to download and extract the 7Zip version.