• 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
    • Unreadable text and broken images

    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: Unreadable text and broken images

    • Issue Tools
      • View Changes
    1. issueid=2987 March 24, 2013 8:16 PM
      delicateglow delicateglow is offline
      Junior Member
      Unreadable text and broken images

      Whenever I type anything (in English) in wiki page or area, when I finish, it returns jibberish like
      �K-W(HLOUH�/RH�I,.N-

      Additionally, all images are broken

      they seem to be pointing to the root folder when it should be /vault/resources/images/icon (I believe). No idea where to fix this, though.
    Issue Details
    Issue Number 2987
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Page Output
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 2
    Fixed Version 4.0.0 Alpha 3
    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)




    1. March 24, 2013 11:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Sounds like a compression issue. I will have to investigate this more against your configuration. I will post more when I find something.
      Reply Reply  
    2. March 25, 2013 10:48 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs because of a bug in versions of MySQL between 5.0.2 and 5.0.88.
      Quote Originally Posted by http://dev.mysql.com/doc/relnotes/mysql/5.0/en/news-5-0-88.html
      Failure to treat BIT values as unsigned could lead to unpredictable results. (Bug #42803)
      MySQL was returning values of data-type BIT as BIN values between 5.0.2 and 5.0.88 due to a change in 5.0.2 which allowed storing the binary values (0s and 1s) directly in BIT fields (a bit being 0 or 1). This ended up causing many regressions editing and displaying, and after arguing for many versions that it wasn't a bug, in 5.0.88 they changed the return value to UNSIGNED.

      I'm guessing your MySQL version falls between those versions, so your server is returning BIN, which leads since PHP to acknowledge it as a string rather than a number.

      This means instead of bitfield = 1, we have bitfield = [GARBAGE]
      So VaultWiki is unable to determine if the current page-text has been compressed or not.
      Since VaultWiki is supposed to have much laxer requirements for MySQL, I am working on a fix now, but it requires modifications to our database abstract, and everywhere these bit values are used. It may take a few hours before I can apply it everywhere on your install.
      Reply Reply  
    3. March 25, 2013 11:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      Marking this as fixed for Alpha 3. All wildcard and explicit BIT-type field selects (vw_revision.flags, vw_attachmentfile.file_flags, vw_attachmentthumb.flags, vw_moderator.options) have been updated so that they are appropriately type-cast to an integer, regardless of the MySQL version.
      Reply Reply  
    4. March 25, 2013 2:05 PM
      delicateglow delicateglow is offline
      Junior Member
      Ah I see. Thank you.
      What about the broken images? Additionally, I went to see if I could change it in VaultWiki's Control Panel through Styles -> CSS
      but I get
      Code:
      Fatal error: Cannot redeclare array_trim() (previously declared in /var/www/vhosts/domain.net/httpdocs/includes/adminfunctions_template.php:92) in /var/www/vhosts/domain.net/httpdocs/includes/adminfunctions_template.php on line 95
      Reply Reply  
    5. March 25, 2013 2:16 PM
      pegasus pegasus is offline
      VaultWiki Team
      The fatal error should be fixed now, but I think the broken images are due to a missing stylevar 'vw_imgdir_icon'. You can create it yourself using vBulletin's stylevar manager, just make sure to add it to the VaultWiki product to avoid collisions on your next upgrade.
      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:22 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.