Solved

Unable to run CF8 from CFEclipse

Posted on 2010-08-19
2
459 Views
Last Modified: 2013-12-24
I have cfeclipse installed as well as CF8 dev. edition running. When I create a .cfm page and try to run it from inside cfeclipse (rt. click on file, run as, and then use internal web server), the page does not display any cfoutput. I tried outputting the date/time but the function itself displays like so: #Now()#. I checked to make sure the cf services are all running and they are. What am I missing and what do I do to fix it?

roger
0
Comment
Question by:roger_v
2 Comments
 
LVL 10

Accepted Solution

by:
Mr_Nil earned 500 total points
ID: 33531719
I suspect that what is happening is eclipse is simply referencing your template (.cfm) file as a file rather than through a web server. eg. file://path/to/your/template.cfm rather than http://localhost/path/template.cfm

To be honest I never run my code through eclipse.  Its easy to hit refresh on a browser window that I already have open after I've saved an update to template or component.

That said, you probably need to check that the web browser setting in eclipse to make sure that it is opening a URL (http://) rather than a file path (file://). CFEclipse has a "Edit URL" menu option when you right click on a project - perhaps this needs setting?
0
 
LVL 1

Author Closing Comment

by:roger_v
ID: 33987437
uninstalled and reinstalled coldfusion and that seemed to resolve the issue.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPA - can it be run on a web server? 3 177
IIS Site Configuration Copy 2 76
Autoresponder for Whole Domain in Plesk/Cpanel 2 77
JavaFX TableView not displaying correctly 3 18
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question