Dan,
    My assumption is that with the <cfinclude template="/ , that the initial 
/ signifies a directory mapping set-up in the ColdFusion administrator.  If 
the 'includes' folder is OK, then that folder is mapped in the adminstrator, 
while the 'common' folder is not.


Charlie Hanlon
Web Apps Developer
Food Service Enablers, Inc.
www.fsenablers.com

The People. The Platform. The Products.
Make the Difference


----- Original Message ----- 
From: "daniel kessler" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, November 11, 2005 9:38 AM
Subject: cfinclude problem


>I have a problem cfincluding a file.  One include works but the second one 
>doesn't.  Here it is:
>
> <cfinclude template="/includes/head.cfm">
> <cfinclude template="/common/return_url_set.cfm">
>
> The head.cfm include works fine.  the return_url_set does not.  I checked 
> that it's the correct path.  I found an include for another file in the 
> 'common' directory and tried to include that path and it also doesn't 
> work.  I put some extra blank lines in the included files hoping some 
> extra white space would help (seen it before), but nope.  I separated the 
> two includes by adding a blank line, but also nope.
> ok, I made it a more relative url by changing it to 
> "../common/return_url_set.cfm" and it works.
>
> So why does the "/" work on one file and not the other?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223944
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to