Solved

Unable to run CF8 from CFEclipse

Posted on 2010-08-19
2
481 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

707 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