7939 Posts in 1472 Topics by 944 members
|Go to End||Next >|
9 June 2011 at 2:14pm
I ran into the HTTP Error on a production machine and could not resolve it, even by moving the phpsessions to a different directory as detailed here - http://www.leftandmain.com/silverstripe-tips/2011/02/15/uploadify-http-error-explained-and-solved-maybe/. Hard to debug when you dont speak the same language as the sysadmin, and cant see the error/access logs
So I took a different approach and decided to change uploadify to use HTML5 upload instead. It appears to be working, though is lacking a few things:
1) No error reporting
2) No upload cancel
3) I've only tested it in Google Chrome
4) Progress meter is text (e.g. 30%) instead of a progress bar
5) Some of the events still rely on the existence in the DOM of the flash uploadify elements, which I've hidden visually
Code is available at https://github.com/gordonbanderson/Uploadify/tree/html5
Please consider this very alpha software, as it was a bit of a rush job
9 June 2011 at 3:52pm
UploadifyField::disable_authentication() is the best solution to this problem.
10 June 2011 at 8:49am
Hey guys, tuning in to mention that I'm getting this same HTTP error on any file I try and add with uploadify.
^ Is that line added to the _config.php in /mysite? The website doesn't load at all for me if I add this line.
20 June 2011 at 1:12am Last edited: 20 June 2011 1:23am
This is what I get with the "UploadifyField::disable_authentication() "
Fatal error: Call to undefined method UploadifyField::disable_authentication() in /homez.443/mysiteid/www/mysite/_config.php on line 35.
(Also disabled magic quotes and mod security, and swfupload doesn't work either)
Edit : Would there be a way to use ImageDOM without uploadify ? I don't care if I have to upload file by file. It would be nice while we all search how to get rid of the HTTP Error.
20 June 2011 at 4:13am
If the method doesn't exist then you're running an old version. Make sure you update to the latest rev.
21 June 2011 at 3:08am
@VRoxane I still get the same HTTP Error on only one server now. Download the latest code and see if that will help some of your issues. After I upgraded, used the UploadifyField::disable_authentication() in the config file...all my sites (except one) were fixed.
Another thing to think about...is this will most likely be no issue once 3.0 comes out. Keep that in mind as well.
Let me know if upgrading helped you...and if not then I will try to help as much as I can.
21 June 2011 at 7:40pm
I'll try that on my own website this week.
Does "UploadifyField::disable_authentication()" go in the mysite/_config or in the uploadify/_config ?
I really think the problem comes from the hosting... but I don't know anything about that... Hope 3.0 will do the trick
And btw, swfupload gets stuck @ 100% upload as well : /
Thank you both for your help, hope I'll get rid of the HTTP Error soon !!! MERCI MERCI MERCI
|Go to Top||Next >|