Blank page on Firefox with localhost
Posted by: Marcello2 (---.dsl.club-internet.fr)
Date: November 28, 2007 03:30PM

I just downloaded Wamp2 on my XP desktop.
When I select localhost on the wampserver, I get a blank page.
Do I do anything wrong ?

I am absolutely new to PHP and feel rather incompetent and stupid.
Thank you for your help.
Marcello

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: blepore (---.rochester.res.rr.com)
Date: November 28, 2007 04:38PM

Did you change the index.php in the www directory?

If so, how do you begin a block of PHP code? Wamp does not enable the use of ASP tags (<? [code here] ?>winking smiley by default. For WampServer2, you can enable it ticking the ASP tags setting under PHP -> PHP Settings. I forget where this is in the old Wamp5, but it is in a similar location.

Or you could simply use <?php [code here] ?>. This is better practice, and will make your code PHP6 compatible (assuming you don't use anything else that is being dropped in PHP6).

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: yfastud (Moderator)
Date: November 28, 2007 04:38PM

Sound like your firewall blocks wamp, so make sure to enable port 80 in all firewalls and also routers if you also like to have global access

Have fun,

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

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: yfastud (Moderator)
Date: November 28, 2007 04:48PM

Quote

Wamp does not enable the use of ASP tags (<? [code here] ?>winking smiley by default.
It calls short_open_tag which can be enabled by go through wamp tray icon, php, php settings, short open tag

Have fun,

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

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: hesham87 (---.static.link.com.eg)
Date: November 28, 2007 06:32PM

Same Problem ,man !!!

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: yfastud (Moderator)
Date: November 28, 2007 06:48PM


Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: Marcello2 (---.dsl.club-internet.fr)
Date: November 28, 2007 07:25PM

Actually, I don't have much fun.
I have enabled port 80 in the Vista firewall.
Nothing happens : my localhost sends a blank page whether I use the localhost, phpMyAdmin or SqlLite manager.
I have already spent two days trying to setup Wamp and be ready to work. I don't know where to go from there.

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: Marcello2 (---.dsl.club-internet.fr)
Date: November 28, 2007 09:27PM

Good news : I reinstalled Wamp for the umpteenth time and a miracle occurred : I get the wamp menu with localhost and I can start learning Php for my flash site.
Thank you for your help.
Now, I have a lot of fun !

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: hesham87 (---.static.link.com.eg)
Date: November 28, 2007 11:25PM

how nice ! i wish this miracle happens with me
I'll wait.............

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: yfastud (Moderator)
Date: November 29, 2007 12:10AM

What your problem, then? If you don't post it, nobody can help you

Have fun,

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

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: hesham87 (---.static.link.com.eg)
Date: November 29, 2007 05:36PM

Thanks man i fixed the problem

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: ddrager (---.phlapa.fios.verizon.net)
Date: November 30, 2007 02:53PM

I just wanted to send in my solution to this problem.

I had same issues as above, a 'blank page' was showing for all URLs on localhost.

This was caused by the Skype service binding to port 80 and therefore not allowing apache to start on this port. So when you are loading pages, they are actually loading off of Skype.

If you look in the Application Log, you would see this:

The Apache service named reported the following error:
>>> no listening sockets available, shutting down .

In Skype's advanced options there is a checkbox that says "Use alternative port 80 and 443" - disable this port and restart skype.

Go to Services and restart apache and you should be up and running.

If this doesn't fix it, you might have something else running on port 80. Use 'netstat -b' from the command line to find out what program is using that port.

Hope that helps!

Options: ReplyQuote
Re: Blank page on Firefox with localhost
Posted by: Marcello2 (---.dsl.club-internet.fr)
Date: November 30, 2007 09:42PM

It helps a lot.
It took me two days to be able to use Wamp and I had to QUIT skype and start it after Wamp was loaded;
With your suggestion, Wamp works perfectly.
Thank you.

"I get by with a little help from my friends"

Options: ReplyQuote


Sorry, only registered users may post in this forum.