• 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
    • Images - Cannot Upload

    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: Images - Cannot Upload

    • Issue Tools
      • View Changes
    1. issueid=3533 January 22, 2014 6:32 AM
      DirtRider DirtRider is offline
      Junior Member
      Images - Cannot Upload

      When I create new content and select attachments it will take me to the page. I get the option to upload an image, select image and it appears to upload. However the icon place holder does not show the image but a blank block. On saving the content after placing text into the text container I get the following error

      WiKi Tools
      Errors

      There were some problems with your submission:

      vw_invalid_filehash
    Issue Details
    Issue Number 3533
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.0 Gamma 1
    Fixed Version 4.0.0 Gamma 2
    Milestone VaultWiki 4 Gamma X
    Software DependencyIP.Board
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags Images




    1. January 22, 2014 11:08 AM
      pegasus pegasus is online now
      VaultWiki Team
      I recently fixed this on another user's site. Let me see if I can remember the patch.

      In vault/resources/js/upload.js, find:
      Code:
      var src = ajax.responseXML.getElementsByTagName("thumb-src")[0];
      Replace with:
      Code:
      var src = vw_Hard_Core.getXMLvalue(ajax.responseXML.getElementsByTagName("thumb-src")[0]);
      In vault/core/controller/ui/ajax/upload/vw.php, find:
      Code:
      $xml->add_xml('thumb-size', $dims[0] ? $dims[0] : 180);
      Add before:
      Code:
      $asset = vw_Hard_Core::model('URL')->script_path('asset');
      By the timestamps I think these were the only changes that fixed the problem. It mainly had to do with XenForo failing to send a response to the upload process due to a PHP Notice that halts execution when XenForo's Debug Mode is turned on.
      Reply Reply  
    2. January 22, 2014 10:34 PM
      DirtRider DirtRider is offline
      Junior Member
      I assume this would be in an upcoming release at some point. With this install right now I do not wish to do any manual edits to code
      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 3:17 PM.
    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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.