Take the 2-minute tour ×

When I'd like to run idnex.cfm there is error "Could not find the included template". I should use CF admin mappings, but there are a lot of such errors in different files. So, is there the easier way to solve a problem?

Full error message:
Could not find the included template spiderBlock.cfm.
share|improve this question
This a very ominous question. Are you working with someone else's code, and trying to set up a local working copy of it--and then when running the application, getting an entire series of these types of errors? If so, the answer is to determine the mappings used in the application and mirror the configuration of your CFAdmin to match that of the app. If you are building a new application and getting these errors right out of the gate, you're going to want to look how how you reference each <cfinclude>; being sure to refer to the appropriate relative path to each cfm in your workspace. –  Shawn Holmes Oct 7 '11 at 15:24
Yes I'm working with someone else code –  Wolandello Oct 7 '11 at 15:55
@user978707 Please try to provide more details to your question. As it sits now, it may be in danger of getting closed due to low quality. –  Jonathan Sampson Oct 8 '11 at 2:51
Shawn, do you really find it that ominous? I really don't get a sense of foreboding when I read it. –  Adam Cameron Oct 8 '11 at 11:35
add comment

1 Answer

The error should also tell you WHICH template it can't find, including the path CF is looking for it on. Is that file at the location CF is looking for it? I suspect not.

If you start by giving us the full error message, we've got something to work with to make sensible comment on this.

As others have suggested there's a few ways the included file can be referenced in the including template: relative to its own location, absolutely from the CF root, or absolutely from a resolved mapping. So you might need to check your mappings as well (which'll be defined in CFAdmin or Application.cfc).

share|improve this answer
add comment

Your Answer


