• 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
    • Saving Namespace Doesn't Rebuild

    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: Saving Namespace Doesn't Rebuild

    • Issue Tools
      • View Changes
    1. issueid=1406 April 9, 2010 7:36 PM
      pegasus pegasus is offline
      VaultWiki Team
      Saving Namespace Doesn't Rebuild

      When a namespace's main forum is changed or it is given a forum that already contains threads, the existing pages are corrupt. The only way to fix this is to toggle the Wiki Mode via the Forum Manager.

      Fixed for the next build.
    Issue Details
    Issue Number 1406
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Namespaces
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 3.0.0 RC 1
    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 7, 2010 1:20 AM
      pegasus pegasus is offline
      VaultWiki Team
      This was still broken in RC 2 as per this thread: http://www.vaultwiki.org/threads/4453/

      An incorrect data format was used from the namespace save-action (toggling a wiki forum worked if it was a sub-forum). To fix, in vault/special_admin_forum.php, find:
      Code:
      	else
      	{
      		$forumlist = array($forumlist);
      	}
      Add after:
      Code:
      	if (count($forumlist) > 1)
      	{
      		$forumlist = array_unique($forumlist);
      	}
      Which prevents a database error when attempting to fix (by re-saving) a namespace this already happened to. Then, in admincp/vaultwiki_namespace.php, find:
      Code:
      		$suffix .= '&meta=' . $dataman->rebuild['meta'][0]
      			. '&types[0]=' . $dataman->rebuild['meta'][1][0]
      			. '&types[1]=' . $dataman->rebuild['meta'][1][1]
      			. '&parents[0]=' . $dataman->rebuild['meta'][2][0]
      			. '&parents[1]=' . $dataman->rebuild['meta'][2][1];
      Replace with:
      Code:
      		$suffix .= '&meta=' . implode(',', $dataman->rebuild['meta'][1])
      			. '&types[0]=' . $dataman->rebuild['meta'][0][0]
      			. '&types[1]=' . $dataman->rebuild['meta'][0][1]
      			. '&parents[0]=' . $dataman->rebuild['meta'][1][0]
      			. '&parents[1]=' . $dataman->rebuild['meta'][1][1];
      Reply Reply  
    2. May 8, 2010 7:02 PM
      iphoneclub iphoneclub is offline
      Junior Member
      I really hate to be a burden, but in trying to make a Book according to this discussion, I ended up with empty articles again If I click [Rebuild] in the Namespace Manager the error is:
      Code:
      NULL string(0) ''
      The specific forum is called 'Uitleg' (subforum of Stafforum)

      Edit: Fixed the empty content by changing Wiki to 'Disabled' (content is still there), but I noticed another null string when doing this:
      Code:
      NULL string(0) '96'
      (not 100% sure about the exact number)
      Reply Reply  
    3. May 8, 2010 8:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please open a new report and describe the precise steps you performed that resulted in empty articles.
      Reply Reply  
    4. May 8, 2010 8:15 PM
      iphoneclub iphoneclub is offline
      Junior Member
      Will do in a bit.
      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 7:31 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 © 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.