• 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
    • Error (Importing from VW 3.0.20 PL1 to VW 4.0.4)

    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: Error (Importing from VW 3.0.20 PL1 to VW 4.0.4)

    • Issue Tools
      • View Changes
    1. issueid=4320 June 5, 2015 7:26 AM
      Kirauni Kirauni is offline
      Junior Member
      Error (Importing from VW 3.0.20 PL1 to VW 4.0.4)
      The importer stops at step 13 (Importing wiki pages) with an SQL-Error (MAX_JOIN_SIZE)

      Hello,

      I've finally found some time to upgrade my VaultWiki 3.0.20 PL1 to VaultWiki 4.0.4. I've followed all the steps mentioned in the blog. Thank you very much for this great guide! However, I finally ran out of luck...
      When I clicked on "Import/Export" and picked "Vault Wiki 3" I got an error at step 13 ("Importing wiki pages").

      This is the SQL-Error message I got:
      Code:
      [...]
      Invalid SQL:
      SELECT `t`.`threadid` AS `threadid`,`t`.`title` AS `title`,`t`.`forumid` AS `forumid`,`t`.`visible` AS `visible`,`t`.`dateline` AS `dateline`,`p`.`postid` AS `postid`,`p`.`pagetext` AS `post_pagetext`,`p`.`userid` AS `userid`,`p`.`username` AS `username`,`p`.`attach` AS `attach`,`p`.`ipaddress` AS `ipaddress`,`p2`.`options` AS `protect`,`t`.`prefixid` AS `prefixid`,`a`.`groupid` AS `groupid`,`a`.`languageid` AS `languageid` FROM `vb_thread` `t`  LEFT JOIN `vb_vault_article` `a` ON (`t`.`threadid` = `a`.`threadid`) 
       LEFT JOIN `vb_post` `p` ON (`t`.`threadid` = `p`.`threadid` AND `p`.`parentid` = 0) 
       LEFT JOIN `vb_vault_protect` `p2` ON (`t`.`threadid` = `p2`.`targetid`)   WHERE  `t`.`forumid` IN (818,819,820,822,823,827)  ORDER BY `t`.`threadid` ASC  LIMIT 0,100;
      
      MySQL-Fehler  : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
      Fehler-Nr.    : 1104
      Fehler-Zeit   : Friday, 05.06.2015 @ 13:01:27
      Datum         : Friday, 05.06.2015 @ 13:01:27
      Skript        : xxx/backup/admin_cp/wiki_cp.php?panel=impex&do=import&step=13&nostyle=1
      Referrer      : xxx/backup/admin_cp/wiki_cp.php?panel=impex&do=import&step=12&nostyle=1
      IP-Adresse    : xxx
      Benutzername  : xxxxx
      Klassenname   : vB_Database
      MySQL-Version : 5.5.42-37.1-log
      Now that "Max-Join-Size" issue strikes me as oddly familiar... I recall having similiar issue, when I updated from vBulletin 4.2.0 to 4.2.2 about 2 years ago. Back then, the support told me that I should increase the value of the MAX_JOIN_SIZE and so I called my hoster and asked them about it. They told me that the value already is around 200 millions, so that wasn't causing the problems. The support over at vBulletin couldn't help me either and so I tried to find a work around on my own. I finally found out that my styles were causing the errors. Once I had reduced the number of styles, the upgrade completed successfully.
      But now it has happend again during the import script for VaultWiki and I wonder if there's anything I can do about it. I don't think it is related to the number of styles this time, but I'm afraid that the number of forums and threads is causing this. Could that be the case? I have 3 Wikis in three forums on my board, but they don't have that many threads. And of course there's the images-forum, the categories and the books..., but that's pretty much about it. What I do have are several other forums, threads and posts apart from the wiki, because my site is quite old.

      Could you please help me to find a solution for this issue, because I really want to update my version of VW3, since some users are not able to view the wiki properly. (There's an "infinite loop error" when viewing a wiki page for one user, but it works fine for all the others..). Finally, the time has come to try out something new now and I'd be glad to hear from you, Pegasus.

      Thanks!

      ~Kirauni



      PS: Maybe there's a work around if I added
      Code:
      $vbulletin->db->query_write("
          SET SQL_BIG_SELECTS=1"
      );
      somwhere? But I don't know where to put it. Any ideas?
    Issue Details
    Issue Number 4320
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.4
    Fixed Version 4.0.5
    Milestone (none)
    Software DependencyvBulletin 4.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags database, error, Import, sql, upgrade


    Page 2 of 2 FirstFirst Previous 12


    1. June 13, 2015 2:17 PM
      Kirauni Kirauni is offline
      Junior Member
      Thank you!
      Yes, I'll definately remember to set up everything properly before doing the live import. That's why I'm having so many test/boards. I just want to make sure that everything works out fine in the end. So thanks again for taking care of the editor issue.
      I'll let you know if I encounter any more issues
      Reply Reply
    Page 2 of 2 FirstFirst Previous 12
    + 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 11:39 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.