• 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 3.x Series
    • Bug
    • Import Failure

    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: Import Failure

    • Issue Tools
      • View Changes
    1. issueid=1682 June 13, 2010 3:01 AM
      Webbstre Webbstre is offline
      Junior Member
      Import Failure
      Error message

      You must love my constant error reports by now

      So here is my latest incident with the importer. My image settings were off when I originally imported my image wiki, so the quality had dropped on everything. At the request of one of my members I attempted to clear the old image namespace and forum, and then try a fresh import to fix the image quality. Just after saving settings the importer stalled with this error:

      Code:
      Fatal error: Call to undefined method vB_CES_Vault::verify_setcache() in /home/rgf2/runicgamesfansite.com/vault/import/mediawiki.php  on line 708
      I checked my config file and the import settings, and nothing changed the error, so I'm going to wait for your expertise.
    Issue Details
    Issue Number 1682
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Importing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.0
    Fixed Version 3.0.1
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. June 13, 2010 12:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. In vault/import/mediawiki.php, find and delete:
      Code:
      				global $vault;
      
      				$langid = $vault->verify_setcache($langid);
      This was old code and it doesn't do anything here anymore.
      Reply Reply  
    2. June 13, 2010 6:28 PM
      Webbstre Webbstre is offline
      Junior Member
      Thank you!
      Reply Reply  
    3. June 14, 2010 2:36 AM
      Webbstre Webbstre is offline
      Junior Member
      Ok, I've made the change, ran the importer several times, and each time it imports exactly nothing. My settings still appear to be correct, both in the config file and when running the importer, so I'm not certain what else could be going on.
      Reply Reply  
    4. June 14, 2010 12:43 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/import/mediawiki.php, find:
      Code:
      		$dataman =& datamanager_init('Thread_FirstPost', $this->registry, ERRTYPE_SILENT, 'threadpost');
      Replace with:
      Code:
      		$dataman =& datamanager_init('Thread_FirstPost', $this->registry, ERRTYPE_CP, 'threadpost');
      Provided it's getting as far as trying to import any pages, this should show any error messages. Let me know what you get.
      Reply Reply  
    5. June 14, 2010 6:53 PM
      Webbstre Webbstre is offline
      Junior Member
      It now gives me this message when trying to import:
      You must attach a file with the same filename as this article's title.
      Reply Reply  
    6. June 15, 2010 4:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      Are you only trying to import Image pages, or others too? If you're trying to import others, skip the images for now and see what it tells you.
      Reply Reply  
    7. June 15, 2010 9:07 PM
      Webbstre Webbstre is offline
      Junior Member
      I was only trying to import Images, although once I did try Images and Articles to see if it would help. I'll try without images when I get home from work and update you.
      Reply Reply  
    8. June 16, 2010 10:00 AM
      Webbstre Webbstre is offline
      Junior Member
      For some reason I get the same error no matter what I attempt to import
      Reply Reply  
    9. June 17, 2010 2:15 AM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, perhaps it would help if you could list some pages you know aren't being imported.
      Reply Reply  
    10. June 17, 2010 3:17 AM
      Webbstre Webbstre is offline
      Junior Member
      It is literally everything on my image wiki, which is only images: http://rgwikimedia.runicgamesfansite.com .

      Remember, I successfully imported this once before, on an early version, but the image quality was dropped (we think due to improper settings in vbulletin itself at the time). I deleted all the articles, and the namespace and the former namespace's forum for the images, and then tried to start it anew, assigning the new namespace as the Image namespace and then attempted the re-import.
      Reply Reply  
    11. June 17, 2010 3:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. The problem was that the attachment is created after the article in the importer. This caused both to fail now that error checking is working correctly. I had to allow the importer to bypass this particular error check in order to get images going again. You should now be able to import your images fine.
      Reply Reply  
    12. June 18, 2010 9:15 PM
      Webbstre Webbstre is offline
      Junior Member
      First of all, thank you for the fix.

      Second, the import was successful, and the images appear to have all been imported safely.

      Third, there was a weird side effect of the import. When I imported images in the past it attributed all images to me, but this time around it appears that it is attributing the image's creation to random forum users. I compared with the original wiki to check, but it is definitely not the people who originally uploaded the images either. It's not necessary limiting anything, but it is a weird side effect of the import. I thought you should know.
      Reply Reply  
    13. June 18, 2010 11:45 PM
      pegasus pegasus is offline
      VaultWiki Team
      The importer now tries to attribute any page to the person whose vB username matches the MW username that made the most recent edit (may not have been the original creator).
      Reply Reply  
    14. June 19, 2010 3:14 AM
      Webbstre Webbstre is offline
      Junior Member
      I would say it's not working quite right. For example: http://rgwikimedia.runicgamesfansite...hievements.jpg shows that the only update to this file was by user Omnifas, but the import attributes it to user Hero.

      Also, I am getting a report that images with spaces in the name had some problems. Still checking the extent of it.
      Reply Reply  
    15. June 19, 2010 11:37 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed the wrong user attribution problem, in case you wanted to run the import again. But you should figure out what your last issue was first so I can have a look.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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:51 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.