• 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
    • Undefined variable: fdirectory - vault/core/controller/route/vw.php

    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: Undefined variable: fdirectory - vault/core/controller/route/vw.php

    • Issue Tools
      • View Changes
    1. issueid=5502 October 11, 2018 6:43 AM
      ACL ACL is offline
      Regular Member
      Undefined variable: fdirectory - vault/core/controller/route/vw.php

      Undefined variable: fdirectory - vault/core/controller/route/vw.php:430

      Occurring with VW 4.0.24 build 002.

      Stack trace:
      Code:
      #0 /path/to/public_html/vault/core/controller/route/vw.php(430): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/path/to/public_...', 430, Array)
      #1 /path/to/public_html/vault/core/controller/route/xf.php(91): vw_Route_Controller->resolve_path(Array, 1, true)
      #2 /path/to/public_html/library/vw/XenForo/Route/Prefix/vw.php(138): vw_Route_Controller_XF->resolve_path(Array, 1)
      #3 /path/to/public_html/library/XenForo/Router.php(72): vw_XenForo_Route_Prefix_vw->match('0/05/Dmxmodule', Object(Zend_Controller_Request_Http), Object(XenForo_Router))
      #4 /path/to/public_html/library/XenForo/Dependencies/Abstract.php(107): XenForo_Router->match(Object(Zend_Controller_Request_Http), '0/05/Dmxmodule')
      #5 /path/to/public_html/library/XenForo/FrontController.php(307): XenForo_Dependencies_Abstract->route(Object(Zend_Controller_Request_Http), NULL)
      #6 /path/to/public_html/library/Jrahmy/DeferJs/Listener.php(37): XenForo_FrontController->route()
      #7 /path/to/public_html/library/XenForo/CodeEvent.php(90): Jrahmy\DeferJs\Listener::frontControllerPostView(Object(XenForo_FrontController), '<!DOCTYPE html>...')
      #8 /path/to/public_html/library/XenForo/FrontController.php(201): XenForo_CodeEvent::fire('front_controlle...', Array)
      #9 /path/to/public_html/index.php(13): XenForo_FrontController->run()
      #10 {main}
      I'm not sure how this error was triggered as I can load the 'Dmxmodule' attachment just fine. And when I do, no undefined variable error is logged.
    Issue Details
    Issue Number 5502
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.24
    Fixed Version 4.0.25
    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. October 11, 2018 9:18 AM
      pegasus pegasus is offline
      VaultWiki Team
      From what I understand, this should only be possible in one of two ways:
      - Your wiki has a custom URL for one of its pages that sets the page URL to your site's root URL. This is not possible using the tools available in the interface, so it would have to have been given that URL using plugins.
      - The incoming URL from the browser's address bar included a double // in the wiki path part of the URL. This was probably a typo when the user typed the URL.

      In vault/core/controller/route/vw.php, find:
      Code:
      $edirectory = '';
      After it, add:
      Code:
      $fdirectory = '';
      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 1:58 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 © 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.