For security purposes, please don't pass CFID & CFToken in the URL.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411


On Wed, Dec 24, 2014 at 11:21 AM, Matthew Smith <[email protected]>
wrote:
>
>
> Yes, this is the code:
> <cfinclude
>
> template="/site_theartoflovingcatsanddogs_com/index.cfm/cfid/#session.cfid#/cftoken/#session.cftoken#/index.cfm">
>
> What caught me off guard is that this has been working without problem for
> many months on the live site, http://www.theartoflovingcatsanddogs.com
>
> I guess my actual question, rephrased better, is why does this work on
> crystaltech but not on my new cf11 install?  I'm not sure of the cf version
> for ct.  I'm sorry I was not clear.
>
> On Tue, Dec 23, 2014 at 5:05 PM, Maureen <[email protected]> wrote:
>
> >
> > It is fairly clear that the path you are using for the include is
> > invalid.  It needs to be a physical path, not a url, and I doubt if
> > your physical path includes
> >
> > /site_
> > theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm
> >
> > Are you using a variable to build the include path?
> >
> >
> >
> > On Tue, Dec 23, 2014 at 6:58 PM, Matthew Smith <[email protected]>
> > wrote:
> > >
> > > I have been developing on our live server as the site has been down for
> > > some time.  I am trying to get things right and just installed apache
> and
> > > cf11 on my local box.  This is the error I get when I try to bring up
> the
> > > site's home page.
> > >
> > > Any ideas, I am not sure what to try.  Thanks.
> > >
> > > MissingInclude Could not find the included template
> > >
> >
> /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm.
> > > Note:
> > > If you wish to use an absolute template path (for example,
> > > template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping
> > for
> > > the path using the ColdFusion Administrator. Or, you can use
> > > per-application settings to specify mappings specific to this
> application
> > > by specifying a mappings struct to THIS.mappings in Application.cfc.
> <br>
> > > Using relative paths (for example, template="index.cfm" or
> > > template="../index.cfm") does not require the creation of any special
> > > mappings. It is therefore recommended that you use relative paths with
> > > CFINCLUDE whenever possible.
> > >
> >
> /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm
> > > [empty
> > > string] [empty string]cfcatch.tagcontext - array1cfcatch.tagcontext -
> > struct
> > > COLUMN0IDCFINCLUDELINE29RAW_TRACEat
> > > cfindex2ecfm1457390167.runPage(C:\wwwroot\index.cfm:29)TEMPLATE
> > > C:\wwwroot\index.cfmTYPECFML2cfcatch.tagcontext -
> > structCOLUMN0IDCFINCLUDE
> > > LINE198RAW_TRACEat
> > >
> >
> cfApplication2ecfc65118548$funcONREQUEST.runFunction(C:\wwwroot\Application.cfc:198)
> > > TEMPLATEC:\wwwroot\Application.cfcTYPECFML
> > >
> > > --
> > > Regards,
> > > chedder is bedder
> > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359886
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to