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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

'HTTP Error' Uploading Documents using FileDataObjectManager


Go to End


46 Posts   12498 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, 4102 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 Creative

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, 4102 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?