• 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
    • MediaWiki Import: Undefined Index (Upgrade from Lite Corrupts Wiki Tables)

    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: MediaWiki Import: Undefined Index (Upgrade from Lite Corrupts Wiki Tables)

    • Issue Tools
      • View Changes
    1. issueid=4043 October 27, 2014 3:28 PM
      owls8521 owls8521 is offline
      New Member
      MediaWiki Import: Undefined Index (Upgrade from Lite Corrupts Wiki Tables)

      Code:
      vw_importing_main_page
      Undefined index:
      vw_CP_Progress_View->handle_php_error() in vault/core/controller/fetch/vw.php at line 491
      vw_Fetch_Controller->set_itemcache() in vault/core/controller/fetch/prefix/vw.php at line 38
      vw_Fetch_Prefix_Controller->query() in vault/core/controller/fetch/vw.php at line 326
      vw_Fetch_Controller->query() in vault/core/controller/fetch/vw.php at line 157
      vw_Fetch_Controller->get() in vault/core/model/url/vw.php at line 244
      vw_URL_Model->affix_prefix() in vault/core/model/url/vw.php at line 411
      vw_URL_Model->create_from_title() in vault/core/controller/dm/base/routable/vw.php at line 265
      vw_DM_Base_Routable_Controller->get_path() in vault/core/controller/dm/redirect/vw.php at line 140
      vw_DM_Redirect_Controller->pre_save() in library/vw/XenForo/DataWriter.php at line 426
      vw_XenForo_DataWriter->_preSave() in library/XenForo/DataWriter.php at line 1446
      XenForo_DataWriter->preSave() in library/XenForo/DataWriter.php at line 1385
      XenForo_DataWriter->save() in vault/core/controller/dm/xf.php at line 378
      vw_DM_Controller_XF->save() in vault/core/controller/import/handle/mw/index/vw.php at line 255
      vw_Import_Handle_MW_Index_Controller->do_index() in vault/core/controller/import/steps/mw/vw.php at line 65
      {closure}() in vault/core/controller/progress/vw.php at line 100
      vw_Progress_Controller->call() in vault/core/controller/cp/impex/vw.php at line 114
      vw_CP_ImpEx_Controller->import() in vault/core/controller/cp/impex/vw.php at line 33
      vw_CP_ImpEx_Controller->execute() in library/vw/XenForo/ControllerAdmin/Wiki.php at line 115
      vw_XenForo_ControllerAdmin_Wiki->actionIndex() in library/XenForo/FrontController.php at line 347
      XenForo_FrontController->dispatch() in library/XenForo/FrontController.php at line 134
      XenForo_FrontController->run() in admin.php at line 13
    Issue Details
    Issue Number 4043
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 RC 4
    Fixed Version 4.0.0 RC 4
    Milestone VaultWiki 4.0 Gold
    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 27, 2014 4:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      Have you visited your wiki at all yet? If you visit it first, then try again, does the issue persist?
      Reply Reply  
    2. October 27, 2014 5:46 PM
      owls8521 owls8521 is offline
      New Member
      Yes it still happens even after visiting the wiki.
      Reply Reply  
    3. October 27, 2014 10:06 PM
      pegasus pegasus is offline
      VaultWiki Team
      By any chance are you still using the vault/config.php from the Lite version? If you still have VW_IS_LITE defined as true, set it to false. You are probably missing some entries from your vw_nodetype table.

      If they are missing, you need to add the following entries for the field 'accesskey':
      Code:
      Prefix
      Book
      Category
      Group
      Attach
      Redirect
      Special
      Topic
      AttachEdit
      Chapter
      CategoryItem
      Template
      Island
      Thread
      Poll
      Particularly if these entries are not missing, please submit a Ticket Support service via the Members area, as we will need to take a closer look at your environment to determine why the 'Prefix' entry is not stored in memory (the 'Undefined index').
      Reply Reply  
    4. October 28, 2014 2:25 AM
      owls8521 owls8521 is offline
      New Member
      I accidentally had VW_IS_LITE still defined when I first updated from light to regular, but then I undefined it and did the upgrade again. Maybe that caused some issues?

      I'll just uninstall and do a clean install tomorrow and see if that fixes it.

      And yes, some of those entries are missing from the table.
      Reply Reply  
    5. October 28, 2014 11:20 AM
      pegasus pegasus is offline
      VaultWiki Team
      After looking into this a bit more, I see that we designed it so that VW_IS_LITE should not have a negative effect on the upgrade process, but it seems that it did in your case.

      Since you have this unique situation, it would be great if you can submit a ticket so that we can investigation your installation and determine what exactly went wrong. To submit a ticket, please use this link: https://www.vaultwiki.org/members/?d...e&productid=20
      Reply Reply  
    6. October 28, 2014 11:46 AM
      owls8521 owls8521 is offline
      New Member
      I submitted the ticket. Also, I forgot to mention that when the wiki is enabled, and a user who is not signed in visits it, they get a memory error. My php memory is set to 128 MB. I currently have the wiki disabled to avoid this error.
      Reply Reply  
    7. October 28, 2014 12:18 PM
      pegasus pegasus is offline
      VaultWiki Team
      If you disable VW_CACHE_ON in your vault/config.php file, does the original issue persist? I have also sent you a PM.
      Reply Reply  
    8. October 28, 2014 2:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, I found the problem. A step was added to the Lite upgrade in the wrong position at some point (I think it was RC 2). The position of this step changed the offset of the update-the-addon-version step, which is supposed to be the last step to run. However, it looks like it was running before nearly every important step in the upgrade process, which caused the following steps to be skipped (it's already on the next version number, so why run the steps for the last version).

      If your wiki is still empty, the simplest remedy for this would be simply to uninstall and reinstall. Please let me know if you have any problems doing this. I can't be sure if all the missing data will have an effect on the uninstall process.

      Since it was a problem with the upgrade script, I am marking this issue as fixed and committing the fixed upgrade script to the Members area now so no one else runs into this issue.
      Reply Reply  
    9. October 28, 2014 2:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Just posted a note to all our feeds about this issue so that affected users can have their installations patched.
      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 4:37 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.