Skip to main content
Participating Frequently
February 13, 2011
質問

Brand new to CF and ...

  • February 13, 2011
  • 返信数 3.
  • 4446 ビュー

I've been following the David Powers tut -  Setting up a CF development enviroment for Dreamweaver. I have DW CS3 and CF9. I'd really like to get this right as I believe it will save me from problems in the future. All was going exactly right until I got to the testing server URL part of his tut. The "http://localhost:8500/cftest/" isn't working for me and I've tried several other variations on that theme but nothing is working for me. I've put the sample files in the cftest folder as described in the tutorial and don't understand what the problem is or could be. The only difference between what I've got and David's tut is I'm using DW CS3 as opposed to 5. I need to get past this somehow but at this point am out of ideas.My web site configuration tool tells me [localhost:coldfusion] Internet Information Server (IIS): All. This computer has an XP Pro OS for what that's worth. What should I look for to resolve this problem?

    このトピックへの返信は締め切られました。

    返信数 3

    existdissolve
    Inspiring
    February 13, 2011

    Adam's advice is definitely the best. Getting CF setup, if it's your first time, is definitely the most involved bit of what you're trying to accomplish.

    I remember the first time I did this, my issue was that the CF application server had never actually been started, so I spun my wheels for quite a while thinking it was a Dreamweaver issue. Once I started the CF server, it was rather straightforward to get the site setup in Dreamweaver.

    nospryexpert作成者
    Participating Frequently
    February 13, 2011

    Well after I wrote that all was well the machine hicupped and went back to the way it was. I started over - removed ColdFusion9 and did a fresh install. From there I just followed along with the tut and things went very smoothly. It is quite involved. The reason I got into the CF issue at all was that I did a website for a freind of mine that doesn't allow any PHP scripting (free webspace and worth every penny she paid for it) and I wanted to put an email form on it. I'm still not entirely clear on how to go about that but I now have a way to develop a CF app to try it. Do I somehow need to put CF on that site in order to run it? It's all very confusing to a novice like me exactly what I'm going to have to do here. Sometimes simply wrapping my head around the concept is the toughest part for me.

    Inspiring
    February 14, 2011

    Coldfusion has to be running on the server where you want your .cfm pages to live.  You should verify this with the owner of that server.  If php is not allowed, Coldfusion might not be either.

    nospryexpert作成者
    Participating Frequently
    February 13, 2011

    Also would like to add that opening the comments.cfm page in IE gives me a url of C:\ColdFusion9\wwwroot\cftest\comments.cfm. This should be a clue but I'm not at all sure what to do with it.

    Inspiring
    February 13, 2011

    Just to start with, forget about DreamWeaver.  Can you browse to http://localhost:8500/CFIDE/administrator, just in a web browser?  If so, that's a start.  If not: what's the error message?

    If you can get to CFAdmin, can you - in a web browser - browse to http://localhost:8500/cftest/?  If not, what's the error?

    If you can browse to your test site in a browser, return to DW, and maybe someone who knows about DW (and perhaps ask on a DW forum, not a CF forum, although some people here do use DW, so they'll probably hellp too) might have some suggestions.  I've not used DW for eight years or so, so have no idea how to configure it.

    --

    Adam

    nospryexpert作成者
    Participating Frequently
    February 13, 2011

    Adam, The http://localhost:8500/CFIDE/administrator  link gives me - "Unable to connect" in FF. I'm not sure how to answer the second question. I can open up the CFAdmin and of course that opens in a browser. Address is http://127.0.0.1/CFIDE/administrator/index.cfm. When I go to "System Settings" I can browse through the directory structure and it appears all is well. To answer your question - No, the http://localhost:8500/cftest/ again gives me an "Unable to Connect" message. Thanks for your help.

    Known Participant
    February 15, 2011

    There are times when localhost and 127.0.0.1 do not both work One of our servers, another app that got installed grabbed localhost and decided no-one else gets in, but 127.0.0.1 works for some things, and using the IP address of the server is required for a few things. It's worth trying both, and seeing if one works for you and the other doesn't. If so, the problem is at webserver level, not CF.