Question
CFINCLUDE and relative path
I have a website which has error catching in it and from time
to time I have this error come through when using cfinclude.
Could not find the included template project56/images1/page1.html. Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator. Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
Why would this error occur for a few visiters and not for all when browsing my website?
If I have to put some sort of mapping into CF Administrator what should I put as a mapping and why should this help?
Thanks in advance for your help.
Simon.

Could not find the included template project56/images1/page1.html. Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator. Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
Why would this error occur for a few visiters and not for all when browsing my website?
If I have to put some sort of mapping into CF Administrator what should I put as a mapping and why should this help?
Thanks in advance for your help.
Simon.
