• 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
    • PDF's not displaying after import

    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: PDF's not displaying after import

    • Issue Tools
      • View Changes
    1. issueid=5216 September 7, 2017 12:32 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      PDF's not displaying after import

      Please see bug report 322981 on my site.
      If a PDF is included in a page, then it displays as an empty block.
      Another issues is that clicking it doesn't open the file. it sends the user to a very confusing page that states that the user is looking at the contents of the file. Which is not true.
      If the user clicks the file then they want to view the file contents. Not go somewhere else. I understand that this is how VW4 now works, but from an end user point of view it doesnt work. Its a large step back from VW3.
    Issue Details
    Issue Number 5216
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Working as Designed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.19
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 7, 2017 12:54 PM
      pegasus pegasus is offline
      VaultWiki Team
      Your environment does not have support for treating PDFs as images.

      PHP was not compiled with the Imagick extension. While your server may have the ImageMagick binaries installed, along with the appropriate GhostScript extension, which was needed in vBulletin, vBulletin had provided command-line access to the binaries, while XenForo requires the presence of the Imagick PHP extension.

      In your environment, it would be necessary to download the PDF in order to view it. The link in the wiki page sends the user to the correct download page for the PDF.

      The only issue I notice here is that the generic file icon is not showing when FILE has been used in 'thumbnail' mode and the file cannot have thumbnails. I have fixed this in the next release. Everything else you describe is working as designed, and by the way, it's exactly how the FILE BB-Code (then IMAGE) worked in VW3, so it is in no way a step back or a regression. Your gripe is with the conversion of ATTACH to FILE in VW4, which gives all wiki attachments a separate description and download page, has been litigated ad nauseum elsewhere.

      Marking this as Working as Designed.
      Reply Reply  
    2. September 7, 2017 1:03 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thats not correct. XenForo doesn't require ImageMagick. It requires GD.
      XenForo System Requirements: https://xenforo.com/purchase/
      We actually switched from ImageTragick to GD due to this requirement.
      IMHO Imagemagick should not be used at all due to vulnerabilities.
      Reply Reply  
    3. September 7, 2017 1:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      GD has no support for PDFs.

      XenForo requires AT LEAST GD, but will use ImageMagick if the Imagick extension is installed. XenForo requires Imagick in order to use ImageMagick. But yes, there are vulnerabilities in ImageMagick.
      Reply Reply  
    4. September 8, 2017 6:47 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      How about displaying a PDF icon or just the link when there is no ImageMagick?
      I would like to avoid ImageMagick. My host objects to installing it.
      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 10:46 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 © 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.