Skip to main content
Participant
August 10, 2011
Question

Coldfusion will only display index.cfm no matter what .cfm page is opened

  • August 10, 2011
  • 1 reply
  • 4553 views

I am currently learning ColdFusion using the tutorials on lynda.com. In doing the exercises I am running into a particularly unusual problem. No matter what .cfm document I have opened and I am attempting to work on the only page that will preview in Dreamweaver's Live View and in any browser is the index.cfm page of the exercises that I am working on. I have worked on these exercises on another computer, a laptop, with no problems. Both of the computer were running Windows 7 and all of the Site Setup information seems to be the same on both computers. Any ideas on what could be causing this? I cannot proceed effectively with the tutorials if this problem persists. I have all of the required components installed on my computer so I really don't know what the problem could be. Any help would be appreciated. Let me add that this is not happening with every CF document but with a particular Site Setup and exercises that I am working on through the tutorials that come with the Coldfusion tutorial provided by Lynda.com.

NOTE: I am learning ColdFusion MX at the moment, but I have ColdFusion 9.1 installed on the computer that I am having the problem on.

    This topic has been closed for replies.

    1 reply

    Inspiring
    August 11, 2011

    I don't quite get what you mean.  Do you mean that if you browse to http://your.domain/some/path/index.cfm, then the file is processed correctly, however if you browse to http://your.domain/some/path/someFileName.cfm then it "doesn't work"?  And what - in this case - does "doesn't work" mean?  Do you get an error?  Is the screen just blank?  Based on what you say, it's a bit hard to offer any meaningful advice, sorry.

    --

    Adam

    Peter G.Author
    Participant
    August 11, 2011

    Adam,

    Thanks for getting back to me. I have attached a .pdf and two (2) text documents which should serve to explain the problem in greater detail. I am sending this from my email which is how I am able to attach the documents. The pdf really shows my screen and what is actually happening. If you cannot open the files let me try to explain:

    I have two (2) separate CF sites set up on my computer. I have the same sites set up on my laptop. I have downloaded lessons from Lynda.com so that I can learn CF. In one of the CF sites, which has graphics included, no matter what page I am working on when I go to view that page in "Live View" or any browser the only page that displays is the index.cfm page. I do not get an error message, what displays is only the index.cfm page. In other words, the only page that will display in this particular site in the index.cfm page. I do not have this problem on the laptop. I hope that clarifies the situation. If not please let me know. I am attempting to fix the problem but I do not know what to do as I have tried several things, including deleting the site setup and setting it up again. Any help would be appreciated. Thanks.

    Click here for ColdFusion Problem.pdf or copy and past this link to your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion-Problem.pdf

    Click here for  user_list.cfm document or copy and paste this link in your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion_user_list.cfm_Code.txt

    Click here for storyteller.cfm document or copy and paste this link in your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion_storyteller.cfm_Code.txt

    Peter

    Message was edited by: Peter G.

    Inspiring
    August 12, 2011

    Thanks Adam,

    Whether I view them in the "Live View" or any browser I get the same results.

    Peter


    So you are telling me if you browse to http://your.domain/learningcoldfusion/admin/user_list.cfm, then it diplays the email / password page page?  Does the URL in the address bar change?  And similarly with storyteller.cfm?

    What does header.cfm have in it?


    Is there an Application.cfm or Application.cfc in that subtree anywhere?  If so, what does that contain?

    --
    Adam