How do the physical paths map to the website? For example, does C:\Inetpub\wwwroot\MySite in your dev environment map to www.something.ext\MySite in dev?
How does it look in production? I wouldn't be surprised if a hosting organization would not want to manage mappings for each site/client. - Calvin -----Original Message----- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 3:36 PM To: CF-Talk Subject: CFCs and paths...I'm having a couple of problems... Okay, so I've got a site on my localhost. I'm setting it up to use CFCs and I've got my CFC all created, and it's working locally perfectly. The path is C:\Inetpub\wwwroot\MySite I have the CFC in the root of my site, and it's called, let's say, "myCFC.cfc". So in my page, I have the code that instantiates the object: <cfset variables.myObject= createObject("component", "MySite.myCFC")> .....and it works perfectly, like I said. I also have an admin section and it's path is C:\Inetpub\wwwroot\MySite\backend\ and my instantiation code works fine in there: <cfset variables.myObject= createObject("component", "MySite.myCFC")> However, now that I move it over to the live site to test it, it's not working. I "fixed" it, by changing my instantiation code (in all my root cfm files) to: <cfset variables.myObject= createObject("component", "myCFC")> .....which now works...*except* for in the admin directory one directory lower. I haven't been able to get it to work any other way than just placing the CFC in that directory too. I know, I know...this is *stupid* and I'm not going to leave it for sure, but I'm trying to figure out how I make it work on the remote, live site just like it's working here, without having to change code whenever I move it. What do I need to do to get it to work right? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198785 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

