Processing quiz with a non-existent script?!!?
I'm trying to track down a serious bug on our website, which is really starting to annoy me. Basic rundown: We have two servers, a development server and a production server. The directory structure is identical in both servers (with the exception of some permissions issues which should not be relevant). In both servers, there is a form called something like: page1.cfm In page1.cfm, there is a form which calls, as its action, page2.cfm. Page2.cfm does not exist on either server. So why should the form work on the development server and not the production server? Why should it work at all? There *is* a page to process the form, called formDo.cfm, but page2.cfm doesn't exist. Worse, when I view the source on the processed form after the form has been submitted, the page name is given as page2.cfm, in the same directory as page1.cfm. The form tag simply refers to page2.cfm, with no directory structure. I hope I've made this dilemma clear. It's really confusing, especially since the developer only tested on the development server and not the production server, so the problem wasn't caught until after we went live. Thoughts? Solutions? Sympathy? -- Richard S. Crawford Programmer III UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C Sacramento, CA 95816 (916)327-7793 ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191097 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Processing quiz with a non-existent script?!!?
Have you recently changed the form action to page2.cfm from pageDo.cfm? Perhaps the old page is still stuck in your browser cache... Do you have a 404 handler in that directory? Perhaps it's the pageDo.cfm file? Are you using any javascript? Is it possible that when you hit submit, the javascript submits to a different page? That's all I could think off the top of my head, Russ -Original Message From: Richard Crawford [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 2:39 PM To: CF-Talk Subject: Processing quiz with a non-existent script?!!? I'm trying to track down a serious bug on our website, which is really starting to annoy me. Basic rundown: We have two servers, a development server and a production server. The directory structure is identical in both servers (with the exception of some permissions issues which should not be relevant). In both servers, there is a form called something like: page1.cfm In page1.cfm, there is a form which calls, as its action, page2.cfm. Page2.cfm does not exist on either server. So why should the form work on the development server and not the production server? Why should it work at all? There *is* a page to process the form, called formDo.cfm, but page2.cfm doesn't exist. Worse, when I view the source on the processed form after the form has been submitted, the page name is given as page2.cfm, in the same directory as page1.cfm. The form tag simply refers to page2.cfm, with no directory structure. I hope I've made this dilemma clear. It's really confusing, especially since the developer only tested on the development server and not the production server, so the problem wasn't caught until after we went live. Thoughts? Solutions? Sympathy? -- Richard S. Crawford Programmer III UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C Sacramento, CA 95816 (916)327-7793 ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191099 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Processing quiz with a non-existent script?!!?
On occasion, I've seen deleted .cfm files continue to work. I had to manually recompile the directory to make them go away, so I think that the compiled form gets cached and not deleted properly. HTH. --Ben Richard Crawford wrote: I'm trying to track down a serious bug on our website, which is really starting to annoy me. Basic rundown: We have two servers, a development server and a production server. The directory structure is identical in both servers (with the exception of some permissions issues which should not be relevant). In both servers, there is a form called something like: page1.cfm In page1.cfm, there is a form which calls, as its action, page2.cfm. Page2.cfm does not exist on either server. So why should the form work on the development server and not the production server? Why should it work at all? There *is* a page to process the form, called formDo.cfm, but page2.cfm doesn't exist. Worse, when I view the source on the processed form after the form has been submitted, the page name is given as page2.cfm, in the same directory as page1.cfm. The form tag simply refers to page2.cfm, with no directory structure. I hope I've made this dilemma clear. It's really confusing, especially since the developer only tested on the development server and not the production server, so the problem wasn't caught until after we went live. Thoughts? Solutions? Sympathy? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191107 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Processing quiz with a non-existent script?!!?
I had some problems along these same lines when I upgraded to MX - it turned out I hadn't properly read the instructions for configuring CF on a multihomed server. Dunno if that applies to your situation or not but there you go... -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 1:10 PM To: CF-Talk Subject: Re: Processing quiz with a non-existent script?!!? On occasion, I've seen deleted .cfm files continue to work. I had to manually recompile the directory to make them go away, so I think that the compiled form gets cached and not deleted properly. HTH. --Ben Richard Crawford wrote: I'm trying to track down a serious bug on our website, which is really starting to annoy me. Basic rundown: We have two servers, a development server and a production server. The directory structure is identical in both servers (with the exception of some permissions issues which should not be relevant). In both servers, there is a form called something like: page1.cfm In page1.cfm, there is a form which calls, as its action, page2.cfm. Page2.cfm does not exist on either server. So why should the form work on the development server and not the production server? Why should it work at all? There *is* a page to process the form, called formDo.cfm, but page2.cfm doesn't exist. Worse, when I view the source on the processed form after the form has been submitted, the page name is given as page2.cfm, in the same directory as page1.cfm. The form tag simply refers to page2.cfm, with no directory structure. I hope I've made this dilemma clear. It's really confusing, especially since the developer only tested on the development server and not the production server, so the problem wasn't caught until after we went live. Thoughts? Solutions? Sympathy? ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:19 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Processing quiz with a non-existent script?!!?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Doom wrote: | On occasion, I've seen deleted .cfm files continue to work. I had to | manually recompile the directory to make them go away, so I think that | the compiled form gets cached and not deleted properly. That might be the problem. I've cleared out the browser cache and done everything else I can think of. By messing with some database values I was able to produce the error I wanted, but I still have no idea why this happened. Thanks. - -- Richard S. Crawford Programmer III UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C Sacramento, CA 95816 (916)327-7793 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7tYX748l/yH/c8YRApAnAKCxRnIIXmPwAWzQxewQ4ibOg60AsQCeKYnE BB5IPM5G+9SE61C23S6px1w= =M5ac -END PGP SIGNATURE- ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191123 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54