• 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
    • Error When Editing / Deleting Namespace

    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: Error When Editing / Deleting Namespace

    • Issue Tools
      • View Changes
    1. issueid=1614 May 31, 2010 4:49 AM
      CedricFP CedricFP is offline
      Junior Member
      Error When Editing / Deleting Namespace
      Error When Editing / Deleting Namespace

      Editing namespace:
      When trying to edit the forum of a namespace I get this error:
      Code:
      Warning: Invalid argument supplied for foreach() in [path]/admincp/vaultwiki_namespace.php  on line 1144
      However, the namespace does edit.

      Deleting namespace:
      When trying to delete a namespace I get this error:
      Code:
      Fatal error: Call to a member function fetch_field() on a non-object in /home/REMOVED/public_html/vault/dm/namespace.php on line 863
      Then afterwards the namespace still remains.
    Issue Details
    Issue Number 1614
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Admin Panel
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.0 RC 3
    Fixed Version 3.0.0
    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 31, 2010 11:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed for the next build. In admincp/vaultwiki_namespace.php, find:
      Code:
      $children = $vbulletin->forumcache[$vault->namespacecache[$vbulletin->GPC['namespaceid']]['forumid']]['childlist'];
      Replace with:
      Code:
      $children = explode(',', $vbulletin->forumcache[$vault->namespacecache[$vbulletin->GPC['namespaceid']]['forumid']]['childlist']);
      In vault/dm/namespace.php, find (partial line):
      Code:
      $dataman->fetch_field('forumid'), true
      Replace with:
      Code:
      $this->fetch_field('forumid'), true
      Reply Reply  
    2. June 1, 2010 3:53 AM
      CedricFP CedricFP is offline
      Junior Member
      Thanks for the quick work, Pegasus!
      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 2:44 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.