simmerdown
Programmer
Inexplicably quirky errors are so fun.
In my main <cfswitch> statement, every <cfinclude> that calls a "qry_[name].cfm" template is throwing a 404 Not Found. But the really irking part is this ... if I introduce into that query file a nonexistent variable or something that I know will throw an error, the error is thrown - thus CF is finding the file. So then I return the query include to correctness, and CF says that it can't find the file again. I comment out the query include, and the display page then processes fine until it needs variables from the (now missing) query file. I uncomment the query include, and it 404s again.
I'm testing all of this on my local machine, so I'm absolutely sure
Here's the big chunk:[COLOR=003366]
In my main <cfswitch> statement, every <cfinclude> that calls a "qry_[name].cfm" template is throwing a 404 Not Found. But the really irking part is this ... if I introduce into that query file a nonexistent variable or something that I know will throw an error, the error is thrown - thus CF is finding the file. So then I return the query include to correctness, and CF says that it can't find the file again. I comment out the query include, and the display page then processes fine until it needs variables from the (now missing) query file. I uncomment the query include, and it 404s again.
I'm testing all of this on my local machine, so I'm absolutely sure
Here's the big chunk:[COLOR=003366]
Code:
<cfinclude template="app_locals.cfm">
<cf_bodycontent>
<cfparam name="attributes.choice" default="">
<cfswitch expression="#attributes.choice#">
<cfcase value="browsecatalog">
<cfinclude template="qry_programs.cfm">
<cfinclude template="dsp_programs.cfm">
</cfcase>
<cfcase value="browseprogram">
<cfinclude template="qry_classes.cfm">
<cfinclude template="dsp_classes.cfm">
</cfcase>
<cfcase value="browseclass">
<cfinclude template="qry_class.cfm">
<cfinclude template="dsp_class.cfm">
</cfcase>
<cfcase value="search">
<cfinclude template="qry_search.cfm">
<cfinclude template="dsp_searchresults.cfm">
</cfcase>
<cfcase value="list">
<cfinclude template="dsp_list.cfm">
</cfcase>
<cfcase value="nocookies">
<cfinclude template="dsp_nocookies.cfm">
</cfcase>
<cfdefaultcase>
<cfinclude template="act_termcookie.cfm">
<cfinclude template="qry_terms.cfm">
<cfinclude template="dsp_home.cfm">
</cfdefaultcase>
</cfswitch>
</cf_bodycontent>
<cfinclude template="app_layout.cfm">
[code][/color]
Looks perfectly normal, right? Is there Something Obvious that I'm missing? Please clue me in, ask me to clarify, or suggest some things to test for ... left to myself, I'm gradually gaining a better understanding of those cartoons wherein smoke comes out of a person's ears.