11 June 2011 at 2:59pm
My webhost made some changes regarding security and now I'm having similar problems to everyone else here - getting a 302 response from POST and being kicked out of the CMS with various versions of Dom/Uploadify/SwfUpload across different sites.
I downloaded Charles and also the latest DOM and Uploadify trunk to try the UploadifyField::disable_authentication(); option but when I watch for the POST from Flash it doesn't happen on my local or live server - When I choose a file to upload the progress bar freezes at 0% and the process stops (with or without UploadifyField::disable_authentication();). If I use an older version of the modules I can upload fine on my local server.
18 June 2011 at 6:07pm
Update - It's only the uploading of multiple files that isn't working for me on my local copy. In my case I can upload on my local server with an ImageUploadField or standard DataObjectManager but the ImageDataObjectManager shows a progress bar that doesn't move whether you try to upload one or several files.
Unfortunately on my live server, with UploadifyField::disable_authentication(); in place I'm still getting kicked out of the CMS even if I use an ImageUploadField. But at least the image is getting uploaded and added to the database correctly as it's available in Files & Images when I log back in. The progress bar in the ImageUploadField shows it uploading all the way, I get a completed message which then fades away but it doesn't get as far as linking the image to the page and showing a thumbnail of it in the field.
Thanks for all of your hard work on these modules! And sorry to pester you for help, but I don't know what else to do!
7 January 2012 at 12:28am
I use the latest versions of Silverstripe, DOM and Uploadify.
Charles returned me:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <title>302 Found</title>
> <p>The document has moved <a
session.use_only_cookies checked to off
I've tried to add UploadifyField::disable_authentication();
But I still had the same problem.
Hosting support proposed me to switch off security module. I've added SecFilterEngine Off in my .htaccess. And now it works. Can I have security problems now and maybe there is another way to solve uploading problem?