Hi, I've just installe the uComponents suite 6.0.0 as I need the multi url picker. Once installed I created a custom dataType as follows:
The I've a DocumentType with a property of type "CAI.Upload" in my case so the users can add a pdf for the news. When I try to pick up a pdf file (size does not matter) it appears only the spinner and nothing happens:
As I'm pretty new yo Umbraco and cannot get thru this. Any hints?
Hi Jan, as you suggested I checked inside the UmbracoTraceLog.txt but there are no exceptions message or something like that. I've also increased the file size for upload but nothing happens. I tested the upload with tiny files, around 4kb.
Update: I checked the javascript console and there seems to be a problem concerning the ajax upoad as the error is "c.replace is not a function" on "jQuery.parseJSON"
Hmm, seems like a bug that needs to be reported to the ucomponents team.
What browser are you using? And have you checked it's not related to a weird mime-type issue on the server? Could be that the mime-type for PDF files for some reason is not allowed? (Even though it should be allowed by default).
Hi Jan, I tested that code with both Firefox 30 and IE11. I've already reported that bug to uComponent team because I've previously tested the upload with regular file types such jpg, gif and something like that.
Multi-URL Picker can't upload files
Hi, I've just installe the uComponents suite 6.0.0 as I need the multi url picker. Once installed I created a custom dataType as follows:
The I've a DocumentType with a property of type "CAI.Upload" in my case so the users can add a pdf for the news. When I try to pick up a pdf file (size does not matter) it appears only the spinner and nothing happens:
As I'm pretty new yo Umbraco and cannot get thru this. Any hints?
Hi Barbacan
Have you checked what the console log says when you're trying to upload something? How large is the file youre trying to upload?
Maybe it's because you need to increase the allowed size of the files you're uploading - Jeavon did a nice article on useful tweaks last xmas at http://24days.in/umbraco/2013/6-easy-configuration-tweaks/
Looking forward to hearing from you.
/Jan
Hi Jan,
as you suggested I checked inside the UmbracoTraceLog.txt but there are no exceptions message or something like that. I've also increased the file size for upload but nothing happens. I tested the upload with tiny files, around 4kb.
Update: I checked the javascript console and there seems to be a problem concerning the ajax upoad as the error is "c.replace is not a function" on "jQuery.parseJSON"
Hi Barbacan
Hmm, seems like a bug that needs to be reported to the ucomponents team.
What browser are you using? And have you checked it's not related to a weird mime-type issue on the server? Could be that the mime-type for PDF files for some reason is not allowed? (Even though it should be allowed by default).
/Jan
Hi Jan, I tested that code with both Firefox 30 and IE11. I've already reported that bug to uComponent team because I've previously tested the upload with regular file types such jpg, gif and something like that.
is working on a reply...