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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

FileDOM doesn't attach uploaded files


Go to End


3 Posts   1587 Views

Avatar
VRoxane

Community Member, 42 Posts

7 May 2011 at 12:40am

Edited: 07/05/2011 8:49am

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: *.*
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: 

And this in the firebug Console :

MYSITE.COM/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]=&FileIDs=%EF%BB%BF31

500 There has been an error

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

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

Avatar
moloko_man

Community Member, 72 Posts

1 June 2011 at 4:19am

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.

Avatar
VRoxane

Community Member, 42 Posts

1 June 2011 at 9:23am

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