• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Attachment upload fails with JS error in consol

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Attachment upload fails with JS error in consol

    • Issue Tools
      • View Changes
    1. issueid=6029 May 11, 2020 1:24 PM
      mazzly mazzly is offline
      Junior Member
      Attachment upload fails with JS error in consol

      First though it was related to nginx pagespeed. But after I disabled that for /wiki* endpoint it still doesn't work.
      (Also: It worked fine on RC2)

      Code:
      upload.js?v=794dd433:7 Uncaught TypeError: Cannot read property 'one' of null
          at Object.update_progress (upload.js?v=794dd433:7)
          at Object.onchange_upload (upload.js?v=794dd433:7)
          at e.Subscriber._notify (combo-min.js:4)
          at e.Subscriber.notify (combo-min.js:4)
          at e.CustomEvent._notify (combo-min.js:3)
          at e.CustomEvent._procSubs (combo-min.js:3)
          at e.CustomEvent.fireSimple (combo-min.js:3)
          at e.CustomEvent._fire (combo-min.js:3)
          at e.CustomEvent.fire (combo-min.js:3)
          at HTMLInputElement.a.fn (combo-min.js:7)
    Issue Details
    Issue Number 6029
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status VW.org Bug
    Priority 3 - Loss of Functionality
    Affected Version Unknown
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 11, 2020 2:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      Your style templates vw_creator_attach or vw_editor_attach may be outdated due to custom edits. Due to changes in the HTML of those templates that is required for the Javascript to work properly, you would have to merge or revert those templates.
      Reply Reply  
    2. May 12, 2020 12:21 AM
      mazzly mazzly is offline
      Junior Member
      No custom edits in any of those templates..
      Reply Reply  
    3. May 12, 2020 9:38 AM
      mazzly mazzly is offline
      Junior Member
      More info: This error happens directly after selecting e.g. image to upload.
      Reply Reply  
    4. May 12, 2020 2:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      I checked out your site, and confirmed by checking the download contents this site had given you.

      Apparently when downloading VaultWiki from this site, our site did not put the js/vw/vw/min folder in the ZIP. This means that when using your site with minified Javascripts turned on, none of the minified scripts from the last version were overwritten. So you are currently running VaultWiki 4.1.0 RC 3 with Javascript from 4.1.0 RC 2 (or lower, depending how long this problem has been there).

      We have fixed the problem with our website that was not including the minified Javascript files. Please download another copy of the ZIP and reupload the /js folder to your site. You may need to clear your browser cache after doing so.
      Reply Reply  
    5. May 13, 2020 7:58 AM
      mazzly mazzly is offline
      Junior Member
      Yep that worked
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:32 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.