7939 Posts in 1472 Topics by 944 members
|Go to End|
13 July 2010 at 9:28am
Having some problems with this, when using it under the "Files and images" tab. I just get an error saying:
"There was a problem with the upload.
The server did not accept it."
Any way I can track what's causing this? Permissions are all fine, using File Fields work, it is just under Files and Images.
15 July 2010 at 10:22am
15 July 2010 at 11:48am
You need to turn on debugging and follow the "troubleshooting" section in the swfuploadfield docs. It's kind of a pain, but eventually you figure it out. Unfotunately, flash can't return php errors, only generic Apache 500 errors, so you have to step through the code line by line until you find the problem.
15 July 2010 at 12:59pm
I'm getting a similar issue - I've got SS2.4, dataobject_manager and swfupload installed.
When I upload a file using swfupload, the file uploads, but then the progress bar just says "Processing..." and nothing happens.
I've added SWFUploadConfig::debug(); to my /mysite/_config.php and I see the debug output but there's no error messages there. The last line in the debug output is "SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 15350. Total: 15350"... which I think is just telling the progress bar to update.
I've developed several sites under Silverstripe and they all use dataobject_manager and swfuploader, but it seems like they're not compatible with SS2.4.
There's also another thread that talks about uploads being broken in SS2.4, and patching some of the files - I tried that but it didn't seem to make a difference. I don't know if it's related. The post is here: http://silverstripe.org/general-questions/show/281744?start=8#post284383
How do I get swfupload/dataobject_manager working in SS2.4?
15 July 2010 at 1:29pm
You need to get the latest swfupload. The newest DOM authenticates swfupload requests, and they have to work together.
15 July 2010 at 3:30pm
I believe I do have the latest version:
is that correct? If not could you provide links to the working versions?
16 July 2010 at 2:40am
5 August 2011 at 8:18pm
In my case having a .htaccess password was the origin of the error. After removing it SWFUpload worked again. It is also possible (but not secure) to restrict the authentification to GET-Requests. Then, also, SWFUpload still works:
AuthName "Your AuthName"
|Go to Top|