• 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
    • cannot upload attachments (gamma 6)

    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: cannot upload attachments (gamma 6)

    • Issue Tools
      • View Changes
    1. issueid=3783 June 9, 2014 2:18 PM
      nikosb nikosb is offline
      New Member
      cannot upload attachments (gamma 6)

      Hello
      When I try to upload images, I have the following message

      Could not find phrase 'vw_filetype_permission_error'.

      any idea?
      thanks
    Issue Details
    Issue Number 3783
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.0 Gamma 6
    Fixed Version 4.0.0 Gamma 6
    Milestone VaultWiki 4 Gamma X
    Software DependencyvBulletin 4.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 9, 2014 2:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Go to admincp/wiki_cp.php?panel=attach
      It should show a list of file types that you currently allow as uploads.
      You can also click the "Modify Permissions" button to make sure your usergroup is allowed to upload a specific type.
      Reply Reply  
    2. June 9, 2014 3:09 PM
      nikosb nikosb is offline
      New Member
      I checked and the all is ok

      But still gets the same message when trying to create new attachment
      Reply Reply  
    3. June 9, 2014 3:52 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed your site, and fixed in the current build.

      Other users: in vault/core/controller/input/vw.php, find:
      Code:
      			case 'c':
      			case 's':
      			case 'e':
      			case 'g':
      			case 'p':
      				return $r;
      Replace with:
      Code:
      			case 'c':
      			case 's':
      			case 'e':
      			case 'g':
      			case 'p':
      			case 'f':
      				return $r;
      Reply Reply  
    4. June 9, 2014 4:09 PM
      nikosb nikosb is offline
      New Member
      Thanks a lot again!
      Reply Reply  
    5. June 9, 2014 4:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      First use of real VCS power - made this change to an old version of the file (gamma 6 build 002, as opposed to the current dev files), committed it to the release branch, updated the download's changeset ID, and merged the changes to the current dev files.

      Worked beautifully.

      No new stuff leaked, no manually editing a bunch of files, no manually adding files to the download, no unintended changes that cause new errors. So glad we spent a month redesigning that whole process.
      Reply Reply  
    6. June 9, 2014 11:58 PM
      nikosb nikosb is offline
      New Member
      I have something wrong
      Code:
      Invalid SQL:
      INSERT INTO vb_vw_attach
      	(pageid, attacheditid)
      VALUES
      	(66, 9);
      
      MySQL Error   : Table 'supagr.vb_vw_attach' doesn't exist
      Error Number  : 1146
      Request Date  : Tuesday, June 10th 2014 @ 06:40:45 AM
      Error Date    : Tuesday, June 10th 2014 @ 06:40:45 AM
      Script        : [url]http://www.myurl/forums/wiki_index.php?title=Image&do=publish&itemtypeid=18[/url]
      Referrer      : [url]http://www.myur;/forums/wiki_index.php?title=Image&do=create&itemtypeid=18[/url]
      
      Classname     : vB_Database
      MySQL Version : 5.5.37-cll-lve
      and
      Code:
      Invalid SQL:
      SELECT filesize FROM `vb_vw_attachmentfile` WHERE attachfileid =;
       
      MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
      Error Number  : 1064
      Request Date  : Tuesday, June 10th 2014 @ 06:41:57 AM
      Error Date    : Tuesday, June 10th 2014 @ 06:41:57 AM
      Script        : [url]http://www.url/forums/wiki_ajax.php?c=upload[/url]
      Referrer      : [url]http://www.url/forums/wiki_index.php?title=Image:excel&do=edit[/url]
      Classname     : vB_Database
      MySQL Version : 5.5.37-cll-lve
      Reply Reply  
    7. June 10, 2014 9:37 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed your site and the current release. You will have to recreate your Image:excel attachment, due to a bug it was not actually saved as an attachment, so you were getting errors when trying to use it as one.
      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:17 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.