• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Import in VaultWiki 3.0.0 RC 3

    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.

    Results 1 to 11 of 11

    Thread: Import in VaultWiki 3.0.0 RC 3

    • Thread Tools
      • Show Printable Version
    1. May 25, 2010 #1
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179

      Question Import in VaultWiki 3.0.0 RC 3

      Hello!

      I just upgraded to VaultWiki 3.0.0 RC 3.
      All went smoothly

      We want to do an Import from a MediaWiki installation we have on the same server.
      I went to Admin CP >> Vault Wiki >> Initial Wiki Setup

      The "Import Wiki Data" menu is present, yet it doesn't provide the input boxes for the import's directory and information.

      Am I missing something?

      Here is a screenshot of what I'm looking at:
      vaultWikims.jpg

      When I clicked on "Import", it threw this message:
      Code:
      Warning: require_once([path]/vault/import/config/mediawiki.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/vaultwiki_setup.php  on line 419
      
      Fatal error: require_once() [function.require]: Failed opening required '/home1/comoesta/public_html/forums/vault/import/config/mediawiki.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/comoesta/public_html/forums/admincp/vaultwiki_setup.php on line 419
      Thanks for the help!
      Very happy to see VaultWiki continuing their excellent development

      -- AJ
      .
      Reply With Quote Reply With Quote

    2. May 25, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      There are no input boxes for that anymore. Instead, you need to fill this in by editing and renaming the /vault/import/config/mediawiki.php.new file.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. May 25, 2010 #3
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      Quote Originally Posted by pegasus View Post
      There are no input boxes for that anymore. Instead, you need to fill this in by editing and renaming the /vault/import/config/mediawiki.php.new file.
      SUPER!
      On my way to try it out!
      Reply With Quote Reply With Quote

    4. May 25, 2010 #4
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      Ok, I edited the file.
      Code:
      $vault->config['user']			= 'USERname';
      $vault->config['password']		= 'PASSWORDchanged';
      $vault->config['database']		= 'MediaWikiDB';
      
      # If the old wiki is not stored in the forum database, set this to true
      $vault->config['usesource'] = true;
      The file renaming should go like:
      mediawiki.php.new --> mediawiki.php


      Now the import script of VaultWiki proceeds.
      QUESTION - The script asks:
      Code:
      Importing MediaWiki Data
      You are about to import a MediaWiki database into VaultWiki. Before continuing, make sure the settings in /vault/config_mediawiki_import.php are correct. Then, review the options below.
      I did not find a /vault/config_mediawiki_import.php file.
      Is this refering to the settings at mediawiki.php (old mediawiki.php.new)??

      I assumed this was it, and clicked "Next (1/5)".
      The screen said:
      Could not find MediaWiki in your database.
      Your thoughts/suggestions?
      Thank you very much for your help!!



      Found this page as reference
      http://www.vaultwiki.org/manual/VaultWiki-Importer
      Reply With Quote Reply With Quote

    5. May 25, 2010 #5
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      You edited the correct file. If you are getting the "Could not find MediaWiki in your database", the only suggestion I have is to double check the database settings in that file. If your server requires additional authentication or settings not specified in the file, then you'll need to create a support ticket. If MediaWiki is in the same database as your forum, set the 'usesource' config to false.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    6. May 26, 2010 #6
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      Quote Originally Posted by pegasus View Post
      You edited the correct file. If you are getting the "Could not find MediaWiki in your database", the only suggestion I have is to double check the database settings in that file. If your server requires additional authentication or settings not specified in the file, then you'll need to create a support ticket. If MediaWiki is in the same database as your forum, set the 'usesource' config to false.
      Hello pegasus, thanks for the help

      Another quick question, maybe a shot in the dark on my part:
      The MediaWiki installation that I want to import, is in another folder of the same server.
      Some like:
      root/public_html/wikiDBASE
      and the forum is:
      root/public_html/forums

      The MediaWiki installation, is also running on its own database (not shared with vB).

      Any thoughts on what can be tried?
      If not, I'll open a support ticket... just trying to fix it over here without incurring too much and your time.

      Thanks a lot for all your help, and just as importantly, your help supporting that excellent work!!

      Have a great day!
      Reply With Quote Reply With Quote

    7. May 26, 2010 #7
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      The internal server path doesn't matter much in the v3 importer.

      Set the remote database info in the config file - the MediaWiki database, not the vB database - and make sure usesource is true for this case. If it's in a non-MySQL database, then it will not be possible to import at this time, unless there is a tool available on the web to convert your MediaWiki database to MySQL.

      If it's still not working and the MW database is on a different server (or just a different IP) than your vB database, it's possible that you will have to add your vB server's IP to the whitelist for database connections (since localhost would no longer be sufficient). I remember I had an issue with this with my host in the past.

      Also make sure that the URL to the images folder is set, and if you had any custom namespaces, add their info as well.

      If it's giving the MediaWiki not found error, then there's most likely something wrong with the database info. Your MediaWiki installation's LocalSettings.php file might come in handy to double-check.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    8. May 30, 2010 #8
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      Quote Originally Posted by pegasus View Post
      Also make sure that the URL to the images folder is set, and if you had any custom namespaces, add their info as well.
      I think that was it!!
      I changed the line from:
      $vault->config['tableprefix'] = 'mw_';
      to
      $vault->config['tableprefix'] = 'mwpt_';

      And the script is running right now!

      Will update in a few minutes...
      Last edited by creativeLiquid; May 30, 2010 at 10:15 PM.
      Reply With Quote Reply With Quote

    9. May 30, 2010 #9
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      Yeah!!
      The import works!!!

      Now I'm going to play with it, as I think I imported stuff where it shouldn't have gone.
      I have a total mess at the moment.

      The wiki wasn't that big, so maybe I can start it over.
      Here is what I have at the moment:
      http://www.comoestaeso.com/forums/showwiki.php

      I know you already know this, yet the fusion between vBulletin and MediaWiki is a SUPERB idea!
      Your software will continue to expand in use... it is a perfect way of collecting the community knowledge.
      Reply With Quote Reply With Quote

    10. June 1, 2010 #10
      creativeLiquid
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      creativeLiquid is offline
      Junior Member
      Join Date
      August 23, 2009
      Posts
      31
      Rep Power
      179
      I would like to start over with the import, and remove everything that has been imported at the moment.

      Can I delete sub-forums used for the wiki, and start over?
      Or is there a proper way to go about it?

      Don't want to mess up anything.
      The VaultWiki integration between vB and MediaWiki itself is running just fine.
      Reply With Quote Reply With Quote

    11. June 1, 2010 #11
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Yes, you can go ahead and delete the sub-forums used for the wiki, as I'm pretty sure vBulletin will also delete any threads that were in the forums. This should allow you to start over without losing your wiki permissions and other settings. You will still have to re-select forums for some namespaces if you delete their forums - not sure, but you may get a persistent error if you delete the default forum and don't set it to anything else.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. How to import synonyms from VW3 to VW4?
      By Alfa1 in forum VaultWiki Questions
      Replies: 3
      Last Post: October 7, 2013, 10:33 AM
    2. Test Import
      By pegasus in forum VaultWiki Questions
      Replies: 1
      Last Post: April 9, 2012, 2:53 AM
    3. What to do after MW import
      By hollosch in forum VaultWiki Questions
      Replies: 1
      Last Post: March 10, 2010, 12:34 PM
    4. Import from Nuwiki
      By Storyteller in forum VaultWiki Questions
      Replies: 1
      Last Post: November 17, 2008, 5:21 PM
    5. Import Troubles
      By Kaelon in forum VaultWiki Questions
      Replies: 38
      Last Post: October 12, 2008, 6:30 PM

    Tags for this Thread

    admin, admincp, also, any, anymore, available, been, before, between, check, community, could, data, development, did, different, directory, does, don, editing, few, for, from, get, gone, have, hello, help, import, initial, input, installation, into, know, knowledge, longer, looking, mediawiki, menu, missing, most, now, other, pre, public, put, quick, renaming, right, same, screen, see, server, shot, should, some, something, specified, stuff, sure, that, the, their, vault, vaultwiki, was, wasn, way, were, what, wiki, without, would

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:44 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.