Question:
When using uploadify+FileDOM:
Added in the code:
$manager->setAllowedFileTypes(array('pdf', 'doc', 'docx', 'xls', 'xlsx', 'psd', 'ai', 'zip', 'rar', 'exe'));
But cant upload a docx for example.. it doesn;t recognize it!
It will just links to the URL: '/new-page' - which does not exist
Debug mode is on but doesn't give an error i think:
script: %2Fadmin%2FEditForm%2Ffield%2FDownloads%2FUploadifyForm%2Ffield%2FUploadedFiles%2Fupload
refreshlink: /admin/EditForm/field/Downloads/UploadifyForm/field/UploadedFiles/refresh?ctf[Downloads][start]=0&ctf[Downloads][per_page]=10&ctf[Downloads][showall]=0&ctf[Downloads][sort]=SortOrder&ctf[Downloads][sort_dir]=&ctf[Downloads][search]=&ctf[Downloads][filter]=&ctf[Downloads][view]=
uploader: /uploadify/javascript/uploadify.swf
scriptAccess: sameDomain
queueSizeLimit: 40
auto: 1
fileExt: *.pdf;*.PDF;*.doc;*.DOC;*.docx;*.DOCX;*.xls;*.XLS;*.xlsx;*.XLSX;*.psd;*.PSD;*.ai;*.AI;*.zip;*.ZIP;*.rar;*.RAR;*.exe;*.EXE
fileDesc: Downloads(pdf,doc,docx,xls,xlsx,psd,ai,zip,rar,exe)
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: 16777216
multi: 1
scriptData:
When uploading a RAR i get the 'HTTP error', but the debugger doesn't show any error.
Checked my dataBase and there are no 'null' classes in col 'ClassName'
Files are just called 'File'