Re: CFC Paths

2006-01-27 Thread John Beynon
yes, in addition you could create a mapping on the live server named
the same as the folder in local and map it to the webroot and it
should work as expected (ie the same place as the existing / mapping
on live)

if you end up having multiple virtual servers on the same box you
might want to create a unique mapping for each site...so siteA would
have it's own mapping, 'SiteA' and you'd reference that in your CFCs
since you can only have unique names for mapping on a single cf
instance

jb.

On 27/01/06, James Holmes <[EMAIL PROTECTED]> wrote:
> Yes, that is the issue. A mapping or custom tag path is necessary in this 
> case.
>
> On 1/27/06, Mark Flewellen <[EMAIL PROTECTED]> wrote:
> > Could it have anything to do with the fact that the local url is something 
> > along the lines of
> >
> > http://localhost/mywebsite/cfc
> >
> > remotely it is a domain name www.mywebsite.com/cfc
> >
> > should I be setting up mappings for such a thing, a bit new to this so 
> > sorry if the questions are a bit vague?
> >
> > Mark
> >
> >
>
> 

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


Re: CFC Paths

2006-01-27 Thread James Holmes
Yes, that is the issue. A mapping or custom tag path is necessary in this case.

On 1/27/06, Mark Flewellen <[EMAIL PROTECTED]> wrote:
> Could it have anything to do with the fact that the local url is something 
> along the lines of
>
> http://localhost/mywebsite/cfc
>
> remotely it is a domain name www.mywebsite.com/cfc
>
> should I be setting up mappings for such a thing, a bit new to this so sorry 
> if the questions are a bit vague?
>
> Mark
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230571
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFC Paths

2006-01-27 Thread Mark Flewellen
Could it have anything to do with the fact that the local url is something 
along the lines of 

http://localhost/mywebsite/cfc

remotely it is a domain name www.mywebsite.com/cfc

should I be setting up mappings for such a thing, a bit new to this so sorry if 
the questions are a bit vague?

Mark

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230568
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFC Paths

2006-01-27 Thread John Beynon
it'll probably be related to where your CFCs are in relation to the /
mapping in ColdFusion differing between local/live environments.

In your local environment it would appear you are building a site in
the 'rootdirectory' folder which is in the webroot, usually mapped to
a / CFmapping. Your live environment is probably web mapped straight
into rootdirectory...so there reference to rootdirectory is invalid,

hope that helps,

john.

On 1/27/06, Mark Flewellen <[EMAIL PROTECTED]> wrote:
> I am having trouble with cfc's on my website
>
> example of cfc
>
>  returnvariable="DeleteConfirm">
> 
> 
>
> This works fine when testing the site locally on my webserver, as soon as I 
> publish it to the production server, i get an error. The only way I can get 
> it to work on the production server is to drop the rootdirectory of the front 
> of the component path. ie.
>
>  returnvariable="DeleteConfirm">
> 
> 
>
> But then this doesn't work locally for me.
>
> What am I missing?
>
> Mark
>
> 

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


CFC Paths

2006-01-27 Thread Mark Flewellen
I am having trouble with cfc's on my website

example of cfc





This works fine when testing the site locally on my webserver, as soon as I 
publish it to the production server, i get an error. The only way I can get it 
to work on the production server is to drop the rootdirectory of the front of 
the component path. ie.





But then this doesn't work locally for me.

What am I missing?

Mark

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