Skip to main content
September 28, 2009
Answered

Blank cfm files

  • September 28, 2009
  • 3 replies
  • 1874 views

Everything works fine on my local host as long as I use html but as soon as I try and use cfm file extension then page come up blank. When I view source then page is blank besides the html, head, and body tags. This happens even if I type simple text or the same content that was in the html sample. The files work fine on my host just not locally. I have tried to uninstall coldfusion and then reinstall it but same thing happens. I am using DW CS4 and Coldfusion 8. Anyone have any ideas out there as you can imagine this makes testing files locally before uploading them to server non existant.

    This topic has been closed for replies.
    Correct answer ilssac

    You have ColdFusion installed locally?

    You have sucessfully run the Web Server Connector TOOL to create a conncection between the web server and this Local ColdFusion so that the web server knows what to do with .cfm and related files.

    You do NOT have any firewalls or antivirus tools blocking the local ports needed for all this to work.

    Those are the most common issues.

    3 replies

    Participant
    October 19, 2009

    TEST CFM

    I'm having this problem to.

    It seems to have just begun, as I don't develop much anymore and run cf on my local server. All of a sudden, no <cfoutput>, and in fact, I couldn't even get into the Administrator. So, I uninstalled the Developer ver of CF8 and installed CF9. Now I can get into the Administrator, and my RDS server connects OK when I'm in Dreamweaver CS4. But, no output.

    Code like this:

    <p>This is a test document </p>
    <cfset Variables.myvar = "some value">
    <cfoutput>#myvar#</cfoutput>
    <cfdump var="#URL#" label="URL Vars">

    Produces output like this:

    This is a test document

    #myvar#

    It should look like this:

    This is a test document

    some value

    (and a like of URL values from cfdump)

    Any help to stop my frustration would be GREATLY appreciated.

    Participant
    October 20, 2009

    Just to update my troubleshooting experience on this issue, here's the latest. First, I resolved the issue. After putting my mind to it, I realized that CF was running and producing output fine. Why? Because the Administrator ran fine. So did any .cfm file inside the CFIDE directory. So, I began to test other webs I had set up within IIS using this simple text.cfm file. Sure enough, they work fine too. I created a test web site and tried test.cfm there successfully as well.

    It was obvious that something was amiss with the web I was working on, my web of interest, so to speak. I poked around with all the settings in IIS with no resolution. I couldn't figure out why this directory/web was any different than the others that worked.

    So, the solution was to copy all the files to a directory outside of c:\Inetpub\www\pe to a location inside of My documents under a directory called websites. I deleted the web site that was giving me problems and set up a new one using this new location. Now everything works fine and I can get back to developing.

    I just wish it hadn't taken me SO MANY HOURS to figure it out. Arrgghhh!

    October 1, 2009

    The usual question for such situation:

    can you access CF server pages directly specifying the port number?

    ilssac
    ilssacCorrect answer
    Inspiring
    September 28, 2009

    You have ColdFusion installed locally?

    You have sucessfully run the Web Server Connector TOOL to create a conncection between the web server and this Local ColdFusion so that the web server knows what to do with .cfm and related files.

    You do NOT have any firewalls or antivirus tools blocking the local ports needed for all this to work.

    Those are the most common issues.

    September 28, 2009

    Sorry I accidently hit that it was answered when I replied

    The wierd thing is that it worked before and then one day not sure what happened or if I did something but it just stopped working. So not sure what happened. I had not made any changes that I'm aware of.