Silverwolf90
asked on
Local .cfm pages coming up blank in browser.
I was working in dreamweaver and tryed to preview what i was working on in browser.
When the page came up. It was all blank. And in the status bar it said "done". I checked services and Coldfusion was running (all 3 services). IIS was running. I restarted the computer. Same problem. I restared a bunch of services. Same problem.
Any .cfm pages on my machine (localhost) are not showing up all i get is a blank screen in the browser. Html pages work fine.
Even the coldfusion administrator isn't showing up. Only a blank screen.
I did install the java plugin a bout 2 days ago. But then i uninstalled it and it didn't make a difference.
Im running CF 6.1 as a standalone server. So my , localhost prefix looks like "localhost:8500" and the root folder is C:\cfusionmx\wwwroot\
This is what i get when i view the source.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HE AD>
<BODY></BODY></HTML>
Any ideas what my problem is?
When the page came up. It was all blank. And in the status bar it said "done". I checked services and Coldfusion was running (all 3 services). IIS was running. I restarted the computer. Same problem. I restared a bunch of services. Same problem.
Any .cfm pages on my machine (localhost) are not showing up all i get is a blank screen in the browser. Html pages work fine.
Even the coldfusion administrator isn't showing up. Only a blank screen.
I did install the java plugin a bout 2 days ago. But then i uninstalled it and it didn't make a difference.
Im running CF 6.1 as a standalone server. So my , localhost prefix looks like "localhost:8500" and the root folder is C:\cfusionmx\wwwroot\
This is what i get when i view the source.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HE
<BODY></BODY></HTML>
Any ideas what my problem is?
ASKER
Hmm....when i check my code, its already like the second one.
However when i test it out in browser it comes up as the first one.
I just found out one more thing. I can seem to type anything after localhost:8500 and nothing comes up. Not even an error.
So the same thing happens when i type http://localhost:8500/asdfagjkl;asdf as when i type http://localhost:8500/index.cfm
I don't think it would do anything thing with my coding however because even the CF administrator is having the same problem.
However when i test it out in browser it comes up as the first one.
I just found out one more thing. I can seem to type anything after localhost:8500 and nothing comes up. Not even an error.
So the same thing happens when i type http://localhost:8500/asdfagjkl;asdf as when i type http://localhost:8500/index.cfm
I don't think it would do anything thing with my coding however because even the CF administrator is having the same problem.
well, this happened to me once. The page I had refered was excellent help to me that time. I am pasting you the solution from that page and also the link.
When this happened to me (CFMX 6.1, Win2000, IIS 5.0), I found that the cause was having the IIS 5.0 "Default Web Site" virtual directory missing (or in some cases just turned off). Instead of an error message, I received a blank page with a basic header and empty 'body'. Adding (and enabling) the standard IIS "Default Web Site" (to C:\Inetpub\wwwroot\) corrected the problem. In my case, the blank pages were displayed for both CFM and HTML pages, but since I was so focused on my CFM application; this appeared to be a CFMX issue instead of an IIS issue.
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=861835
Regards,
---Pinal
When this happened to me (CFMX 6.1, Win2000, IIS 5.0), I found that the cause was having the IIS 5.0 "Default Web Site" virtual directory missing (or in some cases just turned off). Instead of an error message, I received a blank page with a basic header and empty 'body'. Adding (and enabling) the standard IIS "Default Web Site" (to C:\Inetpub\wwwroot\) corrected the problem. In my case, the blank pages were displayed for both CFM and HTML pages, but since I was so focused on my CFM application; this appeared to be a CFMX issue instead of an IIS issue.
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=861835
Regards,
---Pinal
ASKER
Hmmm....im not exactly sure if i did what i was supposed to do.
but what i did.
Went into IIS. I then clicked "default web site." It was started. Then i went into properties and changed the home directory to c:\cfusionmx\wwwroot\
but i still get a blank page....
but what i did.
Went into IIS. I then clicked "default web site." It was started. Then i went into properties and changed the home directory to c:\cfusionmx\wwwroot\
but i still get a blank page....
ASKER
oh and another thing, it seems to be just .cfm pages because .html pages seem to work fine
ASKER
ok well I finally did the right thing.
I reinstalled CFMX and now everything works fine.....
I reinstalled CFMX and now everything works fine.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you setting the meta tag yourself?
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
try to remove it or make it
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">