Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Barbacan 29 posts 79 karma points
    Jul 10, 2014 @ 17:23
    Barbacan
    0

    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?

  • Jan Skovgaard 10758 posts 21135 karma points admin mvp c-trib
    Jul 11, 2014 @ 11:06
    Jan Skovgaard
    0

    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

  • Barbacan 29 posts 79 karma points
    Jul 11, 2014 @ 12:22
    Barbacan
    0

    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"

  • Jan Skovgaard 10758 posts 21135 karma points admin mvp c-trib
    Jul 14, 2014 @ 10:54
    Jan Skovgaard
    0

    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

  • Barbacan 29 posts 79 karma points
    Jul 14, 2014 @ 12:32
    Barbacan
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft