You didn't by chance happen to call it in one of your included templates by accident, did you?
-----Original Message----- From: Nathan Shaw [mailto:[EMAIL PROTECTED]] Sent: Friday, September 28, 2001 11:13 AM To: Fusebox Subject: bodycontent running twice?! help! I have a standard Fusebox app (v2), but for some reason, bodycontent.cfm is getting run twice! When I view source, I see bodycontent.cfm listed twice. Have been racking my brain now for 2 days trying to figure out why and cannot seem to find a solution! Any help would be appreciated as I know this is probably a fairly simple solution... here is my index.cfm <cfinclude template="app_local.cfm" /> <cfparam name="attributes.fa" default="IUform" /> <cftry> <cfmodule template="#variables.webpath##application.commonfiles.customtagspath#bodycon tent.cfm"> <cfswitch expression="#attributes.fa#"> <cfcase value="IUform"> <cfset variables.pagetitle="Image Uploader" /> <cfset xfa.submit="IUsubmit" /> <cfinclude template="jsf_Submitcheck.cfm" /> <cfinclude template="#variables.webpath##application.commonfiles.qrypath#qry_IUcategori es.cfm" /> <cfinclude template="dis_IUform.cfm" /> </cfcase> <cfcase value="IUsubmit"> <cfset variables.errormessage="" /> <cfinclude template="err_IUreferercheck.cfm" /> <cfinclude template="err_IUdatacheck.cfm" /> <cfinclude template="act_IUimageupload.cfm" /> <cfinclude template="act_IUdatainsert.cfm" /> <cfif len(variables.errormessage)> <cfset variables.pagetitle="Image Uploader - Error!" /> <cfset xfa.submit="IUsubmit" /> <cfinclude template="jsf_Submitcheck.cfm" /> <cfinclude template="#variables.webpath##application.commonfiles.qrypath#qry_IUcategori es.cfm" /> <cfinclude template="dis_IUform.cfm" /> <cfelse> <cflocation url="#request.self#?fa=IUconfirmthanks&#session.urltoken#" /> </cfif> </cfcase> <cfcase value="IUconfirmthanks"> <cfset variables.pagetitle="Image Uploader - Thank You!" /> <cfset xfa.newfile="IUform"> <cfinclude template="dis_IUconfirmthanks.cfm" /> </cfcase> <cfdefaultcase> <!--- trying to hack or have messed with the URL, display error message ---> <cfset variables.pagetitle="Image Uploader - Error!" /> <cfinclude template="#variables.webpath##application.commonfiles.actpath#act_error.cfm" /> <cfinclude template="#variables.webpath##application.commonfiles.dispath#dis_error.cfm" /> </cfdefaultcase> </cfswitch> </cfmodule> <cfcatch type="any"> <!--- display friendly error message ---> <cfset variables.pagetitle="Image Uploader - Error!" /> <cfinclude template="#variables.webpath##application.commonfiles.actpath#act_error.cfm" /> <cfmodule template="#variables.webpath##application.commonfiles.customtagspath#bodycon tent.cfm"> <cfinclude template="#variables.webpath##application.commonfiles.dispath#dis_error.cfm" /> </cfmodule> </cfcatch> </cftry> <cfinclude template="#variables.webpath##application.commonfiles.customtagspath#app_lay out.cfm" /> TIA, Nate ===== ---------------------------- Nathan Shaw Web Applications Developer iaffect http://www.iaffectonline.com http://www.iaffectTV.com ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
