• 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 from Mediawiki - Stop at step 2

    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 from Mediawiki - Stop at step 2

    • Issue Tools
      • View Changes
    1. issueid=1115 February 8, 2010 2:12 PM
      hollosch hollosch is offline
      Senior Member
      Import from Mediawiki - Stop at step 2

      While importing wiki pages the importer stops after importing a few pages and one picture...
      The script ends here - no option for step 3...
      In the Namespaces (Lists) the pages are titled with: "Update"

      P.S.: Namespacemodification seems towork !
    Issue Details
    Issue Number 1115
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Importing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.0 Beta 4
    Fixed Version 3.0.0 Beta 5
    Milestone VaultWiki 3.0.0
    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. February 8, 2010 2:47 PM
      pegasus pegasus is offline
      VaultWiki Team
      This issue note was made as an issue.
      No error occurred? No logs or anything? Just stopped?

      And do you mean that the titles are missing, and it only shows the word "Update"?
      Reply Reply  
    2. February 8, 2010 3:06 PM
      hollosch hollosch is offline
      Senior Member
      just stopped.

      The Title in the list: "Update" + Name of the article
      Reply Reply  
    3. February 9, 2010 12:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      Not sure if this has anything to do with it, but in admincp/vaultwiki_setup.php, find:
      Code:
      			print_cp_redirect(
      				"vaultwiki_setup.php?do=import&package={$vbulletin->GPC['package']}" .
      				"&step={$vbulletin->GPC['step']}&startat={$vbulletin->GPC['startat']}#end",
      				$delay
      			);
      Add after:
      Code:
      			echo "<p><a href=\"vaultwiki_setup.php?" . $vbulletin->session->vars['sessionurl'] . "do=import" . "&package=" . $vbulletin->GPC['package'] . "&step=" . $vbulletin->GPC['step'] . "&startat=" . $vbulletin->GPC['startat'] . "#end\">" . $vbphrase['click_here_to_continue_processing'] . "</a></p>";
      Reply Reply  
    4. February 9, 2010 2:56 PM
      hollosch hollosch is offline
      Senior Member
      Will try it.
      Reply Reply  
    5. February 9, 2010 3:01 PM
      hollosch hollosch is offline
      Senior Member
      Same problem !!!
      Reply Reply  
    6. February 10, 2010 2:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Looking at the code again, I expect that you are receiving a database error in your log file that the "page" table doesn't exist. It's possible that when the error is thrown, the browser isn't actually redirecting the page. If a "Redirecting / Proceed" link appears at the bottom, clicking it would throw this error.

      Until I can come up with a more user-friendly solution, this method will have to do (it will require you to click through the entire import rather than using redirects). In admincp/vaultwiki_setup.php, find:
      Code:
      			print_cp_redirect(
      				"vaultwiki_setup.php?do=import&package={$vbulletin->GPC['package']}" .
      				"&step={$vbulletin->GPC['step']}&startat={$vbulletin->GPC['startat']}#end",
      				$delay
      			);
      Replace with:
      Code:
      print_submit_row('Next page', '');
      Reply Reply  
    7. February 10, 2010 11:56 AM
      hollosch hollosch is offline
      Senior Member
      Hi,
      nothing happened. Script stopps - and no option is available...
      Reply Reply  
    8. February 10, 2010 12:43 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_import_mediawiki.php, find:
      Code:
      		require_once(DIR . '/vault/special_class_image.php');
      		require_once(DIR . '/includes/class_upload.php');
      		require_once(DIR . '/includes/class_image.php');
      Replace with:
      Code:
      		require_once(DIR . '/includes/class_upload.php');
      		require_once(DIR . '/includes/class_image.php');
      		require_once(DIR . '/vault/special_class_image.php');
      I still think this would have thrown an error... The Image file that was already created was not properly imported. You should delete it from the forum before trying again.
      Reply Reply  
    9. February 10, 2010 1:56 PM
      hollosch hollosch is offline
      Senior Member
      Using this:

      After importing "forum counts update" is displayed. After clicking "Next" a database-error is here:

      Code:
      Datenbankfehler in vBulletin 4.0.1:
      
      Invalid SQL:
      
      			SELECT page.page_id AS import_page_id, page.page_namespace AS namespaceid,
      				page.page_title AS title, rev.rev_user AS userid, rev.rev_user_text AS ipaddress,
      				rev.rev_timestamp AS dateline, txt.old_text AS pagetext, txt.old_flags AS flags,
      				thread.import_page_id AS isimported,
      				usr.user_name AS username
      			FROM page AS page
      			LEFT JOIN revision AS rev ON (rev.rev_page = page.page_id)
      			LEFT JOIN text AS txt ON (txt.old_id = rev.rev_text_id)
      			LEFT JOIN vb3_thread AS thread ON (thread.import_page_id = page.page_id)
      			LEFT JOIN user AS usr ON (usr.user_id = rev.rev_user)
      			WHERE page.page_namespace NOT IN (1,3,4,5,7,8,9,11,12,13,15)
      			GROUP BY page.page_id
      			ORDER BY rev.rev_timestamp
      			LIMIT 50,50;
      
      MySQL-Fehler  : Table 'databasename.page' doesn't exist
      Fehler-Nr.    : 1146
      Fehler-Zeit   : Wednesday, 10.02.2010 @ 19:53:06
      Datum         : Wednesday, 10.02.2010 @ 19:53:06
      Skript        : http://wwwmydomain.com/forum/admincp/vaultwiki_setup.php?do=import&package=mediawiki&step=3&startat=50
      Referrer      : http://wwwmydomain.com/forum/admincp/vaultwiki_setup.php?do=import
      IP-Adresse    : xxx.xxx.xxx.xxx
      Benutzername  : admin
      Klassenname   : vB_Database
      MySQL-Version : 5.0.67-1~ui40+2
      Reply Reply  
    10. February 10, 2010 2:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please make sure you press the button "Next Page". Do not click "Click here to continue processing". The script URL referenced by the error you posted is resultant from clicking the link.
      Reply Reply  
    11. February 10, 2010 2:36 PM
      hollosch hollosch is offline
      Senior Member
      OK, i clicked "Next Page". the script ends not, "Next Step" displayed alltime.

      pages and images imported. much problems with german ä ö ü , etc...
      Reply Reply  
    12. February 10, 2010 3:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      If you got the import to complete, the characters issue should be posted in a separate report. When you do this, please answer: What character encoding did your MediaWiki use? vBulletin 4 forces UTF-8, which I had problems with after migrating this site.
      Reply Reply  
    13. February 10, 2010 3:24 PM
      hollosch hollosch is offline
      Senior Member
      I don't know if the import is complete.
      I have to check the pages...

      The importer script don't run "smoothly"... i think
      Reply Reply  
    14. February 11, 2010 1:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      I read on the vbMediaWiki thread that your character encoding is:

      MediaWiki: UTF-8
      vBulletin: ISO-8859-1

      Yes, this would be the cause of your issues. I will see if it's possible to detect these values during the import and let you know. Can you post the article text from a page with this problem so that I can do some test conversions on my test board?
      Reply Reply  
    15. February 15, 2010 2:46 PM
      hollosch hollosch is offline
      Senior Member
      Example:

      http://www.wollmilchsau.org/forum/sh...:Neumitglieder
      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 4:34 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.