Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

'HTTP Error' Uploading Documents using FileDataObjectManager


Reply


46 Posts   7285 Views

Avatar
Ryan M.

Community Member, 309 Posts

25 November 2010 at 9:01am

Ok, how do we fix authentication errors? Not quite sure where to begin.

Avatar
bradt

Community Member, 5 Posts

25 November 2010 at 9:09am

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.

Avatar
UncleCheese

Forum Moderator, 4094 Posts

25 November 2010 at 10:31am

You're on 2.4.3?

Avatar
VRoxane

Community Member, 42 Posts

25 November 2010 at 10:33am

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.

Avatar
Plato

Community Member, 26 Posts

25 November 2010 at 1:56pm

Edited: 25/11/2010 1:58pm

Hi guys,

I've had similar issues previously, and have managed to fix it by adding the following to the .htaccess

### prevent SWFupload errors ###
<IfModule mod_security.c>
   SecFilterEngine Off
</IfModule>

(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!

Avatar
UncleCheese

Forum Moderator, 4094 Posts

25 November 2010 at 6:48pm

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

Avatar
VRoxane

Community Member, 42 Posts

25 November 2010 at 9:41pm

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.

Avatar
bradt

Community Member, 5 Posts

26 November 2010 at 8:05am

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?