• 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
    • Trying to attach an image

    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: Trying to attach an image

    • Issue Tools
      • View Changes
    1. issueid=3057 April 27, 2013 6:38 PM
      nobodieshero nobodieshero is offline
      New Member
      Trying to attach an image
      Upload shows incorrect path

      So I am trying to upload an image in the wiki attachments and noticed that not only does it not upload it shows a fake address. "C:/fakepath/" then whatever file I am trying to upload. Why is there not an easy way to get pictures in the wiki pages?
    Issue Details
    Issue Number 3057
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Images / Icons
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.0 Alpha 7
    Fixed Version (none)
    Milestone VaultWiki 4 Alpha X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. April 27, 2013 8:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      You can attach images via URL if they are already hosted somewhere. Wiki pages can't use vBulletin attachments because vBulletin ties the attachments to a specific user account. This makes it impossible for multiple users to edit the same page properly once an attachment is added, and difficult to reuse attachments that someone else posted. Because of this, VaultWiki 4 has been given its own attachment system that, like pages, doesn't force that one belongs to any one user.

      There were some bugs in Alpha 7 that made it impossible to create any page that counted as an attachment. This is fixed in build 2.

      Also, if you are unable to upload anything, go to Admin Panel > Content > Attachments, and make sure the file extension you're trying to upload exists and is properly defined.

      Please let me know what browser you are using also. Since the uploader uses Javascript it might be behaving differently in different browsers. I haven't had an experience where the displayed path is wrong...
      Reply Reply  
    2. April 28, 2013 6:27 PM
      nobodieshero nobodieshero is offline
      New Member
      The problem persists. I updated to the latest build and I can't seem to get anything to work. I tried three different browsers all of which failed with different results. Chrome is my main one it is the one that shows the fake path folder. Then Safari doesn't show anything at all when I click select file. And Firefox seems to be most stable I can pick the file and it shows just the file name in the text box but the uploading animation just lags on and does nothing. I am wondering if it doesn't have something to do with the way you Java code interacts with OSX (aka mac computers). Java has a history of being a little more restricted on mc computers.
      Reply Reply  
    3. April 28, 2013 10:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      In Firefox, please use Firebug and check the Net panel when attempting an upload. You should see an HTML request to wiki_ajax.php?c=upload. Expand the details of that request, and post the contents of the Response tab.
      Reply Reply  
    4. April 29, 2013 1:24 AM
      nobodieshero nobodieshero is offline
      New Member
      Ok so I did it and got a 500 internal server error in the .net with wiki_ajax.php?c=upload showing up. I tried to go into my server logs to see wats up but my cpanel is not showing me my error log (opened a ticket for that). but heres what firefow shows. donno if it helps.
      Reply Reply  
    5. April 29, 2013 8:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      Once you get a look at the logs, please let us know. We know this is one of the most important aspects of the software, and we'd like to get it working flawlessly for everyone as soon as we can. Thanks.
      Reply Reply  
    6. May 3, 2013 6:45 PM
      nobodieshero nobodieshero is offline
      New Member
      Made private
      Reply Reply  
    7. May 3, 2013 9:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      In AdminCP > Custom BB Codes > BB Code Manager, edit "file" and change the image to "bb_image.gif"
      I don't see how that's the issue, but let me know. Otherwise, please check your logs for a new error.
      Reply Reply  
    8. May 4, 2013 8:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      Make sure the client IP address is your own IP address, or it's not relevant. robots.txt is only used by things like Googlebot. It shouldn't have any effect on whether you can upload or not.
      Reply Reply  
    9. May 4, 2013 8:53 PM
      pegasus pegasus is offline
      VaultWiki Team
      If you are storing wiki attachments in the file system, make sure the directory you selected exists and that it is writable by PHP. It should have the same owner and permissions as your vBulletin attachments folder.
      Reply Reply  
    10. May 5, 2013 3:55 PM
      nobodieshero nobodieshero is offline
      New Member
      Where do I locate the location or type of attachment storage in the admin?
      Reply Reply  
    11. May 5, 2013 6:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      You would have set them during the upgrade or installation of VaultWiki 4. After that, you can't alter these values in the Alpha release. You can see what they are set to here: admincp/options.php?do=options&dogroup=vw_version_settings
      Reply Reply  
    12. May 5, 2013 7:14 PM
      nobodieshero nobodieshero is offline
      New Member
      When I enter that in it just loads up a blank vboptions page with a drop down bar..
      Reply Reply  
    13. May 6, 2013 8:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      In admincp/options.php, find and delete:
      Code:
      " . iif($vbulletin->debug, '', 'WHERE settinggroup.displayorder <> 0') . "
      Reply Reply  
    14. May 6, 2013 9:32 PM
      nobodieshero nobodieshero is offline
      New Member
      Attachment File Path = /path_to/attachments
      Attachment Storage Type = Database
      Reply Reply  
    15. May 8, 2013 6:39 PM
      nobodieshero nobodieshero is offline
      New Member
      So today I booted into Windows to test out the Mac problem theory. I tried in both IE and Chrome. Both still did not work and both show C:/fakepath/ "filename" in the text box. My next question is does the upload system default to a C: drive? because the file is located on H: I believe by default in mac. I will attempt to upload a random picture from the windows boot to check this.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 11:29 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.