• 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
    • Cant get past import config

    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: Cant get past import config

    • Issue Tools
      • View Changes
    1. issueid=5105 June 12, 2017 2:07 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Cant get past import config

      On /admin.php?wiki/&panel=impex&do=doconfig

      I cant get past this page. After filling all fields and submitting I get the same page again.
      Why doesn't it validate the attachment path from the vb install?
    Issue Details
    Issue Number 5105
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.18
    Fixed Version 4.0.18
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 13, 2017 10:48 AM
      pegasus pegasus is offline
      VaultWiki Team
      If the form won't submit, one of the fields might be failing validation. I would expect an error message to appear directly above the field that is not validating.

      For the attachment path, it cannot use the path specified in the vB install's own settings, because that is the path relative to the vB file system. If the XF install is on a different server, it is unlikely that the path to the attachments is relevant to the XF server. You must specify an attachment path that exists on your XF server, and the vB attachment files must be located there.
      Reply Reply  
    2. June 13, 2017 1:35 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      This is the only message on the page:

      Setup the information needed to access and process the source data.
      Its quite cryptic.


      All XF importers including the official importers validate the vb attachment path. I have used a dozen importers.
      Reply Reply  
    3. June 13, 2017 2:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      When I fill in the information exactly as it appears in your old vault/core/controller/import/config/vw.php file, I get the following errors, which are displayed on the page:
      Code:
      Could not find the expected data in the specified database.
      This means that the source database does not contain VaultWiki 3 (or the table prefix is wrong).
      Code:
      Could not find the specified source forum type in the database.
      This means that the source database doesn't contain vBulletin (or the table prefix is wrong).

      I have fixed an issue on your site where the form was resetting the inputs when an error occurred.

      XenForo's importer only validates the vB attachment path to the extent that it checks whether a directory by that path/name exists on the local file system. This is the same validation that is performed by VaultWiki's importer.
      Reply Reply  
    4. June 13, 2017 2:35 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I have just opened the vault/core/controller/import/config/vw.php file and used the exact data from that file to log into phpmyadmin and find the vw3 vault tables which are prefixed with exactly the table prefix defined in this config file.

      This database is the same vb3 database that I did all my imports from including the previous vw imports.
      Reply Reply  
    5. June 13, 2017 2:41 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I now see that when I open the importer I can select a previous import. It doesnt show any difference between the previous imports as it only shows the date. Which is the same for all. It doesn't let you choose to delete previous imports.

      This was not the case before. When I choose one, then it goes straight to the import. Which seems to mean that the data is correct?

      I had 3 imports before. When I try to enter the data again, I get the same page without any error. But the 3 previous imports are still listed, without the 4th.
      The data is saved except for the import name.
      Reply Reply  
    6. June 13, 2017 2:47 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed. The table-prefix setting was not working when importing into XenForo.
      Reply Reply  
    7. June 13, 2017 2:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      The old imports have invalid configurations that were created during my tests.

      The way to tell the imports apart is by using unique import names. Am I understanding correctly that the custom import name is not saving and it is saving instead as only "My Import"?

      EDIT: I see that the custom import name was not preserved when an error occurred. It defaulted back to the example "My Import" and was necessary to re-enter it.
      Reply Reply  
    8. June 14, 2017 7:05 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Yes, your understanding is correct. Please advise on how to proceed.
      Reply Reply  
    9. June 14, 2017 9:22 AM
      pegasus pegasus is offline
      VaultWiki Team
      In my tests, the custom import name field was not preserved when an error occurred, and reverted back to the default "My Import" text. In this case, this was the only field (aside from the field that generated the error) that needed to be changed again before trying to save the import again. I fixed this yesterday; it should no longer be necessary to re-enter the custom name if there is an error.

      If the issue persists today, please let me know. However, it should be possible to identify an import started today since it will have a different "Started" date than yesterday's tests. Additionally, if they are bothering you, you can also remove any previous attempts with a query:
      Code:
      DELETE FROM vw_importsession
      WHERE importid > 0
      If you actually truncate the table (resetting the primary key), then you will also need to truncate the scratch table vw_import, as well as the config directory in internal_data/vwimport
      Reply Reply  
    10. June 14, 2017 9:41 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Did you notice the database error in admincp?
      Reply Reply  
    11. June 14, 2017 9:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      I triggered that on purpose to see why it was claiming there was no VW3 in the database. It wasn't using the table prefix at the time. We fixed that issue yesterday.
      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 7:30 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.