The issue is that on some shared hosts your "web root" for your account is not the same as what ColdFusion thinks of as the "web root". Thus, dot-notation does not work for referring to components and lack of relative paths for CFCs makes it tricky to deal with.
Mappings are an option, but as others have pointed out they don't always work for many shared hosting situations, custom tag paths have the same set of issues (that either you cannot have access to those at your shared host and/or you risk name conflicts). Any answer to this problem that assumes either: a) Your code is being executed from the CF web root b) You will be able to make any change to the CF Admin settings Is not really a solution at all. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Ben Curtis > Sent: Thursday, December 04, 2003 1:27 PM > To: [EMAIL PROTECTED] > Subject: Re: [CFCDev] Including CFCs relatively - THE SOLUTION > > > > > I think the problem that a lot of us have is that in a hosted > environment > > (shared server) you rarely have any access to the > administrator. Also, even > > if you do since you're in a shared environment only one user > can create any > > specific mapping - so if two users try to set up the same > application they > > may conflict. > > So the reason I don't experience this problem in my shared > hosting environment is because we have specified no mappings > whatsoever, and therefore we can code our cfc paths from the > web root without any overlapping of names, etc.? If that's > the case, why use mappings at all, ever? > > -- > > Ben Curtis > WebSciences International > http://www.websciences.org/ > v: 310 478 6648 > f: 310 235 2067 ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
