• 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
    • Icons show up as squares

    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: Icons show up as squares

    • Issue Tools
      • View Changes
    1. issueid=3937 August 22, 2014 2:47 PM
      delicateglow delicateglow is offline
      Junior Member
      Icons show up as squares

      The icons used for page types, discussions, and areas are all squares now.
    Issue Details
    Issue Number 3937
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Images / Icons
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.0 RC 2
    Fixed Version 4.0.0 RC 2
    Milestone VaultWiki 4.0 Gold
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 22, 2014 2:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      Browser?
      Reply Reply  
    2. August 22, 2014 2:50 PM
      delicateglow delicateglow is offline
      Junior Member
      Chrome. Icons show up fine on this site.
      Reply Reply  
    3. August 22, 2014 2:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      Having trouble seeing this issue just by stumbling around your site. Please PM a link.
      Reply Reply  
    4. August 23, 2014 10:21 AM
      pegasus pegasus is offline
      VaultWiki Team
      Operating System and Chrome version? When I visit that page in the current Chrome under Windows 7 64-bit I cannot duplicate what is shown in the screenshots.
      Reply Reply  
    5. August 23, 2014 12:23 PM
      delicateglow delicateglow is offline
      Junior Member
      Windows 7 64x Ultimate
      Chrome version 36.0.1985.143 m

      I just asked another user to see if they get the same problem and indeed they do. They were using the same chrome version
      It shows up as boxes on Firefox as well.
      Reply Reply  
    6. August 23, 2014 12:54 PM
      pegasus pegasus is offline
      VaultWiki Team
      I can see the issue in Firefox.

      First, try removing vault/resources/fonts/font-awesome.woff from your server's cloudflare cache.
      Make sure your server is serving .woff files with mime-type: application/font-woff

      Cloudflare is reporting a HIT for the file and sending the mime-type as text/plain. I don't know if that's standard for all cache hits, or if it's actually saying .woff files should be interpreted as plain-text, rather than as fonts.
      For a Firefox browser with an empty cache, Cloudflare is returning empty Response data for the font in question, rather than the actual content of the file.

      I realize now that Chrome was working okay for me because I have Font-Awesome installed in my OS so I can use it in Word and PhotoShop, and it must be using the system-installed version. I'm a little confused why Firefox didn't try to do the same thing.
      Reply Reply  
    7. August 23, 2014 1:00 PM
      delicateglow delicateglow is offline
      Junior Member
      Quote Originally Posted by pegasus
      Make sure your server is serving .woff files with mime-type: application/font-woff
      How would I do that?
      Reply Reply  
    8. August 23, 2014 1:36 PM
      pegasus pegasus is offline
      VaultWiki Team
      Depends. If you're using nginx, you have to modify the mime.types config file. It should be in the same directory as your nginx.conf
      You probably have to restart nginx afterwards.

      If you're using Apache, and have cPanel access, just find the section Advanced > Mime Types, and add the rule there.
      Reply Reply  
    9. August 23, 2014 2:05 PM
      delicateglow delicateglow is offline
      Junior Member
      I added the mime type to my server but it does not seem to make a difference. I purged the cache as well.
      Reply Reply  
    10. August 24, 2014 12:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      Is there a way you can exclude that file from Cloudflare entirely? At least until this issue is debugged, have it load the /vault/resources/fonts/ folder from your server?

      EDIT: See this StackOverflow issue - http://stackoverflow.com/questions/1...ing-in-firefox
      It seems that you either need to exclude your fonts folder from cloudflare, or you need to update your CloudFlare bucket's/your site's cross-domain policy.
      Reply Reply  
    11. August 24, 2014 2:00 AM
      delicateglow delicateglow is offline
      Junior Member
      I did both and it still doesn't display properly.
      Reply Reply  
    12. August 24, 2014 7:21 PM
      delicateglow delicateglow is offline
      Junior Member
      I fixed the issue by adding
      Code:
      <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
      into the headinclude template but I'm not sure how of an ideal fix that'd be for you.
      Reply Reply  
    13. August 24, 2014 10:06 PM
      pegasus pegasus is offline
      VaultWiki Team
      That is just serving the font from a different server. Also, it didn't fix the issue for me under Firefox. Still appears the same, with squares.

      I would recommend disabling Cloudflare completely until the problem can be isolated. As it is now, Cloudflare keeps caching the fonts and the CSS with the problem, so you can never tell if you've fixed it. Only once the site looks okay without Cloudflare, then you should turn Cloudflare back on.
      Reply Reply  
    14. August 25, 2014 3:36 AM
      delicateglow delicateglow is offline
      Junior Member
      Okay, I have disabled Cloudflare.
      Reply Reply  
    15. August 25, 2014 9:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks. I was finally able to determine that the file was missing 2 bytes, because Internet Explorer (of all the browsers to be helpful) kept suggesting the file was corrupt.

      It turns out the file was being corrupted in the code that prepares it to be added to the ZIP download. For some reason, all the file contents were being processed in chunks with trim(). Apparently at least one of the chunks lined up with what could be considered whitespace characters in the font file. Why trim was implemented at all, I'm not really sure, but it's really unsafe to do in binary files as we have just seen, so I have removed that step from the ZIP maker. Hopefully there are no side effects in PHP files from doing that.

      Marking this issue as fixed. You can turn Cloudflare back on.
      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:06 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.