Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » FileDOM doesn't attach uploaded files

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1222 Views
  • VRoxane
    Community Member
    42 Posts

    FileDOM doesn't attach uploaded files Link to this post

    Hi everyone !

    I have a problem with FileDOM : The 'No files attached' problem
    The files I upload are uploaded to the folder I chose but Uploadify makes the line disappear once it got to 100%.

    I get this in the debug :

    script: %2Fadmin%2Fexport%2FExport%2F6%2FEditForm%2Ffield%2FPiecesJointes%2FUploadifyForm%2Ffield%2FUploadedFiles%2Fupload%3FSecurityID%3D71cd779a5e784b53ad7550010b1aa0eccdef54ba%26ctf%5BPiecesJointes%5D%5Bstart%5D%3D0%26ctf%5BPiecesJointes%5D%5Bper_page%5D%3D10%26ctf%5BPiecesJointes%5D%5Bshowall%5D%3D0%26ctf%5BPiecesJointes%5D%5Bsort%5D%3D%26ctf%5BPiecesJointes%5D%5Bsort_dir%5D%3D%26ctf%5BPiecesJointes%5D%5Bsearch%5D%3D%26ctf%5BPiecesJointes%5D%5Bfilter%5D%3D%26ctf%5BPiecesJointes%5D%5Bview%5D%3D
    refreshlink: /admin/export/Export/6/EditForm/field/PiecesJointes/UploadifyForm/field/UploadedFiles/refresh?SecurityID=71cd779a5e784b53ad7550010b1aa0eccdef54ba&ctf[PiecesJointes][start]=0&ctf[PiecesJointes][per_page]=10&ctf[PiecesJointes][showall]=0&ctf[PiecesJointes][sort]=&ctf[PiecesJointes][sort_dir]=&ctf[PiecesJointes][search]=&ctf[PiecesJointes][filter]=&ctf[PiecesJointes][view]=
    uploader: /uploadify/javascript/uploadify.swf
    scriptAccess: sameDomain
    queueSizeLimit: 40
    auto: 1
    fileExt: *.*
    cancelImg: /uploadify/images/cancel.png
    image_class: Image
    file_class: File
    buttonText: Upload files
    queueID: UploadifyFieldQueue_UploadedFiles
    wmode: transparent
    hideButton: 1
    sizeLimit: 2097152
    multi: 1

    And this in the firebug Console :


    500 There has been an error

    Charles says it comes from the "refresh" action...

    I'd really appreciate some magic to repair this...

  • moloko_man
    Community Member
    72 Posts

    Re: FileDOM doesn't attach uploaded files Link to this post

    Is this in the back end or on a front end form?

    I had the same issue on a front end form, and found that I had to be in Live mode, have NO spamprotection, and the form could not be submitted via ajax.

  • VRoxane
    Community Member
    42 Posts

    Re: FileDOM doesn't attach uploaded files Link to this post

    I am working in the backend. Thank you for the hint, it will surely help somebody else in the future

Page: 1
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.