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


46 Posts   7103 Views

Ryan M.

25 November 2010 at 9:01am Community Member, 309 Posts

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


25 November 2010 at 9:09am Community Member, 5 Posts

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.


25 November 2010 at 10:31am 4085 Posts

You're on 2.4.3?


25 November 2010 at 10:33am Community Member, 42 Posts

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.


25 November 2010 at 1:56pm (Last edited: 25 November 2010 1:58pm), Community Member, 26 Posts

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

(Courtesy of our man Frank: )

Give it a go and see if that's what's blocking your upload.
Hopefully it'll work!


25 November 2010 at 6:48pm 4085 Posts

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.


25 November 2010 at 9:41pm Community Member, 42 Posts

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.


26 November 2010 at 8:05am Community Member, 5 Posts

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?