• 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 upon Namespace creation

    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 upon Namespace creation

    • Issue Tools
      • View Changes
    1. issueid=1754 July 2, 2010 4:08 AM
      Webbstre Webbstre is offline
      Junior Member
      Error upon Namespace creation

      I followed the suggestion of the little alert after the update, and attempted to make book and header namepspaces, and each time I got this error:
      Code:
      Parse error: syntax error, unexpected ')', expecting ']' in /home/rgf2/runicgamesfansite.com/vault/dm/namespace.php  on line 813
    Issue Details
    Issue Number 1754
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Namespaces
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.1
    Fixed Version 3.0.2
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 2, 2010 6:10 AM
      pingelich pingelich is offline
      Junior Member
      Code:
      if (
      				$this->info['spacefunc') == 'ces_header_forumid' AND
      				($this->registry->forumcache[$this->fetch_field('forumid')]['vault_options'] & $GLOBALS['vault']->misc['forumoptions']['forumheader'])
      			)
      Reply Reply  
    2. July 2, 2010 10:09 AM
      pegasus pegasus is offline
      VaultWiki Team
      As this prevents namespaces from saving, this has been fixed in the current ZIP. In vault/dm/namespace.php, find:
      Code:
      $this->info['spacefunc') == 'ces_header_forumid' AND
      Replace with:
      Code:
      $this->info['spacefunc'] == 'ces_header_forumid' AND
      Reply Reply  
    3. July 4, 2010 7:19 AM
      Webbstre Webbstre is offline
      Junior Member
      Those two lines of code appear to be identical?
      Reply Reply  
    4. July 4, 2010 7:31 AM
      pingelich pingelich is offline
      Junior Member
      Nope! There is a small difference.

      $this->info['spacefunc') == 'ces_header_forumid' AND

      $this->info['spacefunc'] == 'ces_header_forumid' AND
      Reply Reply  
    5. July 4, 2010 8:57 AM
      Webbstre Webbstre is offline
      Junior Member
      Ahhhhhhhhhhh! I copied and pasted like 40 times trying to see the difference :P Thanks for the highlight.
      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 11:59 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.