Re: cfinclude problem
On 11/11/05, Dave Watts <[EMAIL PROTECTED]> wrote: > > If 'recent releases do not define / as a mapping in the > > admin', then what do they define the / as?? > > They simply don't define it at all. If you use a path that begins with a > slash within a CFINCLUDE or CFMODULE tag, CF will then search the list of > directories that are mapped, and if your path doesn't match one of those > directories CF will tell you it can't find the file. This is just as true if > you don't have a root mapping in CF as if you do. Just to clarify: the document root *is* known to CF and it *does* search that for paths that begin with '/' - it no longer needs the explicit '/' mapping (on some install configs, it seems?). Adding an explicit '/' mapping will actually change the search order slightly (since the document root becomes just another mapping), as I understand it. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| 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:223982 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: cfinclude problem
> If 'recent releases do not define / as a mapping in the > admin', then what do they define the / as?? They simply don't define it at all. If you use a path that begins with a slash within a CFINCLUDE or CFMODULE tag, CF will then search the list of directories that are mapped, and if your path doesn't match one of those directories CF will tell you it can't find the file. This is just as true if you don't have a root mapping in CF as if you do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:223980 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: cfinclude problem
If you cant use relative incs, what you could do in a shared environment is put all your include files in a namespace that no one else should be using... havent actually had to do it myself but I would guess something along the lines of: /com_mydomain/myappname/includes /com_mydomain/myappname/common -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: 11 November 2005 16:04 To: CF-Talk Subject: Re: cfinclude problem > ah, you are on a shared host? Chances are, someone else has a > mapping of /common already set up. The mapping would take priority over the > absolute mapping, so cf is looking for a file in that /common mapping, > > not your /common directory. rename your common folder to something > like /commonFoo and change your cfinclude accordingly and see if it > works. Yep that worked fiine, dangit. ok, so the solutions are to rename my dir or use relative (../) urls. ~| 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:223978 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: cfinclude problem
That is true but maybe a little misleading. You can use / in an href or src attribute just fine in a .cfm file but it IS IIS that is finding that file for you in the end. You just can't use this method in a cfinclude. (apparently it works fine in 'newer versions' but I dont know how much 'newer') Not trying to say you're wrong Justin, I knew exactly what you meant but it sounded a little misleading and I just thought id 'attempt' to make it a little clearer. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Justin D. Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 11:07 AM To: CF-Talk Subject: RE: cfinclude problem > "/" is (and has always been) a built-in CF mapping > (defined in the CF Admin) that goes to the root of > the site. ColdFusion has no concept of your "site" like IIS does. If my root folder is c:\http\mysite and I try to include "/folder/file.cfm" ColdFusion wouldn't know where to begin looking. Any include like this has to be defined in the administrator as a mapping, otherwise, use relative paths from the file you're including from. -Justin Scott ~| 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:223975 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: cfinclude problem
> I just checked my local 6.1 and 6.1.1 installs and those do not > have a / mapping (they have a /CFIDE mapping). The 6.1.1 install > is clean but the 6.1 install has been used quite a bit so it's > possible it originally had the / mapping and I deleted it. I no > longer have a 6.0 install locally to check (and I've never had a > 5.0 install since it didn't run on a Mac :) > > I know that some shared hosts have still had the / mapping with > 6.1 or even 7 (because I've helped users debug problems caused by > the / mapping!) so I suspect that it may have been preserved into > those installations by previous upgrades... I think this may also depend on whether you install CFMX in Multiserver configuration or standalone server configuration. It doesn't appear during Multiserver configuration, but I think it may appear in the standalone server configuration. I haven't tested or checked this, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:223972 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: cfinclude problem
On 11/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: > wow. i had no idea that had changed. just out of curiousity...when > you say 'recent versions'... MX? MX 7? I just checked my local 6.1 and 6.1.1 installs and those do not have a / mapping (they have a /CFIDE mapping). The 6.1.1 install is clean but the 6.1 install has been used quite a bit so it's possible it originally had the / mapping and I deleted it. I no longer have a 6.0 install locally to check (and I've never had a 5.0 install since it didn't run on a Mac :) I know that some shared hosts have still had the / mapping with 6.1 or even 7 (because I've helped users debug problems caused by the / mapping!) so I suspect that it may have been preserved into those installations by previous upgrades... Perhaps someone with more CF history than I have can shed some light on this? -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| 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:223968 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: cfinclude problem
> ah, you are on a shared host? Chances are, someone else has a > mapping of /common already set up. The mapping would take priority over the > absolute mapping, so cf is looking for a file in that /common mapping, > > not your /common directory. rename your common folder to something > like /commonFoo and change your cfinclude accordingly and see if it > works. Yep that worked fiine, dangit. ok, so the solutions are to rename my dir or use relative (../) urls. ~| 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:223967 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: cfinclude problem
It also buggers up CFC's -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: 11 November 2005 16:38 To: CF-Talk Subject: Re: cfinclude problem On 11/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: > "/" is (and has always been) a built-in CF mapping (defined in the CF > Admin) that goes to the root of the site. It may have been in the past but recent releases do not define / as a mapping in the admin and, in fact, having that mapping can cause problems, especially on shared hosting, because it hijacks any path beginning with / (e.g., /index.cfm). I'd say the problem here is exactly what Ryan Guill said: someone on your shared server has a mapping for /common and it's hijacking your includes. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| 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:223965 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: cfinclude problem
wow. i had no idea that had changed. just out of curiousity...when you say 'recent versions'... MX? MX 7? (and i agree that Ryan probably hit it right on the head with the identically named mapping in the shared hosting environment...but still curious about the above) :) On 11/11/05, Sean Corfield <[EMAIL PROTECTED]> wrote: > On 11/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: > > "/" is (and has always been) a built-in CF mapping (defined in the CF > > Admin) that goes to the root of the site. > > It may have been in the past but recent releases do not define / as a > mapping in the admin and, in fact, having that mapping can cause > problems, especially on shared hosting, because it hijacks any path > beginning with / (e.g., /index.cfm). > > I'd say the problem here is exactly what Ryan Guill said: someone on > your shared server has a mapping for /common and it's hijacking your > includes. > -- > Sean A Corfield -- http://corfield.org/ > Got frameworks? > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ~| 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:223964 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: cfinclude problem
Sean If 'recent releases do not define / as a mapping in the admin', then what do they define the / as?? thanks Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From: "Sean Corfield" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Friday, November 11, 2005 11:38 AM Subject: Re: cfinclude problem > On 11/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: >> "/" is (and has always been) a built-in CF mapping (defined in the CF >> Admin) that goes to the root of the site. > > It may have been in the past but recent releases do not define / as a > mapping in the admin and, in fact, having that mapping can cause > problems, especially on shared hosting, because it hijacks any path > beginning with / (e.g., /index.cfm). > > I'd say the problem here is exactly what Ryan Guill said: someone on > your shared server has a mapping for /common and it's hijacking your > includes. > -- > Sean A Corfield -- http://corfield.org/ > Got frameworks? > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ~| 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:223963 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: cfinclude problem
On 11/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: > "/" is (and has always been) a built-in CF mapping (defined in the CF > Admin) that goes to the root of the site. It may have been in the past but recent releases do not define / as a mapping in the admin and, in fact, having that mapping can cause problems, especially on shared hosting, because it hijacks any path beginning with / (e.g., /index.cfm). I'd say the problem here is exactly what Ryan Guill said: someone on your shared server has a mapping for /common and it's hijacking your includes. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| 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:223962 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: cfinclude problem
ah, you are on a shared host? Chances are, someone else has a mapping of /common already set up. The mapping would take priority over the absolute mapping, so cf is looking for a file in that /common mapping, not your /common directory. rename your common folder to something like /commonFoo and change your cfinclude accordingly and see if it works. On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: > I didn't do any special mapping in cfAdmin because it's shared hosting and I > have no access to any admin tools. > > >"/" is (and has always been) a built-in CF mapping (defined in the CF > >Admin) that goes to the root of the site. > > So if this is the case then why wouldn't it work? Sounds like you're saying > that it should. > > ~| 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:223960 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: cfinclude problem
I dont think my message went through, so just in case: ah, you are on a shared host? Chances are, someone else has a mapping of /common already set up. The mapping would take priority over the absolute mapping, so cf is looking for a file in that /common mapping, not your /common directory. rename your common folder to something like /commonFoo and change your cfinclude accordingly and see if it works. On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: > I didn't do any special mapping in cfAdmin because it's shared hosting and I > have no access to any admin tools. > > >"/" is (and has always been) a built-in CF mapping (defined in the CF > >Admin) that goes to the root of the site. > > So if this is the case then why wouldn't it work? Sounds like you're saying > that it should. > > ~| 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:223958 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: cfinclude problem
Based on your statement that the included files where are included, while the are not included...possibly indicates that a mapping has been made for the 'includes' folder, but not the 'common' folder. Is there any way to find out from the host if there are any such mappings 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" Sent: Friday, November 11, 2005 10:15 AM Subject: Re: cfinclude problem >I didn't do any special mapping in cfAdmin because it's shared hosting and >I have no access to any admin tools. > >>"/" is (and has always been) a built-in CF mapping (defined in the CF >>Admin) that goes to the root of the site. > > So if this is the case then why wouldn't it work? Sounds like you're > saying that it should. > > ~| 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:223957 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: cfinclude problem
On 11/11/05, Justin D. Scott <[EMAIL PROTECTED]> wrote: > > "/" is (and has always been) a built-in CF mapping > > (defined in the CF Admin) that goes to the root of > > the site. > > ColdFusion has no concept of your "site" like IIS does. If my root folder > is c:\http\mysite and I try to include "/folder/file.cfm" ColdFusion > wouldn't know where to begin looking. Any include like this has to be > defined in the administrator as a mapping, otherwise, use relative paths > from the file you're including from. this is wrong. from the code I am currently working on: I have no /pmd mapping in my cfadmin, and no pmd virtual site in iis. And it works perfectly. -- Ryan Guill BlueEyesDevelopment [EMAIL PROTECTED] www.ryanguill.com (270) 217.2399 got google talk? Chat me at [EMAIL PROTECTED] The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com www.ryanguill.com/ The Roman Empire: www.ryanguill.com/blog/ ~| 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:223956 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: cfinclude problem
Or it could be so long since I've tried to do this (include a non-relative path) that it could have changed the way it handles includes since 4.0. -Justin Scott > -Original Message- > From: Justin D. Scott [mailto:[EMAIL PROTECTED] > Sent: Friday, November 11, 2005 11:07 AM > To: CF-Talk > Subject: RE: cfinclude problem > > > "/" is (and has always been) a built-in CF mapping > > (defined in the CF Admin) that goes to the root of > > the site. > > ColdFusion has no concept of your "site" like IIS does. If > my root folder > is c:\http\mysite and I try to include "/folder/file.cfm" ColdFusion > wouldn't know where to begin looking. Any include like this has to be > defined in the administrator as a mapping, otherwise, use > relative paths > from the file you're including from. > > > -Justin Scott > > > > ~| 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:223955 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: cfinclude problem
Do you have a /common mapping in your cf admin? On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: > can't believe I didn't try that but yep. > > >can you browser to *yoursite*/common/return_url_set.cfm ? > > > > > >On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: > >> > > ~| 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:223954 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: cfinclude problem
I didn't do any special mapping in cfAdmin because it's shared hosting and I have no access to any admin tools. >"/" is (and has always been) a built-in CF mapping (defined in the CF >Admin) that goes to the root of the site. So if this is the case then why wouldn't it work? Sounds like you're saying that it should. ~| 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:223953 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: cfinclude problem
> "/" is (and has always been) a built-in CF mapping > (defined in the CF Admin) that goes to the root of > the site. ColdFusion has no concept of your "site" like IIS does. If my root folder is c:\http\mysite and I try to include "/folder/file.cfm" ColdFusion wouldn't know where to begin looking. Any include like this has to be defined in the administrator as a mapping, otherwise, use relative paths from the file you're including from. -Justin Scott ~| 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:223952 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: cfinclude problem
can't believe I didn't try that but yep. >can you browser to *yoursite*/common/return_url_set.cfm ? > > >On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: >> ~| 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:223951 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: cfinclude problem
"/" is (and has always been) a built-in CF mapping (defined in the CF Admin) that goes to the root of the site. On 11/11/05, Dawson, Michael <[EMAIL PROTECTED]> wrote: > It's always absolute when you start the path with a "/". > > As far as I know, CF has always been like that. > > M!ke > > -Original Message- > From: Mark Leder [mailto:[EMAIL PROTECTED] > Sent: Friday, November 11, 2005 9:43 AM > To: CF-Talk > Subject: RE: cfinclude problem > > Since when did cfinclude work with absolute URLs? > I've ALWAYS had to use relative URLs. > > Mark > > ~| 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:223950 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: cfinclude problem
It's always absolute when you start the path with a "/". As far as I know, CF has always been like that. M!ke -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 9:43 AM To: CF-Talk Subject: RE: cfinclude problem Since when did cfinclude work with absolute URLs? I've ALWAYS had to use relative URLs. Mark ~| 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:223949 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: cfinclude problem
Are those both CF mappings? /includes /common Because thats what CF thinks they are when they start with "/" ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 9:38 AM To: CF-Talk Subject: cfinclude problem I have a problem cfincluding a file. One include works but the second one doesn't. Here it is: 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? ~| 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:223948 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: cfinclude problem
can you browser to *yoursite*/common/return_url_set.cfm ? On 11/11/05, daniel kessler <[EMAIL PROTECTED]> wrote: > I have a problem cfincluding a file. One include works but the second one > doesn't. Here it is: > > > > > 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? > > ~| 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:223947 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: cfinclude problem
Since when did cfinclude work with absolute URLs? I've ALWAYS had to use relative URLs. Mark ~| 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:223946 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: cfinclude problem
Dan, My assumption is that with the To: "CF-Talk" 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: > > > > > 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
RE: CFINCLUDE Problem
Um, can't see anything wrong with that. Once mapped, a directory should be immediately available - without a restart and without mapping it on the web server either. /me scratches head. I'm stumped, there has to be something that has been missed somewhere though I'll be blown if I can think of what it could be at present. > My mapping settings are: > > Logical Path: /Templates/ > Directory Path: C:\Inetpub\wwwroot\new\Templates\ > > > This is my CF Code: > > > > >From: "Steve Martin" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: CF-Talk <[EMAIL PROTECTED]> > >Subject: RE: CFINCLUDE Problem > >Date: Mon, 30 Oct 2000 17:19:39 - > > > >Sal, can you detail _exactly_ what you did, i.e. exactly what > you typed for > >your mappings and exactly what you typed to include the file. > > > >Steve > > > > > -----Original Message- > > > From: S R [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, October 30, 2000 17:13 > > > To: CF-Talk > > > Subject: Re: CFINCLUDE Problem > > > > > > > > > I did do this and I still get an error saying I must map the > directory > >in > > > the ColdFusion Admin. The setup is exactly as you have it below. The > >only > > > thing I could think of is that when I entered the mapping in the > > > CF Admin I > > > did not 'restart' the server. Does this need to be done? > > > > > > Sal > > > > > > > > > >From: "John Cummings" <[EMAIL PROTECTED]> > > > >Reply-To: [EMAIL PROTECTED] > > > >To: CF-Talk <[EMAIL PROTECTED]> > > > >Subject: Re: CFINCLUDE Problem > > > >Date: Fri, 27 Oct 2000 21:28:23 -0400 > > > > > > > >Where is the "Templates" folder in relation to the directory that the > > > >calling file is in? > > > > > > > >For example, if your index.cfm file is the "calling" template, > > > and it is in > > > >say, C:\DOCS - and the templates.cfm file is in > > > C:\DOCS\TEMPLATES then you > > > >would need to include this path information in the call. > > > > > > > >- Original Message - > > > >From: "S R" <[EMAIL PROTECTED]> > > > >To: "CF-Talk" <[EMAIL PROTECTED]> > > > >Sent: Friday, October 27, 2000 7:44 PM > > > >Subject: CFINCLUDE Problem > > > > > > > > > > > > > Hi, > > > > > > > > > > I have an index.cfm page in my websites root folder and > I'm trying > >to > > > >use > > > >a > > > > > to call a file within a folder called > > > 'Templates' > > > >but > > > > > it is not working. It works if the file I am trying to > > > reference is in > > > >the > > > > > same place as the Index.cfm file but when I put it in this > >'Templates' > > > > > folder, my browser just hangs. I mapped the directory in the CF > >Admin > > > >and > > > >it > > > > > still doesn't work. Does this directory also have to be added > > > to the Web > > > > > Server or something? > > > > > > > > > > Thanks > > > > > > > > > > Sal > > > > > > > > > > > >_ > > > > > Get Your Private, Free E-mail from MSN Hotmail at > > > >http://www.hotmail.com. > > > > > > > > > > Share information about yourself, create your own public > profile at > > > > > http://profiles.msn.com. > > > > > > > > > > > > > >- > > > - > > > >-- > > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > > > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or > > >send > > >a message with 'unsubscribe' in the body to > > >[EMAIL PROTECTED] > > > > > > > > > >- > > --- > > >Archives: http://www.mail-archive.com/cf-talk@hou
RE: CFINCLUDE Problem
My mapping settings are: Logical Path: /Templates/ Directory Path: C:\Inetpub\wwwroot\new\Templates\ This is my CF Code: >From: "Steve Martin" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: RE: CFINCLUDE Problem >Date: Mon, 30 Oct 2000 17:19:39 - > >Sal, can you detail _exactly_ what you did, i.e. exactly what you typed for >your mappings and exactly what you typed to include the file. > >Steve > > > -Original Message- > > From: S R [mailto:[EMAIL PROTECTED]] > > Sent: Monday, October 30, 2000 17:13 > > To: CF-Talk > > Subject: Re: CFINCLUDE Problem > > > > > > I did do this and I still get an error saying I must map the directory >in > > the ColdFusion Admin. The setup is exactly as you have it below. The >only > > thing I could think of is that when I entered the mapping in the > > CF Admin I > > did not 'restart' the server. Does this need to be done? > > > > Sal > > > > > > >From: "John Cummings" <[EMAIL PROTECTED]> > > >Reply-To: [EMAIL PROTECTED] > > >To: CF-Talk <[EMAIL PROTECTED]> > > >Subject: Re: CFINCLUDE Problem > > >Date: Fri, 27 Oct 2000 21:28:23 -0400 > > > > > >Where is the "Templates" folder in relation to the directory that the > > >calling file is in? > > > > > >For example, if your index.cfm file is the "calling" template, > > and it is in > > >say, C:\DOCS - and the templates.cfm file is in > > C:\DOCS\TEMPLATES then you > > >would need to include this path information in the call. > > > > > >- Original Message - > > >From: "S R" <[EMAIL PROTECTED]> > > >To: "CF-Talk" <[EMAIL PROTECTED]> > > >Sent: Friday, October 27, 2000 7:44 PM > > >Subject: CFINCLUDE Problem > > > > > > > > > > Hi, > > > > > > > > I have an index.cfm page in my websites root folder and I'm trying >to > > >use > > >a > > > > to call a file within a folder called > > 'Templates' > > >but > > > > it is not working. It works if the file I am trying to > > reference is in > > >the > > > > same place as the Index.cfm file but when I put it in this >'Templates' > > > > folder, my browser just hangs. I mapped the directory in the CF >Admin > > >and > > >it > > > > still doesn't work. Does this directory also have to be added > > to the Web > > > > Server or something? > > > > > > > > Thanks > > > > > > > > Sal > > > > > > > >_ > > > > Get Your Private, Free E-mail from MSN Hotmail at > > >http://www.hotmail.com. > > > > > > > > Share information about yourself, create your own public profile at > > > > http://profiles.msn.com. > > > > > > > > > > >- > > - > > >-- > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or > > >send > > >a message with 'unsubscribe' in the body to > > >[EMAIL PROTECTED] > > > > > > > > > >- > > --- > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > >Unsubscribe: >http://www.houseoffusion.com/index.cfm?sidebar=lists or send a > >message with 'unsubscribe' in the body to > >[EMAIL PROTECTED] > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.com. > > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a >message with 'unsubscribe' in the body to >[EMAIL PROTECTED] > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a >message with 'unsubscribe' in the body to >[EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CFINCLUDE Problem
Sal, can you detail _exactly_ what you did, i.e. exactly what you typed for your mappings and exactly what you typed to include the file. Steve > -Original Message- > From: S R [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 30, 2000 17:13 > To: CF-Talk > Subject: Re: CFINCLUDE Problem > > > I did do this and I still get an error saying I must map the directory in > the ColdFusion Admin. The setup is exactly as you have it below. The only > thing I could think of is that when I entered the mapping in the > CF Admin I > did not 'restart' the server. Does this need to be done? > > Sal > > > >From: "John Cummings" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: CF-Talk <[EMAIL PROTECTED]> > >Subject: Re: CFINCLUDE Problem > >Date: Fri, 27 Oct 2000 21:28:23 -0400 > > > >Where is the "Templates" folder in relation to the directory that the > >calling file is in? > > > >For example, if your index.cfm file is the "calling" template, > and it is in > >say, C:\DOCS - and the templates.cfm file is in > C:\DOCS\TEMPLATES then you > >would need to include this path information in the call. > > > >- Original Message - > >From: "S R" <[EMAIL PROTECTED]> > >To: "CF-Talk" <[EMAIL PROTECTED]> > >Sent: Friday, October 27, 2000 7:44 PM > >Subject: CFINCLUDE Problem > > > > > > > Hi, > > > > > > I have an index.cfm page in my websites root folder and I'm trying to > >use > >a > > > to call a file within a folder called > 'Templates' > >but > > > it is not working. It works if the file I am trying to > reference is in > >the > > > same place as the Index.cfm file but when I put it in this 'Templates' > > > folder, my browser just hangs. I mapped the directory in the CF Admin > >and > >it > > > still doesn't work. Does this directory also have to be added > to the Web > > > Server or something? > > > > > > Thanks > > > > > > Sal > > > > >_ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > Share information about yourself, create your own public profile at > > > http://profiles.msn.com. > > > > > > > >- > - > >-- > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or > >send > >a message with 'unsubscribe' in the body to > >[EMAIL PROTECTED] > > > > > > >- > --- > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a >message with 'unsubscribe' in the body to >[EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
Re: CFINCLUDE Problem
I did do this and I still get an error saying I must map the directory in the ColdFusion Admin. The setup is exactly as you have it below. The only thing I could think of is that when I entered the mapping in the CF Admin I did not 'restart' the server. Does this need to be done? Sal >From: "John Cummings" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: Re: CFINCLUDE Problem >Date: Fri, 27 Oct 2000 21:28:23 -0400 > >Where is the "Templates" folder in relation to the directory that the >calling file is in? > >For example, if your index.cfm file is the "calling" template, and it is in >say, C:\DOCS - and the templates.cfm file is in C:\DOCS\TEMPLATES then you >would need to include this path information in the call. > >- Original Message - >From: "S R" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Friday, October 27, 2000 7:44 PM >Subject: CFINCLUDE Problem > > > > Hi, > > > > I have an index.cfm page in my websites root folder and I'm trying to >use >a > > to call a file within a folder called 'Templates' >but > > it is not working. It works if the file I am trying to reference is in >the > > same place as the Index.cfm file but when I put it in this 'Templates' > > folder, my browser just hangs. I mapped the directory in the CF Admin >and >it > > still doesn't work. Does this directory also have to be added to the Web > > Server or something? > > > > Thanks > > > > Sal > > >_ > > Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > > > Share information about yourself, create your own public profile at > > http://profiles.msn.com. > > > > >-- >-- > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or >send >a message with 'unsubscribe' in the body to >[EMAIL PROTECTED] > > > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a >message with 'unsubscribe' in the body to >[EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
Re: CFINCLUDE Problem
Where is the "Templates" folder in relation to the directory that the calling file is in? For example, if your index.cfm file is the "calling" template, and it is in say, C:\DOCS - and the templates.cfm file is in C:\DOCS\TEMPLATES then you would need to include this path information in the call. - Original Message - From: "S R" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, October 27, 2000 7:44 PM Subject: CFINCLUDE Problem > Hi, > > I have an index.cfm page in my websites root folder and I'm trying to use a > to call a file within a folder called 'Templates' but > it is not working. It works if the file I am trying to reference is in the > same place as the Index.cfm file but when I put it in this 'Templates' > folder, my browser just hangs. I mapped the directory in the CF Admin and it > still doesn't work. Does this directory also have to be added to the Web > Server or something? > > Thanks > > Sal > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > -- -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
Re: CFInclude-Problem
Thanks John, that helped a lot. Uwe SD Solutions Uwe Degenhardt Fon: 08122/903791 Fax: 08122/903792 Web: http://www.sdsolutions.de E-Mail: [EMAIL PROTECTED] - Original Message - From: "John Quarto-vonTivadar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 22, 2000 5:52 PM Subject: Re: CFInclude-Problem because all the CFINCLUDE does is grab whatever is in the template file and insert it into the currently running template. You've given it a file name of "navigation_e.cfm?page=services" (which may or may not be legitimate file name under your OS) but almost certainly doesn't exist as an actual file). Since you're only including the code within "navigation_e.cfm", then if you really need the FORM-like variable you mention then do it as Of course since this is likely a topic with soem grey spots for you, you might also want to read up on the differences between CFINCLUDE and CFMODULE and Custom Tags. There was a nice article by Charlie Arehart in the CFDJ last month that talks about this. > Can s.o. tell me why this isn't possible ? > > > > It throws an CFInclude-Template-error ! > > Ideas what to do instead ? > > Uwe . -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFInclude-Problem
The template attribute of CFINCLUDE can only contain the name of a template, not any url variables or anything else. > Can s.o. tell me why this isn't possible ? > > > > It throws an CFInclude-Template-error ! > > Ideas what to do instead ? > > Uwe > > SD Solutions > Uwe Degenhardt > Fon: 08122/903791 > Fax: 08122/903792 > Web: http://www.sdsolutions.de > E-Mail: [EMAIL PROTECTED] > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFInclude-Problem
because all the CFINCLUDE does is grab whatever is in the template file and insert it into the currently running template. You've given it a file name of "navigation_e.cfm?page=services" (which may or may not be legitimate file name under your OS) but almost certainly doesn't exist as an actual file). Since you're only including the code within "navigation_e.cfm", then if you really need the FORM-like variable you mention then do it as Of course since this is likely a topic with soem grey spots for you, you might also want to read up on the differences between CFINCLUDE and CFMODULE and Custom Tags. There was a nice article by Charlie Arehart in the CFDJ last month that talks about this. > Can s.o. tell me why this isn't possible ? > > > > It throws an CFInclude-Template-error ! > > Ideas what to do instead ? > > Uwe . -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFInclude-Problem
Uwe, > > Can s.o. tell me why this isn't possible ? > > > > It throws an CFInclude-Template-error ! > > Ideas what to do instead ? > You don't need to pass any variables to your template, because it will be included into the page that you're calling it from. So all you need to do is before your include. Regards Stephen -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFInclude-Problem
You can't pass parameters with an include. You have several options: 1 - Change navigation_e to look for attributes.page 2 - Change navigation_e to look for attributes.page 3 - No changes to navigation_e I'd lean towards one of the first 2 options... Larry >>> [EMAIL PROTECTED] 05/22/00 09:02AM >>> Can s.o. tell me why this isn't possible ? It throws an CFInclude-Template-error ! Ideas what to do instead ? -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFInclude-Problem
As I understand the included template "navigation_e.cfm" should have access to all the var's set on the calling cf template. There are some other issues/rules, but try this out maybe? > Can s.o. tell me why this isn't possible ? > > > > It throws an CFInclude-Template-error ! > > Ideas what to do instead ? > > Uwe > > SD Solutions > Uwe Degenhardt > Fon: 08122/903791 > Fax: 08122/903792 > Web: http://www.sdsolutions.de > E-Mail: [EMAIL PROTECTED] > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.