• 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
    • Empty Article

    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: Empty Article

    • Issue Tools
      • View Changes
    1. issueid=746 August 1, 2009 3:05 AM
      Elenna Elenna is offline
      Junior Member
      Empty Article

      I have two namespaces, with one set as default.

      I upgraded from 2.3.1 to 2.5.0, and my two articles in the non-default namespace are empty, and seem to be trying to point to the default namespace.

      The article title appears in the correct forum/namespace, but clicking on it displays the header from the default namespace, although the URL shows the non-default namespace.

      My forum navigation "breadcrumb" displays the correct (non-default) forum name.


      Creating the article in the default namespace will work, but moving it to the correct forum displays a blank article again (no errors during the move).
    Issue Details
    Issue Number 746
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Editing / Posting Articles
    Status Duplicate
    Priority 3 - Loss of Functionality
    Affected Version 2.5.0
    Fixed Version 2.5.1
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 3
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. August 1, 2009 2:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      This sounds familiar, so I believe this has been reported before. If you downloaded the new patch on Monday or Tuesday, I would first try downloading it again and just replacing all the files.
      Reply Reply  
    2. August 1, 2009 5:23 PM
      Elenna Elenna is offline
      Junior Member
      Thanks, Pegasus. I forget when I downloaded it, but I will do that and let you know.
      Reply Reply  
    3. August 1, 2009 5:45 PM
      Elenna Elenna is offline
      Junior Member
      I replaced the files with ones downloaded today, and this is still happening.

      I deleted the non-default namespace and recreated it, with no luck. I did use the old namespace names, but I'm not sure if that would make a difference?
      Reply Reply  
    4. August 1, 2009 6:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      What do your URLs look like? It would be good if I could view your forum and be able to see both namespaces to compare myself. If you have changed your URLs back to using + for spaces, try AdminCP -> CES VaultWiki -> Wiki URL Manager -> Rebuild Page URLs.
      Reply Reply  
    5. August 1, 2009 6:15 PM
      Elenna Elenna is offline
      Junior Member
      Here is an example of the a URL from the default namespace:
      http://www.graceofthevalar.com//show...+of+Khazad-dum

      Here is a URL from the non-default namespace:
      http://www.graceofthevalar.com//show...inship+Charter

      Although the header in the non-default shows:
      Official Strategies Strategies Approved & Published by the Raid Committee
      Header for Official Strategies



      And the Article Title shows:
      Charter and Policies:Kinship Charter
      Reply Reply  
    6. August 1, 2009 6:18 PM
      Elenna Elenna is offline
      Junior Member
      If I delete the non-default namespace, it converts the existing forum into an Island, which displays the threads correctly, with the correct URL and Header.

      The Island URL is:
      http://www.graceofthevalar.com//show...itle=Island:18

      The Article title is:
      Island:Kinship Charter
      Reply Reply  
    7. August 1, 2009 8:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      This happens for namespaces with & or + in the title when URLs use + for spaces.

      In vault/special_class_wiki.php, find:
      Code:
      				default:
      					break;
      Replace with:
      Code:
      				default:
      					$badchars['+'] = '+';
      					break;
      Reply Reply  
    8. August 1, 2009 9:06 PM
      Elenna Elenna is offline
      Junior Member
      I applied that fix, but it didn't seem to help.

      My forum name (and old namespace name) had a & in it. Should I change the above fix to include a & ?

      I did recreate the namespace to say "Charter and Policies" (instead of Charter & Policies), but my forum name still contains that &.
      Reply Reply  
    9. August 2, 2009 1:34 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_plugins.php, find:
      Code:
      		if (
      			in_array($titlebits[0], $vault->namespaces_lower) AND
      			$titlebits[0] != $titlecache
      		)
      		{
      			$forumcache = $titlebits[0];
      			$titlecache = $titlebits[1];
      
      			$new_hook_namespace = array_search($forumcache, $vault->namespaces_lower);
      Replace with:
      Code:
      		if ($vbulletin->options['vault_spaces'] == 0)
      		{
      			$space = str_replace(' ', '+', $titlebits[0]);
      		}
      		else
      		{
      			$space = $titlebits[0];
      		}
      
      		if (
      			in_array($space, $vault->namespaces_lower) AND
      			$titlebits[0] != $titlecache
      		)
      		{
      			$titlecache = $titlebits[1];
      
      			$new_hook_namespace = array_search($space, $vault->namespaces_lower);
      			$forumcache = $titlebits[0];
      In vault/special_class_wiki.php, find:
      Code:
      			$special_title = $this->namespaces_lower[SPECIAL_SPACE];
      
      			if (strtolower($uri_parts[0]) == $special_title)
      			{
      Replace with:
      Code:
      			$special_title = $this->namespaces_lower[SPECIAL_SPACE];
      
      			if ($vbulletin->options['vault_spaces'] == 0)
      			{
      				$uri_parts[0] = str_replace(' ', '+', $uri_parts[0]);
      			}
      
      			if (strtolower($uri_parts[0]) == $special_title)
      			{
      				if ($vbulletin->options['vault_spaces'] == 0)
      				{
      					$uri_parts[1] = str_replace(' ', '+', $uri_parts[1]);
      				}
      Reply Reply  
    10. August 2, 2009 2:03 AM
      Elenna Elenna is offline
      Junior Member
      Thank you, that fixed it!
      Reply Reply  
    11. August 2, 2009 10:04 PM
      Elenna Elenna is offline
      Junior Member
      I'm not sure if it is related or not, but the articles are not ediable, even with correct permissions. They display both the delete and undelete tabs?
      Reply Reply  
    12. August 2, 2009 10:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      This means that someone has deleted these particular articles. You will need to use the undelete tab.
      Reply Reply  
    13. August 3, 2009 8:18 AM
      Elenna Elenna is offline
      Junior Member
      Oops, I should clarify that what I use the Undelete tab, it tries to restore it to the default namespace, and not the current (non-default) one.
      Reply Reply  
    14. August 3, 2009 1:39 PM
      pegasus pegasus is offline
      VaultWiki Team
      It seems to me that the undelete tab does absolutely nothing - it submits to a form processor that doesn't exist. In template vault_inlinemod_undelete, find (x2):
      Code:
      undeletethreads
      Replace with:
      Code:
      undeletethread
      Reply Reply  
    15. August 3, 2009 5:00 PM
      Elenna Elenna is offline
      Junior Member
      I receive an "Invalid Action Specified".

      My new URL is:
      http://www.graceofthevalar.com/inlin...threadids=3870

      Also, when viewing the Undelete tab, it tells me that it will Restore it to a different namespace than where it currently is.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 4:56 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.