• 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 3.x Series
    • Bug
    • Footnotes Divide By Zero

    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: Footnotes Divide By Zero

    • Issue Tools
      • View Changes
    1. issueid=1552 May 10, 2010 4:14 AM
      Mondi Mondi is offline
      Junior Member
      Footnotes Divide By Zero

      Hi,

      When trying to modify an existing Wiki page - specifically by adding footnotes I receive this error:
      Code:
      Warning: Division by zero in [path]/vault/special_class_bbcode.php on line 1825
      
      vBulletin Message
      Unable to add cookies, header already sent.
      File: /home/gblcg.com/public_html/includes/class_core.php
      Line: 4495
      Probably something I did wrong here - but how can I get rid of this?

      Thanks
    Issue Details
    Issue Number 1552
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.0 RC 2
    Fixed Version 3.0.0 RC 3
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 10, 2010 10:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed for the next build. In vault/special_class_bbcode.php, find:
      Code:
      		if (empty($value))
      Replace with:
      Code:
      		$value = intval($value);
      
      		if (!$value)
      Reply Reply  
    2. May 10, 2010 5:17 PM
      Mondi Mondi is offline
      Junior Member
      Thanks Ted.

      Also - FYI - I noticed the problem emerges when content structures are copied from one wiki page into a new one.

      I established a header-separated 'blueprint' for my wiki articles which, first, I copied to multiple pages, then, second, modified to make them topic relevant. The original 'copy' included a number of links and references to templates <<Warning Box>> which I then modified as well page-by-page.

      What I noticed was that I couldn't just copy materials from an existing guide [Ms Word Document] into the structure I established. That is, all good if you don't introduce footnotes but as soon as that happens the wiki spits it out.

      Just FYI, as said. No real issue for me [I had to rewrite the MsWord Guide anyway] but perhaps good for you to know, just in case something similar pops up due course.

      Hey - Thanks for your assistance again. I am a very, very happy customer.....
      Reply Reply  
    3. May 10, 2010 5:59 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, you always have to be careful copying stuff from Ms Word, since it adds a whole bunch of hidden encoding and formatting characters of its own. You should always try copying it to Notepad first to make sure there's nothing odd about 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 6:26 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.