How do these things happen?
Man. I come across stuff like this and it simply makes me dizzy trying to figure out what is wrong. While looking at my errors log, I find a bunch of these: The QUERY attribute of the tag does not specify the name of an available querypThe error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (50:6) to (50:43) in the template file F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM. OK, so at that document position is a cfoutput tag with a query of itemsLong. Above that are 2 queries called itemsLong, the one that runs depending upon the category ID that's passed. The referer that's specified in the rror is correct, so they're not just going there without clicking the form button, which will pass the hidden category_id field. Whenever I go to the page, itemsLong is run. Stuff like this makes me nuts. There is absolutely no rhyme nor reason for it other than CF deciding well, I just won't run the block of code with the query in it. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: How do these things happen?
Check your cfif or cfswitch statement that determines the query carefully...chances are there is some combination of circumstances - maybe rare - that will not run either query. D -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 28, 2001 9:02 AM To: CF-Talk Subject: How do these things happen? Man. I come across stuff like this and it simply makes me dizzy trying to figure out what is wrong. While looking at my errors log, I find a bunch of these: The QUERY attribute of the tag does not specify the name of an available querypThe error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (50:6) to (50:43) in the template file F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM. OK, so at that document position is a cfoutput tag with a query of itemsLong. Above that are 2 queries called itemsLong, the one that runs depending upon the category ID that's passed. The referer that's specified in the rror is correct, so they're not just going there without clicking the form button, which will pass the hidden category_id field. Whenever I go to the page, itemsLong is run. Stuff like this makes me nuts. There is absolutely no rhyme nor reason for it other than CF deciding well, I just won't run the block of code with the query in it. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How do these things happen?
Bud, I have seen this in some of my code also, where the query in question exists. It occurs only occasionally. I think that some browser versions occasionally drop or forget to pass some of the variables from one page to the next (or CFAS loses them). Mike Cady - Original Message - From: Bud [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 9:02 AM Subject: How do these things happen? Man. I come across stuff like this and it simply makes me dizzy trying to figure out what is wrong. While looking at my errors log, I find a bunch of these: The QUERY attribute of the tag does not specify the name of an available querypThe error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (50:6) to (50:43) in the template file F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM. OK, so at that document position is a cfoutput tag with a query of itemsLong. Above that are 2 queries called itemsLong, the one that runs depending upon the category ID that's passed. The referer that's specified in the rror is correct, so they're not just going there without clicking the form button, which will pass the hidden category_id field. Whenever I go to the page, itemsLong is run. Stuff like this makes me nuts. There is absolutely no rhyme nor reason for it other than CF deciding well, I just won't run the block of code with the query in it. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How do these things happen?
Turn on your debugging and look to see if the query shows up in your list of run queries. That will give you a better starting point from which to figure out what's really going on. I'm guessing that the ID isn't really getting passed, or it's some weird ID that doesn't satisfy the if statement. The other possibility is that there is some combination of conditions in the if statement that will cause neither query to be run. Have you tried outputting the hidden field to see what's really in it? Todd - Original Message - From: Bud [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 9:02 AM Subject: How do these things happen? Man. I come across stuff like this and it simply makes me dizzy trying to figure out what is wrong. While looking at my errors log, I find a bunch of these: The QUERY attribute of the tag does not specify the name of an available querypThe error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (50:6) to (50:43) in the template file F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM. OK, so at that document position is a cfoutput tag with a query of itemsLong. Above that are 2 queries called itemsLong, the one that runs depending upon the category ID that's passed. The referer that's specified in the rror is correct, so they're not just going there without clicking the form button, which will pass the hidden category_id field. Whenever I go to the page, itemsLong is run. Stuff like this makes me nuts. There is absolutely no rhyme nor reason for it other than CF deciding well, I just won't run the block of code with the query in it. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How do these things happen?
Bud, I had a similar problem with more that one site in the past. I finally figured it out (quite by accident) when I was testing some error handling on a form submission. I entered some garbage input and submitted the form on the resulting test page I was outputting the list Form.fieldnames on the top of the page and I discovered that all the fields did not show up. I looked back at my garbage input and saw that the submission was cut off at an character that I entered in one of the text fields. I tested this several times and found that whatever field I entered an character would cut of the rest of the form fields as if they had not been submitted at all. I do not know if this is a CF specific problem in how it deals with form posts ( is the some kind of escape char?) or something else (IIS HTTP). I meant to look into this further but never got around to doing it. Run a few tests putting a into different input fields and see if you can duplicate the error. Let me know if this was the problem. Regards, Jim - Original Message - From: Bud [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 9:02 AM Subject: How do these things happen? Man. I come across stuff like this and it simply makes me dizzy trying to figure out what is wrong. While looking at my errors log, I find a bunch of these: The QUERY attribute of the tag does not specify the name of an available querypThe error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (50:6) to (50:43) in the template file F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM. OK, so at that document position is a cfoutput tag with a query of itemsLong. Above that are 2 queries called itemsLong, the one that runs depending upon the category ID that's passed. The referer that's specified in the rror is correct, so they're not just going there without clicking the form button, which will pass the hidden category_id field. Whenever I go to the page, itemsLong is run. Stuff like this makes me nuts. There is absolutely no rhyme nor reason for it other than CF deciding well, I just won't run the block of code with the query in it. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists