No -- I've actually resolved the issue, although I still don't know
why CF was throwing that error in particular (which had absolutely
nothing to do with the issue).

Though I don't think the choice of slash would matter anyway, since
when I displayed the path, all the slashes were facing the same
direction (which means both from getcurrenttemplatepath() and from my
generated path were the same), were the normal windows backslash,
there weren't any missing or repeated slashes, and because recent
versions of CF seem to automatically convert them to the appropriate
type of slash anyway. Iirc, MX will even return true from a path like
#directoryexists("c:\inetpub\/wwwroot")# -- which I believe means CF
is repairing the path internally.

> could it be an issue with "\" vs "/" ?


> On Sun, 27 Feb 2005 13:37:09 -0500, S. Isaac Dealey
> <[EMAIL PROTECTED]> wrote:
>> Okay, I'm completely stumped:
>>
>> CF MX 6.1 w/ updater
>>
>> This code:
>>
>> <cfoutput>
>>         file-exists = #fileexists(
>>         getdirectoryfrompath(getcurrenttemplatepath())
>>         & '\' & tagpath)#
>> </cfoutput>
>> <cfmodule template="#tagpath#" ...>
>>
>> Produces this:
>>
>> --------------------
>> file-exists = YES
>>
>> ....
>>
>> The following errors occurred:
>>
>> Could not find the included template
>> ...\..\..\..\..\..\..\_customtags\dba\members\permissioni
>> nfo.cfm.
>> --------------------
>>
>> Why on earth would CF not be able to find the template on
>> the very
>> next line when it's already indicated that the template
>> exists, beyond
>> the shadow of a doubt, at the specifid path.


s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196728
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