• 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
    • Can't upload atatchments since new version

    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: Can't upload atatchments since new version

    • Issue Tools
      • View Changes
    1. issueid=3480 November 6, 2013 7:37 AM
      Richard_KingdomTales Richard_KingdomTales is offline
      New Member
      Can't upload atatchments since new version

      No matter how high you set the max limit, even a small smiley gets the vw_exceed_filesize_error

      or sometimes vw_invalid_filehash is generated instead

      Also the wiki default package is missing an image, ironically the error message gif when an image fails.
    Issue Details
    Issue Number 3480
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version Unknown
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 6, 2013 10:15 AM
      pegasus pegasus is offline
      VaultWiki Team
      For some reason VaultWiki had your global max upload size set as 0. This is usually a fixed limit determined by your server hardware, but it should generally be relatively high. I fixed this for you, so please let me know if you still have problems.

      Some of your individual filetypes were set kinda low as well, which may continue to give you problems. I believe the inputs are for units in bytes (b), so if you want to accept MB, you need to set it to at least 1048576.
      Reply Reply  
    2. November 7, 2013 2:21 AM
      Richard_KingdomTales Richard_KingdomTales is offline
      New Member
      ah thanks, however now i get this
      Code:
      ErrorException: file_exists() expects parameter 1 to be a valid path, string given - library/XenForo/Helper/File.php:23
      Generated By: Richard, A moment ago
      Stack Trace
      
      #0 [internal function]: XenForo_Application::handlePhpError(2, 'file_exists() e...', '/home/***/...', 23, Array)
      #1 /home/***/public_html/library/XenForo/Helper/File.php(23): file_exists('/home/***/...')
      #2 /home/***/public_html/vault/core/controller/dm/attach/file/xf.php(72): XenForo_Helper_File::createDirectory('/home/***/...')
      #3 /home/***/public_html/vault/core/controller/dm/attach/file/vw.php(614): vw_DM_Attach_File_Controller_XF->mkdir('/home/***/...')
      #4 /home/***/public_html/vault/core/controller/dm/attach/file/vw.php(301): vw_DM_Attach_File_Controller->verify_attachment_path(2)
      #5 /home/***/public_html/vault/core/controller/dm/attach/file/xf.php(52): vw_DM_Attach_File_Controller->post_save_each()
      #6 /home/***/public_html/library/XenForo/DataWriter.php(1397): vw_DM_Attach_File_Controller_XF->_postSave()
      #7 /home/***/public_html/vault/core/controller/dm/xf.php(378): XenForo_DataWriter->save()
      #8 /home/***/public_html/vault/core/controller/ui/ajax/upload/vw.php(111): vw_DM_Controller_XF->save()
      #9 /home/***/public_html/library/vw/XenForo/ControllerPublic/Wiki/Ajax.php(48): vw_UI_AJAX_Upload_Controller->execute()
      #10 /home/***/public_html/library/XenForo/FrontController.php(337): vw_XenForo_ControllerPublic_Wiki_Ajax->actionIndex()
      #11 /home/***/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #12 /home/***/public_html/index.php(13): XenForo_FrontController->run()
      #13 {main}
      
      Request State
      
      array(3) {
        ["url"] => string(59) "http://***/index.php?wiki_index-ajax/&c=upload"
        ["_GET"] => array(2) {
          ["wiki_index-ajax/"] => string(0) ""
          ["c"] => string(6) "upload"
        }
        ["_POST"] => array(5) {
          ["ajax"] => int(1)
          ["_xfToken"] => string(8) "********"
          ["c"] => string(6) "upload"
          ["areaid"] => string(1) "1"
          ["pageid"] => string(0) ""
        }
      }
      Reply Reply  
    3. November 7, 2013 12:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. Also fixed on your site.

      vwHC->String->tolower(int) was returning a corrupt string on your server, which meant a corrupt path from the upload ID. In the next release, non-string values passed to the mbstring-alternative methods will be typecast before trying to convert the characters to byte-code.
      Reply Reply  
    4. November 15, 2013 10:51 PM
      adwolf1 adwolf1 is offline
      New Member
      pegasus -- how did you set the "global max upload size" manually? i'm getting the same errors here, i suspect that i'm having the same issue he did. Using VB 4.2. php is set to accept files up to 8mb in size, and nginx client_max_bodysize is 15mb...

      thanks
      Reply Reply  
    5. November 15, 2013 11:19 PM
      adwolf1 adwolf1 is offline
      New Member
      just to add, i'm also getting a 404 on /vault/resources/images/upload-error.gif
      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 8:48 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 © 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.