PDA

View Full Version : PHP not displaying in Live View - DW CS4


Big_Gee
08-08-2010, 01:11 PM
Hi All,

I've wiritten an echo in code view and hit F12 to launch the code in IE8 and have got an error:

Server Error in Application "DEFAULT WEB SITE"


Internet Information Services 7.5

Error SummaryHTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

What does this mean and how do I sort it?

Many Thanks
Big_Gee

edbr
08-09-2010, 02:00 AM
if your using iis php will not work you need to use a server that will handle php try wamp or xxamp

Big_Gee
08-09-2010, 09:15 AM
Hi,

Would I have to disable IIS first?

I've tried both of them I've but can not get the service to start. I have Windows 7 64bit Home premium. Is this a problem?

Thanks for your response!

Cheers
BG

edbr
08-09-2010, 10:40 AM
yes i believe so as thy both map to localhost , might be able to use different ports and ip addresses but not sure that would be wise (or even possible)

davidj
08-10-2010, 10:22 AM
ed is right

both servers use port 80 and your IIS has taken it first. Stop the IIS server and then restart Apache and all will be well

Big_Gee
08-11-2010, 11:08 AM
Hi Ed/David,

So I've disbled IIS and installed the latest edition of WAMP. I've gone into DW CS4 and hit F12 to detail in my web browser an the HTML paragraph details but not the PHP Echo statement. All that shows is the HTML sentence with a little, I suppose you could call it an icon, at the end of the HTML paragraph.

What does that mean? Am I doing something wronge as in something isn't set up correctly in either WAMP of DW CS4.

Many Thanks
BG

edbr
08-12-2010, 02:42 AM
if you type http://localhost in your browser what do you see?

Big_Gee
08-12-2010, 05:32 PM
the browser says:-

Internet Explorer cannot display the webpage

davidj
08-12-2010, 09:03 PM
in the system tray you have a wamp icon. It looks like an white meter. can you see it and what colour is it?

Big_Gee
08-13-2010, 10:53 AM
The WAMP icon is yellow and online.

Corrosive
08-13-2010, 11:01 AM
The icon (meter) should be all white. Sounds like conflicting ports to me. I find Skype does this as well.

davidj
08-13-2010, 01:24 PM
make sure IIS and Skype is not running

then try restarting the wamp services

you need the wamp icon to be white (with or without a little padlock in the middle of it)

Big_Gee
08-14-2010, 11:47 AM
Yep it's all white now and is saying that the server is online. Still i get the same PHP icon.

Big_Gee
08-14-2010, 11:49 AM
Now when I type in http://Localhost/ I get the wampserver configuration screen.

Big_Gee
08-14-2010, 03:07 PM
It might be helpful if I said thIv been doing the php for beginners tutorials and set up dreamweaver as stated and when in code view I do an opening php tag <php it doesn't turn red as the tutorial states.

davidj
08-14-2010, 07:10 PM
register me on skype using david.mark.jackson and i will talk you through setting it up properly