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

Uploadify HTTP Error


Go to End
Reply


80 Posts   23650 Views

Avatar
studio6

Community Member, 14 Posts

10 December 2010 at 2:21pm

hi im trying to use Uploadify and dom with the image gallery and keep getting an http error when i upload. it makes it to 100% and then go's red and say's "148812297_full.jpg (34.99KB) - HTTP Error". it maybe a path thing but i cant find where the path is set. can anyone help me with this

Avatar
UncleCheese

Forum Moderator, 4096 Posts

10 December 2010 at 6:02pm

Use UploadifyField::show_debug(); and check the response from the server.

---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com

Avatar
studio6

Community Member, 14 Posts

12 December 2010 at 7:07pm

thanks mate got it to work thanks for the help. is there any info out there on adding new gallery types

Avatar
yug

Community Member, 17 Posts

22 December 2010 at 5:00pm

Hi i am having the same exact error.....how did you fix it?

Thanks

Avatar
Viv

Community Member, 30 Posts

22 January 2011 at 5:15pm

Edited: 22/01/2011 5:26pm

Yes, I'm having that error as well on a fresh install of 2.4.4, uploadify-r534 and dataobject_manager-r535. Worked fine on my local system, just having issue with the (shared hosting) production server. I assume it's some sort of a permission issue?

I added UploadifyField::show_debug(); to mysite/_config (hope that was what you meant Uncle cheese), but didn't seem to show anything error-wise. Once I hit the 'continue' button, got the following message:

'Security token doesn't match, possible CSRF attack.'

I've got a lot of sites running on Silverstripe now but want to add some of the other modules like the Event Calendar that depends on Uploadify. Any help would be greatly appreciated.

NOTE: No other modules installed such as image gallery - this is just in the 'Files & Images' section of Admin.

Avatar
Viv

Community Member, 30 Posts

22 January 2011 at 5:47pm

Just used phpinfo() as a test regards my server setup. Both the local and master values of 'session.use_only_cookies' is set to off. Also went through and tried to make sure all of assets folder is read/writable. No change so far.

Avatar
spankmaster79

Community Member, 46 Posts

25 January 2011 at 11:33pm

the same for me... it only show's debug information but no detailed error message.... it only does this on some files.....

How do you debug correctly?

Avatar
UncleCheese

Forum Moderator, 4096 Posts

26 January 2011 at 3:53am

The only way to truly see the response is to packet sniff. I recommend Charles http://www.charlesproxy.com/. Provided your error reporting is turned on, that should tell you the message of the 500 error that's coming back.

If it's only some files, I suspect it's related to the file extension (see File::$allowed_extensions) or the file size (see upload_max_filesize and max_post_size in your php.ini).

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Go to Top