+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Media field type upload error

Media field type upload error

9 posts, 0 answered
  1. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    04 Apr 2013
    Link to this post
    When attempting to upload a file (media field type) that is linked to my content item (custom module) I get the following error:

    Message: 'get_input().files.0' is null or not an object

    It's only present while using IE8. (why are there so many issues with IE8..). Any suggestions?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    08 Apr 2013
    Link to this post
    Hi Rico,

    The error you are getting is strange - we also tried to reproduce it locally by creating a media field, but could not reproduce it on a blank, 5.4 project. If possible, can you provide us with more details on how you have set the project? Are there any extensionless ( .file ) files in the root of the folder of the project?


    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    14 May 2013 in reply to Victor Velev
    Link to this post
    Hi Victor,

    The issue is also present with IE10... I'm unclear what you mean by 'extensionless files' at the root of the project folder. I don't believe there are any... attached is the error that is thrown in IE, as well as a file listing of my root project folder.

    This issue does not appear with FF or Chrome...

    NOTE: please ignore the attached file 'IE8FailedWindowsAuth' (I uploaded the wrong file). There doesn't appear a way to delete attached images when editing a post...
  4. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    17 May 2013 in reply to Rico
    Link to this post
    I've managed to find out the source of this issue, though I don't know the cause (it seems to be a sitefinity bug still to me).

    I had been previously setting the 'max file size' limitation property (any value). If I REMOVE this value (don't populate the file size limit), then this error goes away. Can you please confirm. I have created a vanilla sitefinity project as well, and this behavior is present. I have tested both v5.4 as well as v6.0

    Thanks!
  5. Miroslava
    Miroslava avatar
    57 posts
    Registered:
    22 Feb 2016
    21 May 2013
    Link to this post
    Hi Rico,

     Would you  please give us exact steps that you perform in order to reproduce the issue, so we could try to reproduce it on our side? I also could not succeed in reproducing it. I used a new Sitefinity 5.4 4020 project and created a new dynamic module with Title field and a media field for documents. Then I created a document library with restriction on max size per file and max size for the whole library. I uploaded some documents in my library, then I created a few dynamic module items and chose documents from this library. I tested this scenario on IE8.
    Thank you in advance for your cooperation!

    Greetings,
    Miroslava
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    28 May 2013 in reply to Miroslava
    Link to this post
    Hi Miroslava,

    I didn't set the restriction on the library -- I set the restriction on the actual media field of the content item. See attached screenshot. Steps that I took were exactly as yours.
    1) create blank project
    2) create custom module via module builder
    3) define custom fields in content item (Title and Media field)
    4) in the Media field limitations tab -- define file size limit

    Hope this helps.
  7. Stoyanka Assenova
    Stoyanka Assenova avatar
    113 posts
    Registered:
    01 Dec 2016
    30 May 2013
    Link to this post
    Hello,

    Thank you for the additional information. We managed to reproduce the issue. We have logged it in our bug tracking system.

    Regards,
    Stoyanka Assenova
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Anthony
    Anthony avatar
    2 posts
    Registered:
    31 Jul 2012
    21 Jul 2014
    Link to this post
    Our client using IE8 and file size limit and got this problem as well, may I know if there is a solution for this.
  9. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    24 Jul 2014
    Link to this post
    Hi,

    I was able to reproduce the problem with Sitefinity 6.3 using our Media Field. However I would like to inform you that in Sitefinity 7.x we use Related Media Field. For your convenience please review the video demonstration I have recorded.

    More information regarding related media field could be found in our documentation:

    http://www.sitefinity.com/documentation/documentationarticles/related-media-custom-field

    You could upgrade your project to Sitefinity 7.x and then migrate your Media fields to Related Media fields using the following article:

    http://www.sitefinity.com/documentation/documentationarticles/migrate-related-data

    More information about the upgrade procedure could be found in this section.

    Regards,
    Stefani Tacheva
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
9 posts, 0 answered