Ok, how do we fix authentication errors? Not quite sure where to begin.
Yea, I'm having trouble tracing the issue. I added a die('hello') to the start of the UploadFiled::upload() function but it's not getting that far, so it's somewhere in the SS core and I have little idea where to start looking there.
You're on 2.4.3?
I am on 2.4.2 . I'm trying to do the php.ini "show error" thing and I'll get back as soon as I can.
I've had similar issues previously, and have managed to fix it by adding the following to the .htaccess
### prevent SWFupload errors ###
(Courtesy of our man Frank: http://deadlytechnology.com/silverstripe/silverstripe-image-gallery/ )
Give it a go and see if that's what's blocking your upload.
Hopefully it'll work!
People are reporting success when upgrading to 2.4.3. There was a security change to the API in Silverstripe that may not be backward compatible..
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com
I didn't manage to enable display errors because OVH doesn't allow to change such parameters in php.ini ...
I upgraded to 2.4.3 this morning and I still got the problem... BUT
I tried to use uploadify on IE then and got "Adobe Flash Player 9" error window. So I updated it. And believe it or not, but now I can use uploadify on IE (in every tab using it) ....... and Firefox ... only in the 'Files and Images' tab (still have the problem in my "Galery" tab)... I think there has to be something about flash player...
That's one small step for man, one giant leap for our problem solving.
I'll keep trying things and get you updated.
I just upgraded to 2.4.3 and retested with Wireshark. Same results. The authentication is failing for some reason. Could you give me an idea where to place a die('hello') to debug this issue?