tracker issue : CF-3519649

select a category, or use search below
(searches all categories and all time range)

Could not find the included template

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Dave Cordes / Dave Cordes (Dave Cordes)

Created: 03/13/2013

Components: Language

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 5

Problem Description:

I am logging a bug in reference to this blog post on the Adobe forums:

Steps to Reproduce:

Install ColdFusion on IIS and wait for it to randomly happen.

Actual Result:

Page processing stops with the "Could not find the included template /path/template.cfm" error.

Expected Result:

ColdFusion processes the page as normal.

Any Workarounds:

None that I know of.

The only clue that I have at the moment is that when I receive an email about the error, 99% of the time it's GoogleBot. The other errors are being generated by BingBot.

Mozilla/5.0 (compatible; Googlebot/2.1; +

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3519649

External Customer Info:
External Company:  
External Customer Name: davecordes
External Customer Email:  
External Test Config: My Hardware and Environment details:

Server Product - ColdFusion

Version - 10,0,8,284032

Tomcat Version -

Edition - Standard

Operating System - Windows Server 2008 R2

OS Version - 6.1



My application is running on UNIX environment; very rarely facing this error "Could not find the included template" errors. The same page is working after reloading the page.
Vote by External U.
16016 | March 14, 2013 12:18:00 PM GMT
Quick update. This is still happening on many of my websites. Switching the included template to a relative link fixes the problem but I shouldn't have to do that when the folder does exist. Can someone explain why this is happening? I can provide full debugging (variable dumps) if needed.
Comment by External U.
16008 | March 24, 2013 01:54:09 PM GMT
I've encountered this as well, as we just launched our portal on an updated CF10 site. I have yet to catch it in the act, as when I load the page it is fine. The included file in question is the standard site footer, and the URL is always based on the webroot.
Comment by External U.
16009 | July 15, 2013 12:13:09 PM GMT
I see this based on automatic error handling emails on our intranet, yet the page loads fine when I try.
Vote by External U.
16017 | July 15, 2013 12:14:08 PM GMT
We see this issue, too. We also use IIS, and it seems to be a odd file, but it is consistently the same file that we're seeing issues with. Things really escalated with this issue over the weekend, despite having made no code changes.
Vote by External U.
16018 | July 15, 2013 01:36:16 PM GMT
I wonder if this is related to another bug raised, where the error escapes me at the moment. But every now and then it appears to throw an null exception. Each and every time I get an email, it is always BingBot.
Comment by External U.
16010 | September 27, 2013 01:12:49 PM GMT
I get this error randomly on our Intranet server so there is no Googlebot involved. It can't find the footer.cfm template even though it exists. The only fix is to restart the ColdFusion service or IIS.
Vote by External U.
16019 | January 03, 2014 04:49:10 PM GMT
As the forum thread says - it fails only in 0.003% case which makes it nearly impossible to replicate. So we would need some more information so that can we dig further. Can you share the code snippet that fails? Is there any stack trace that you can share? Can you also give details on the path that is used in cfinclude?
Comment by Rupesh K.
16011 | May 05, 2014 01:50:39 AM GMT
This error happens to me when I delete a CFM page from the file system and then googlebot or bingbot tries to access the deleted page. The page must contain a <cfinclude> tag. I believe this may have something to do with caching pages that no longer exist somewhere within IIS. Unfortunately it's impossible for me to reproduce this but I do see these errors come in from time to time from bingbot and googlebot.
Comment by External U.
16012 | September 25, 2014 01:24:43 PM GMT
Probably has to do with caching pages that no longer exist.
Vote by External U.
16020 | September 25, 2014 01:25:11 PM GMT
ColdFusion Version: 10,0,13,287689 Happens again and again with several random included Templates. I have no clue why. Did I try a include catch and include again but still. Does not find the template here and then.
Comment by External U.
16013 | October 07, 2014 09:24:13 AM GMT
I believe this error is related to our error handler which uses a ColdFusion template that has a header and footer includes. So when ColdFusion freaks out it triggers the error handler, then fails to include the header or the footer. I still have no idea why it happens though. It's almost like IIS or ColdFusion doesn't see the mapping.
Comment by External U.
16014 | October 22, 2014 04:53:11 PM GMT
Need some sort of repro case.
Comment by Awdhesh K.
16015 | November 25, 2014 03:23:10 AM GMT