Skip to main content
New Participant
January 7, 2009
Question

Could not find the included template

  • January 7, 2009
  • 1 reply
  • 958 views
I'm new to ColdFusion and after I edit a cfm (template.cfm) file using vim, I got the following error:
Could not find the included template template.cfm

page.cfm contains:
<cfinclude template="template.cfm">
    This topic has been closed for replies.

    1 reply

    Inspiring
    January 7, 2009
    azuro28 wrote:
    > I'm new to ColdFusion and after I edit a cfm (template.cfm) file using vim, I
    > got the following error:
    > Could not find the included template template.cfm
    >
    > page.cfm contains:
    > <cfinclude template="template.cfm">
    >

    That means that the file 'template.cfm' is not where ColdFusion needs it
    to be so that it can include it. Which is generally in the same folder
    at page.cfm with that syntax.

    azuro28Author
    New Participant
    January 7, 2009
    It's in the same directory. It just stop working after I edited it using vim. I've undo the changes and still have the same error message. Any ideas what went wrong? Thanks.