• 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 4.x Series
    • Bug
    • Recent changes link doesn't work

    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: Recent changes link doesn't work

    • Issue Tools
      • View Changes
    1. issueid=4295 May 12, 2015 10:48 AM
      beernuts beernuts is offline
      Junior Member
      Recent changes link doesn't work

      When clicking on the "Recent Changes" link in the navbar, it directs users to /special:recentchanges but that page simply shows an error and a missing phrase:

      Could not find phrase 'vw_invalid_item'.
    Issue Details
    Issue Number 4295
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category URLs / Routing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.2
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 12, 2015 11:09 AM
      pegasus pegasus is offline
      VaultWiki Team
      Have you tried to rebuild URLs yet?

      Admin Panel > Integrity > Counters > Rebuild Page URLs
      Reply Reply
    2. May 12, 2015 11:19 AM
      beernuts beernuts is offline
      Junior Member
      yes. No effect.
      Reply Reply
    3. May 12, 2015 11:43 AM
      pegasus pegasus is offline
      VaultWiki Team
      Try this edit to wiki_index.php. Find:
      Code:
      $test = vw_Hard_Core::controller('Fetch')->get('Page', $view_ctrl->id);
      Replace with:
      Code:
      $test = vw_Hard_Core::controller('Fetch')->get($view_ctrl->type, $view_ctrl->id);
      Reply Reply
    4. May 12, 2015 11:46 AM
      beernuts beernuts is offline
      Junior Member
      Still not working.
      Reply Reply
    5. May 12, 2015 12:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      The whole segment in wiki_index.php is wrong. To be honest, it looks like it should always be broken, so I'm not sure why it's only affecting some special pages and why there's no issue on this site.

      Anyway, in the original code, find:
      Code:
      		if ($view_ctrl->id AND !$router->title)
      		{
      			$index = vw_Hard_Core::controller('Fetch')->get('Index', 0);
      
      			if ($view_ctrl->id != $index['pageid'])
      			{
      				$test = vw_Hard_Core::controller('Fetch')->get('Page', $view_ctrl->id);
      
      				if (!$test)
      				{
      					vw_Hard_Core::view('UI/Proxy')->standard_error('vw_invalid_item');
      				}
      			}
      		}
      Replace with:
      Code:
      		if ($view_ctrl->id AND !$router->title)
      		{
      			$do_test = true;
      
      			if ($router->type == 'Page')
      			{
      				$index = vw_Hard_Core::controller('Fetch')->get('Index', 0);
      
      				if ($view_ctrl->id == $index['pageid'])
      				{
      					$do_test = false;
      				}
      			}
      
      			if ($do_test)
      			{
      				$test = vw_Hard_Core::controller('Fetch')->get($router->type, $view_ctrl->id);
      
      				if (!$test)
      				{
      					vw_Hard_Core::view('UI/Proxy')->standard_error('vw_invalid_item');
      				}
      			}
      		}
      Reply Reply
    6. May 12, 2015 1:50 PM
      beernuts beernuts is offline
      Junior Member
      Worked. THanks.
      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 5:02 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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.