RE: File upload suddenly stops working
Dennis: Thanks for the reply. Unfortunately, this is not a client-side issue. The problem appears regardless of the client computer being used. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ UXB Internet wrote: > We had a case a while ago where a client using a similar cffile upload > script/HTML form suddenly couldn't upload files through their admin page. > The problem was that their anti-virus/internet security program on the > client PC was blocking the upload and would not send the data in the > form. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File upload suddenly stops working
Brent: Thanks. I have FTP access to the server so I've been able to work with the code but not with the OS or CF Admin. Modifying the code hasn't changed anything so I'm fairly certain it's a server-side (permissions, etc.) issue. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Brent Nicholas wrote: > If you have access to the server, try taking the offending code and > reducing it to just the bare bones to get it to work while staying in > line with what the original code does. Once you get it to work in an > 'uncluttered' manner, you can add everything else back in. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File upload suddenly stops working
>> no longer able to upload files to their website via HTML forms. >> The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. We had a case a while ago where a client using a similar cffile upload script/HTML form suddenly couldn't upload files through their admin page. The problem was that their anti-virus/internet security program on the client PC was blocking the upload and would not send the data in the form. I couldn't replicate it until I went to their location and saw the issue in person. Temporarily disabling the firewall allowed the upload. They eventually called Symantec tech support and was given instructions on how to allow the post to go through. I see this type of thing a lot on another website that uses FTP for download. The Internet Security programs close off port 21 by default and most all but the basic HTTP, SMTP & POP3 ports. Now they are blocking all traffic not going through their own proxies and need exceptions for just about any outbound traffic. -Dennis ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322295 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File upload suddenly stops working
If you have access to the server, try taking the offending code and reducing it to just the bare bones to get it to work while staying in line with what the original code does. Once you get it to work in an 'uncluttered' manner, you can add everything else back in. Yeah, it's a pain in the butt, but it'll clarify the issue. -2cents. BN ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322234 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File upload suddenly stops working
Matt Robertson wrote: > No not at all. I was just throwing out a potential culprit, as in "if > I haven't changed anything, what could have changed automatically on > me?" The problem here is that more than just some patches has changed except the code and, from my understanding, the version of CF being used. As I mentioned in my original email, about half a year back, the hosting company switched the site to a new server which has Win2k3 (instead of Win2k). They say that CF5 is being used on both servers but, with the switch, there could be changes in the CF server settings. I don't know if the directory structure their using for hosted sites is the same from the old server to the new. There are so many things that could be different, none of which I have access to, that I was hoping someone could shed some light based on the error message being returned. > Have you checked to make sure your cgi.request_method is "post" like > you think it is? Sounds like you have already checked the form scope > exists. Yup, definitely using post. Thanks. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File upload suddenly stops working
Al Musella, DPM wrote: > It might be the security settings on the disk where the temp file is > stored, or in the directory you ultimately save it to. Maybe > somebody at the hosting place decided to tighten up security. Yeah, I mentioned that to the hosting company's tech guys. They checked and said everything looks as it should. Thanks. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File upload suddenly stops working
It might be the security settings on the disk where the temp file is stored, or in the directory you ultimately save it to. Maybe somebody at the hosting place decided to tighten up security. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File upload suddenly stops working
> > Matt: > > Have you heard of any security updates that would affect CF5 in this way? No not at all. I was just throwing out a potential culprit, as in "if I haven't changed anything, what could have changed automatically on me?" Another potential for change then, is the browser itself. Thats something else that updates itself automatically and is in this mix. Any chance you can fall back to an older browser somewhere? Perhaps one sitting on one of your servers that you can get to via TS? Using a browser from a server is a sin, I know, but if ever there was a place you can find an old browser version, thats a likely way to find one in a snap. Have you checked to make sure your cgi.request_method is "post" like you think it is? Sounds like you have already checked the form scope exists. -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File upload suddenly stops working
Matt: Have you heard of any security updates that would affect CF5 in this way? -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Matt Robertson wrote: > A Windows security update would seem to be one of the usual suspects > when it comes to mysterious behavioral changes. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File upload suddenly stops working
Andy: This problem has been going for at least several weeks so it doesn't appear as if it's going to fix itself. Another problem is that they apparently haven't had the need to upload something for a (long) while so we don't have any good sense of when the uploads stopped working. We just know that it worked in December of 2007, the last time (according to the file's date stamp) that a file was uploaded. So it could have "broken" anytime in the last year-and-a-half. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Andy Matthews wrote: > I just had an issue with my host the other day that sounds similar. I > was trying to login to my CMS, and the action page for the login form > blew up. It kept telling me that "form.username" doesn't exist. > > When I tried to dump the form scope it was empty...bizarre. It "fixed > itself" in a few hours, but I never did find out the cause. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File upload suddenly stops working
I just had an issue with my host the other day that sounds similar. I was trying to login to my CMS, and the action page for the login form blew up. It kept telling me that "form.username" doesn't exist. When I tried to dump the form scope it was empty...bizarre. It "fixed itself" in a few hours, but I never did find out the cause. -Original Message- From: Mosh Teitelbaum [mailto:mosh.teitelb...@evoch.com] Sent: Tuesday, May 05, 2009 1:41 PM To: cf-talk Subject: File upload suddenly stops working All: A former client just contacted me asking for help. Apparently they are no longer able to upload files to their website via HTML forms. The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. It used to work (for 5+ years) but all of a sudden does not. They are now getting the following error message whenever they try to upload a file: The form field specified in the CFFILE tag (IMAGEFILEPATH) does not contain an uploaded file. Please be sure that you have specified the correct form field name. Checking the last-modified date of the files in question, the code hasn't changed in years. The HTML form is using ENCTYPE="multipart/form-data" and the debug data shows a value of "C:\WINDOWS\TEMP\ACF4CAB.tmp" for FORM.ImageFilePath (so it would appear something is being uploaded). In talking with the hosting company, they apparently moved the site about 1/2 a year ago from a Win2000 server to a Win2003 server but didn't change anything else. The code still works perfectly well in my test environments. Does anyone have any clues as to what could be causing this problem? TIA -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File upload suddenly stops working
A Windows security update would seem to be one of the usual suspects when it comes to mysterious behavioral changes. Just a shot in the dark. I had a blowup today myself on some longstanding code but it was a CFX based issue. -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
File upload suddenly stops working
All: A former client just contacted me asking for help. Apparently they are no longer able to upload files to their website via HTML forms. The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. It used to work (for 5+ years) but all of a sudden does not. They are now getting the following error message whenever they try to upload a file: The form field specified in the CFFILE tag (IMAGEFILEPATH) does not contain an uploaded file. Please be sure that you have specified the correct form field name. Checking the last-modified date of the files in question, the code hasn't changed in years. The HTML form is using ENCTYPE="multipart/form-data" and the debug data shows a value of "C:\WINDOWS\TEMP\ACF4CAB.tmp" for FORM.ImageFilePath (so it would appear something is being uploaded). In talking with the hosting company, they apparently moved the site about 1/2 a year ago from a Win2000 server to a Win2003 server but didn't change anything else. The code still works perfectly well in my test environments. Does anyone have any clues as to what could be causing this problem? TIA -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4