Jump to:

7938 Posts in 1541 Topics by 945 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6
Go to End
Author Topic: 6993 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    Change uploadify/_config.php to this:

    <?php
    UploadifyField::show_debug();
    if(isset($_POST['PHPSESSID'])) {
       Session::start($_POST['PHPSESSID']);
    die(session_id());
    }

    Upload a file, and post the response you get in the dialog box.

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

  • OzziNL
    Avatar
    Community Member
    37 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    The response is:

    script: %2Fadmin%2Fassets%2FEditForm%2Ffield%2FFiles%2FUploadifyForm%2Ffield%2FUploadedFiles%2Fupload%3Fctf%5BFiles%5D%5Bstart%5D%3D0%26ctf%5BFiles%5D%5Bper_page%5D%3D10%26ctf%5BFiles%5D%5Bshowall%5D%3D0%26ctf%5BFiles%5D%5Bsort%5D%3DSortOrder%26ctf%5BFiles%5D%5Bsort_dir%5D%3D%26ctf%5BFiles%5D%5Bsearch%5D%3D%26ctf%5BFiles%5D%5Bfilter%5D%3D%26ctf%5BFiles%5D%5Bview%5D%3D
    refreshlink: /admin/assets/EditForm/field/Files/UploadifyForm/field/UploadedFiles/refresh?ctf[Files][start]=0&ctf[Files][per_page]=10&ctf[Files][showall]=0&ctf[Files][sort]=SortOrder&ctf[Files][sort_dir]=&ctf[Files][search]=&ctf[Files][filter]=&ctf[Files][view]=
    uploader: /uploadify/javascript/uploadify.swf
    scriptAccess: sameDomain
    queueSizeLimit: 40
    auto: 1
    fileExt: *.*
    fileDesc:
    cancelImg: /uploadify/images/cancel.png
    image_class: Image
    file_class: File
    buttonText: Upload files
    queueID: UploadifyFieldQueue_UploadedFiles
    wmode: transparent
    hideButton: 1
    upload_on_submit:
    sortable:
    sizeLimit: 2097152
    multi: 1
    scriptData:

  • UncleCheese
    Avatar
    4085 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    No, I mean the response in the dialog box after you upload.

  • OzziNL
    Avatar
    Community Member
    37 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    Sorry,
    it is: u2j2vrpl5pk332o9p0p7qkn8m4

    I also added:

    uploadify_init.js:
    line:91:

    onError : function(event, queueID, fileObj, errorObj) { alert(errorObj.type + ' : ' + errorObj.info ); }

    And that gives dialog: ERROR : 302

  • UncleCheese
    Avatar
    4085 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    So you're getting a valid session id. Weird. Are you logged in as a full admin?

  • OzziNL
    Avatar
    Community Member
    37 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    Yes I am.

    And I think this problem will rise more and more. Yesterday I tried to work on my own site and guess what: same problem !
    It was never there so it has something to do with a recent update on the Flash plugin.

    Googling on 302 and SWFObject and/or UPloadify results in more and more of these problems

    Cheers,
    Oscar

  • VRoxane
    Avatar
    Community Member
    42 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    I'm freakin' out too : every website I made for my clients are SS websites... really hope we'll find what the problem is and how to fix it !

  • UncleCheese
    Avatar
    4085 Posts

    Re: 'HTTP Error' Uploading Documents using FileDataObjectManager Link to this post

    If you'd like hands-on support, you can contact me through my website, leftandmain.com.

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

    6993 Views
Page: 1 2 3 4 5 6
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.