Sorry I am bowing out now, you have a pre-conceived notion that it is to do with the compilation of the template. You are not taking into consideration that the PDF is the cause of this error, by your own admission and it has nothing to do with where you are thinking it is, until you look away from what you are thinking and go with what everyone has told you, will you be able to fix this.
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Claude Schnéegans <[email protected]> [mailto:=?ISO- > 8859-1?Q?Claude_Schn=E9egans <schneegans@interneti=71?= =?ISO-8859- > 1?Q?ue.com=3E?=] > Sent: Thursday, 23 June 2011 11:41 PM > To: cf-talk > Subject: Re: application.cfm > > > >>I will ask another question, is this application.cfm in the directory of the > template in question, > > Yes, of course, and it include higher lever application.cfm > > >>But you really need to work out why it is trying to compile the PDF as a > CFML template, > > Again, since application.cfm is to be executed prior the template specified in > the url, and since the code in the application.cfm could redirect the request > to another template, or simply abort the request, I thought the requested > template would be compiled only after application.cfm execution and only if > it was to be actually executed. > This would have been logical after all, but it is not the way it works: both > application.cfm AND the template are compiled first, THEN application.cfm is > executed. > It could have been that application is compiled and executed FIRST, then the > template is compiled and executed if application passes control to it. > Since my application.cfm always terminates on a CFABORT, the requested > template is NEVER executed, and there is no reason it should be compiled. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:345582 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

