Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Could not find the included template

New Here ,
Jan 07, 2009 Jan 07, 2009
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">
932
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 07, 2009 Jan 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 07, 2009 Jan 07, 2009
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources