Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Uploadify HTTP Error

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3 4 5 6 7 8 9 10
Go to End
Author Topic: 22045 Views
  • studio6
    Avatar
    Community Member
    14 Posts

    Uploadify HTTP Error Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Uploadify HTTP Error Link to this post

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

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

  • studio6
    Avatar
    Community Member
    14 Posts

    Re: Uploadify HTTP Error Link to this post

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

  • yug
    Avatar
    Community Member
    17 Posts

    Re: Uploadify HTTP Error Link to this post

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

    Thanks

  • Viv
    Avatar
    Community Member
    30 Posts

    Re: Uploadify HTTP Error Link to this post

    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.

  • Viv
    Avatar
    Community Member
    30 Posts

    Re: Uploadify HTTP Error Link to this post

    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.

  • spankmaster79
    Avatar
    Community Member
    46 Posts

    Re: Uploadify HTTP Error Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Uploadify HTTP Error Link to this post

    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

    22045 Views
Page: 1 2 3 4 5 6 7 8 9 10
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.