> Anyone "on the job" tonight have any ideas why a template is 
> being displayed twice, yet in the debug info it only shows it 
> once? DSP_CANNOtINSERT.CFM is the culprit. When I view source 
> I see 2 whole templates running! <!doctype...><head> and all 
> twice. It's probably something dumb, but I'm fried!

Without seeing code, I can't do more than guess wildly. I can think of two
reasons why this might occur.

1. If you're calling the file as a custom tag, and you've got a start and
end tag for it (<cf_mytag></cf_mytag>), then it'll run twice, once for the
start execution mode, and once for the end execution mode. You can fix this
by adding conditional logic to your custom tag so that it only executes as
needed.

2. You might have errant HTML tags in your Application.cfm file.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to