• 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
    • Fatal DB error after VW Beta 5 Upgrade

    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: Fatal DB error after VW Beta 5 Upgrade

    • Issue Tools
      • View Changes
    1. issueid=3322 September 9, 2013 2:44 PM
      alpha alpha is offline
      Junior Member
      Fatal DB error after VW Beta 5 Upgrade
      two fatal db errors @ access of site and setup

      When i try to open the site (Setup is not possible pls find below)
      Code:
      Invalid SQL:
      SELECT  IF(`sub`.`userid`, 1, 0)  AS `issubscribed`,`mk`.`readtime`,`gi`.*,`gi`.`userid` AS `group_userid`,`l`.*,`l`.`userid` AS `translate_userid`,`ch`.*,`ch`.`userid` AS `chapter_userid`,`c`.*,`r`.*,`r`.`dateline` AS `edit_dateline`,`r`.`flags` + 0 AS `flags`,`i`.*,`page`.*,`page`.`pageid`,`area`.*,`area`.`pageid` FROM `VB4_vw_area` `area`  LEFT JOIN `VB4_vw_page` `page` ON (`page`.`pageid` = `area`.`pageid`) 
       LEFT JOIN `VB4_vw_route` `i` ON (`page`.`pageid` = `i`.`itemid` AND `i`.`itemtypeid` = 1) 
       LEFT JOIN `VB4_vw_counter` `c` ON (`c`.`pageid` = `page`.`pageid`) 
       LEFT JOIN `VB4_vw_revision` `r` ON (`r`.`revisionid` = `page`.`revisionid`) 
       LEFT JOIN `VB4_vw_chapter` `ch` ON (`page`.`pageid` = `ch`.`pageid`) 
       LEFT JOIN `VB4_vw_langitem` `l` ON (`page`.`pageid` = `l`.`pageid`) 
       LEFT JOIN `VB4_vw_groupitem` `gi` ON (`page`.`pageid` = `gi`.`pageid`) 
       LEFT JOIN `VB4_vw_markread` `mk` ON (`mk`.`itemtypeid` = 1 AND `mk`.`itemid` = `page`.`pageid` AND `mk`.`userid` = 1) 
       LEFT JOIN `VB4_vw_subscribe` `sub` ON (`sub`.`nodetypeid` = 1 AND `sub`.`nodeid` = `page`.`pageid` AND `sub`.`userid` = 1)   WHERE 0 < `area`.`areaid` ORDER BY `area`.`displayorder` ASC, `area`.`areaid` ASC;
      
      MySQL-Fehler  : Unknown column 'gi.userid' in 'field list'
      Fehler-Nr.    : 1054
      Fehler-Zeit   : Monday, 09.09.2013 @ 20:42:25
      Datum         : Monday, 09.09.2013 @ 20:42:28
      Skript        : http://www.xxx.info/system/forum.php
      Referrer      : http://www.xx.info/system/admincp/index.php?do=head
      IP-Adresse    : xxx
      Benutzername  : aLpHa
      Klassenname   : vB_Database
      MySQL-Version : 5.1.66-0+squeeze1
      Setup/upgrade ERROR:
      Code:
      Database error vBulletin 4.2.1:
      
      Invalid SQL:
      SELECT  IF(`sub`.`userid`, 1, 0)  AS `issubscribed`,`mk`.`readtime`,`gi`.*,`gi`.`userid` AS `group_userid`,`l`.*,`l`.`userid` AS `translate_userid`,`ch`.*,`ch`.`userid` AS `chapter_userid`,`c`.*,`r`.*,`r`.`dateline` AS `edit_dateline`,`r`.`flags` + 0 AS `flags`,`i`.*,`page`.*,`page`.`pageid` FROM `VB4_vw_page` `page`  LEFT JOIN `VB4_vw_route` `i` ON (`page`.`pageid` = `i`.`itemid` AND `i`.`itemtypeid` = 1) 
       LEFT JOIN `VB4_vw_counter` `c` ON (`c`.`pageid` = `page`.`pageid`) 
       LEFT JOIN `VB4_vw_revision` `r` ON (`r`.`revisionid` = `page`.`revisionid`) 
       LEFT JOIN `VB4_vw_chapter` `ch` ON (`page`.`pageid` = `ch`.`pageid`) 
       LEFT JOIN `VB4_vw_langitem` `l` ON (`page`.`pageid` = `l`.`pageid`) 
       LEFT JOIN `VB4_vw_groupitem` `gi` ON (`page`.`pageid` = `gi`.`pageid`) 
       LEFT JOIN `VB4_vw_markread` `mk` ON (`mk`.`itemtypeid` = 1 AND `mk`.`itemid` = `page`.`pageid` AND `mk`.`userid` = 1) 
       LEFT JOIN `VB4_vw_subscribe` `sub` ON (`sub`.`nodetypeid` = 1 AND `sub`.`nodeid` = `page`.`pageid` AND `sub`.`userid` = 1)   WHERE `page`.`areaid` = 0;
      
      MySQL-Fehler  : Unknown column 'gi.userid' in 'field list'
      Fehler-Nr.    : 1054
      Fehler-Zeit   : Monday, 09.09.2013 @ 20:38:56
      Datum         : Monday, 09.09.2013 @ 20:38:59
      Skript        : http://www.xxx.info/system/login.php?do=login
      Referrer      : http://www.xxx.info/system/vault/install/index.php
      IP-Adresse    : xxx
      Benutzername  : aLpHa
      Klassenname   : vB_Database
      MySQL-Version : 5.1.66-0+squeeze1
    Issue Details
    Issue Number 3322
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 5
    Fixed Version (none)
    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 (none)




    1. September 9, 2013 3:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      Always disable VaultWiki before uploading new files. You will have to disable VaultWiki before you can access the upgrade script now.
      Reply Reply  
    2. September 9, 2013 3:16 PM
      alpha alpha is offline
      Junior Member
      ok i had never done this before because of no issue ...

      i get the upgrade script running now - but following error in the script:
      Code:
      Warning: in_array() expects parameter 2 to be array, null given in /var/www/virtual/vault/core/controller/start/vb3.php on line 40
      Reply Reply  
    3. September 9, 2013 3:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/cp/vw.php, find:
      Code:
      protected $panel;
      Add after:
      Code:
      protected $postonly = array();
      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 4:00 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.