7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » 'HTTP Error' Uploading Documents using FileDataObjectManager
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 5152 Views |
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

25 November 2010 at 9:01am
Ok, how do we fix authentication errors? Not quite sure where to begin.
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

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.
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

25 November 2010 at 10:31am
You're on 2.4.3?
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

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.
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

25 November 2010 at 1:56pm Last edited: 25 November 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! -
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

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 -
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

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... BUTI 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.
-
Re: 'HTTP Error' Uploading Documents using FileDataObjectManager

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?
| 5152 Views | ||
| Go to Top | Next > |




