|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Files not uploading in 4.0.10 (but with no errors)Hi, The file upload in 4.0.10 is causing us a heap of grief. Main issue is after clicking "Save" the file never uploads to the server, yet there are no error messages (even in the coldfusion logs). After it saves the record if you open the object again, there is nothing listed for the filename nor is there any entry in the database field. The file is also not on the server. This happens with both the Flash and HTML widgets (we changed the default from Flash to HTML) With the flash widget, if you click the upload button it would say it was 100% uploaded and give file size details, but never change to the second message of "Don't forget to click save" or whatever the wording is. One of our sites was having this problem but after stuffing around with it, it suddenly started working. Problem is I don't know what made it start working. I didn't change any code, I was just going through things like Admin -> Config and clicking Save without changing anything and also updating app scope every time. I've tried that with our second site, but it still isn't working. This problem started the moment we upgraded to 4.0.10. Has anyone seen this problem before? Cheers Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Files not uploading in 4.0.10 (but with no errors)On Jun 2, 12:42 pm, mark.pic...@... wrote: > The file upload in 4.0.10 is causing us a heap of grief. Main issue > is after clicking "Save" the file never uploads to the server, yet > there are no error messages (even in the coldfusion logs). After it > saves the record if you open the object again, there is nothing listed > for the filename nor is there any entry in the database field. The > file is also not on the server. Random thoughts... It might be a CF permissions issue. You can get weird things when you don't have a CF_temp directory created or have weird permissions on said directory (this is where CF temporarily stores the file on upload before moving tot he designated location). Could be the location you are moving the file to is not created or has odd permissions. Try setting the entire CF install and project install directory branches to full control for the CF service and see if that makes a difference. Then you can go aboiut locking down the directories until it fails again. -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Files not uploading in 4.0.10 (but with no errors)Thanks for the quick reply Geoff.....this turned out to be something dumb on my behalf. In file.cfc: core/packages/formtools/file.cfc I have changed line 28 so it defaults to html rather than flash, but missed the same option on line 161. The second one is where the file is actually uploaded and checked (I assume the flash widget is doing this in it's own functions). As soon as I changed the second default to html, the problem went away. So much time wasted by missing one line....:( I guess if I had just extended dmFile and set the default there, the problem would have been fixed but I didn't want to do this for every project. Again, thanks for replying so quickly. Cheers Mark On Jun 2, 2:20 pm, modius <mod...@...> wrote: > On Jun 2, 12:42 pm, mark.pic...@... wrote: > > > The file upload in 4.0.10 is causing us a heap of grief. Main issue > > is after clicking "Save" the file never uploads to the server, yet > > there are no error messages (even in the coldfusion logs). After it > > saves the record if you open the object again, there is nothing listed > > for the filename nor is there any entry in the database field. The > > file is also not on the server. > > Random thoughts... > > It might be a CF permissions issue. You can get weird things when you > don't have a CF_temp directory created or have weird permissions on > said directory (this is where CF temporarily stores the file on upload > before moving tot he designated location). Could be the location you > are moving the file to is not created or has odd permissions. > > Try setting the entire CF install and project install directory > branches to full control for the CF service and see if that makes a > difference. Then you can go aboiut locking down the directories until > it fails again. > > -- geoffhttp://www.daemon.com.au/ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |