• 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
    • Database Error

    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: Database Error

    • Issue Tools
      • View Changes
    1. issueid=2994 April 2, 2013 7:36 PM
      Replicators Replicators is offline
      Junior Member
      Database Error
      Get database error!

      #1
      Code:
      Database error in vBulletin 4.2.0:
      
      Invalid SQL:
      SELECT * FROM `vb_vw_integrate` WHERE nodetypeid = Array AND  `nodeid` IN (3,1,5,10,18,23,27)  AND adminset = 1;
      
      MySQL Error   : Unknown column 'Array' in 'where clause'
      Error Number  : 1054
      Request Date  : Tuesday, April 2nd 2013 @ 07:55:27 PM
      Error Date    : Tuesday, April 2nd 2013 @ 07:55:28 PM
      Script        : http://www.******.com/forum.php
      Referrer      : http://www.******.com/admincp/index.php?do=head
      IP Address    : **.***.***.***
      Username      : ******
      Classname     : vB_Database
      MySQL Version : 5.0.96-community-cll-lve
      
      Stack Trace:
      
      #0 vB_Database->halt() called in [path]/includes/class_core.php on line 426
      #1 vB_Database->execute_query() called in [path]/includes/class_core.php on line 459
      #2 vB_Database->query_read() called in [path]/vault/core/controller/db/vb3.php on line 187
      #3 vw_DB_Controller_vB3->query_read() called in [path]/vault/core/model/db/mysql/vw.php on line 29
      #4 vw_DB_MySQL_Model->select() called in [path]/vault/core/model/plugins/forum/vw.php on line 45
      #5 vw_Plugins_Forum_Model->cache_ordered_forums() called in [path]/vault/core/model/plugins/forum/vb3.php on line 55
      #6 vw_Plugins_Forum_Model_vB3->forumbit_display() called in [path]/includes/functions_forumlist.php(466) : eval()'d code on line 9
      #7 eval() called in [path]/includes/functions_forumlist.php on line 466
      #8 construct_forum_bit() called in [path]/includes/functions_forumlist.php on line 230
      #9 construct_forum_bit() called in [path]/forum.php on line 607
      #2 And when i got anywhere else besides the forum page i get:

      Code:
      Warning: require(VW_DEFAULT_SCRIPT) [function.require]: failed to open stream: No such file or directory in [path]/wiki_index.php on line 102
      
      Warning: require(VW_DEFAULT_SCRIPT) [function.require]: failed to open stream: No such file or directory in [path]/wiki_index.php on line 102
      
      Fatal error: require() [function.require]: Failed opening required 'VW_DEFAULT_SCRIPT' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/******/php') in /home/******/public_html/wiki_index.php on line 102
      #3
      EDIT: Well i got impatient abd decided to uninstall the vaultwiki product and then run the install script again and getting a database error in the process.

      Code:
      INSERT  IGNORE  INTO `vb_vw_nodetype` (`accesskey`, `isPage`, `isItem`, `isContent`, `isNode`, `isAllowed`, `isAssign`, `forumContent`, `idfield`, `table`, `childkey`)  VALUES ('Page',1,0,1,0,1,0,1,'pageid','page',''),
      	('Prefix',0,0,0,0,0,0,0,'prefixid','prefix',''),
      	('Language',0,0,0,0,0,1,0,'languageid','language',''),
      	('Area',1,0,0,1,0,0,0,'areaid','area',''),
      	('Index',1,0,0,0,0,0,0,'','',''),
      	('Book',1,0,1,1,1,1,0,'bookid','book','Chapter'),
      	('Category',1,0,1,1,1,1,0,'categoryid','category','CategoryItem'),
      	('Group',1,0,0,1,0,1,1,'groupid','group','GroupItem'),
      	('Attach',1,0,1,0,1,0,0,'attachmentid','attachment',''),
      	('Redirect',0,0,1,0,1,0,0,'redirectid','redirect',''),
      	('Special',0,0,0,0,0,0,0,'specialid','special',''),
      	('Topic',0,0,0,0,0,0,0,'topicid','topic',''),
      	('Discussion',0,0,0,0,0,0,0,'discussionid','discussion',''),
      	('Comment',0,0,0,0,0,0,0,'commentid','comment',''),
      	('Revision',0,0,0,0,0,0,0,'revisionid','revision',''),
      	('AttachEdit',0,0,0,0,0,0,0,'attacheditid','attachmentedit',''),
      	('Chapter',0,1,0,0,1,0,1,'chapterid','chapter',''),
      	('CategoryItem',0,1,0,0,0,0,0,'categoryitemid','categoryitem',''),
      	('GroupItem',0,1,0,0,1,0,0,'groupitemid','groupitem',''),
      	('Template',1,0,0,0,1,0,0,'templateid','template',''),
      	('Island',1,0,0,0,1,0,0,'islandid','island',''),
      	('Forum',0,0,0,0,0,0,1,'','',''),
      	('Thread',0,0,0,0,0,0,1,'','',''),
      	('User',0,0,0,0,0,0,1,'','',''),
      	('Poll',0,0,0,0,0,0,0,'pollid','poll','');
      
      MySQL Error   : Unknown column 'isPage' in 'field list'
      Error Number  : 1054
      Request Date  : Tuesday, April 2nd 2013 @ 08:08:33 PM
      Error Date    : Tuesday, April 2nd 2013 @ 08:08:35 PM
      Script        : http://www.******.com/vault/install/index.php?step=3&nostyle=1
      Referrer      : http://www.******.com/vault/install/index.php?step=2&nostyle=1
      IP Address    : **.***.***.***
      Username      : ******
      Classname     : vB_Database
      MySQL Version : 5.0.96-community-cll-lve
      
      Stack Trace:
      
      #0 vB_Database->halt() called in [path]/includes/class_core.php on line 426
      #1 vB_Database->execute_query() called in [path]/includes/class_core.php on line 444
      #2 vB_Database->query_write() called in [path]/vault/core/controller/db/vb3.php on line 182
      #3 vw_DB_Controller_vB3->query_write() called in [path]/vault/core/model/db/mysql/vw.php on line 791
      #4 vw_DB_MySQL_Model->shutdown_or_run() called in [path]/vault/core/model/db/mysql/vw.php on line 661
      #5 vw_DB_MySQL_Model->insert() called in [path]/vault/core/controller/install/db/insert/vw.php on line 82
      #6 vw_Install_DB_Insert_Controller->execute() called in [path]/vault/core/controller/install/full/steps/vb3.php on line 31
      #7 {closure}() called in [path]/vault/core/controller/progress/vw.php on line 80
      #8 vw_Progress_Controller->call() called in [path]/vault/core/controller/cp/progress/vw.php on line 39
      #9 vw_CP_Progress_Controller->process() called in [path]/vault/core/controller/cp/install/vw.php on line 136
      #10 vw_CP_Install_Controller->install() called in [path]/vault/core/controller/cp/install/vw.php on line 74
      #11 vw_CP_Install_Controller->execute() called in [path]/vault/cp/global.php on line 70
      #12 require_once([path]/vault/cp/global.php) called in [path]/vault/install/index.php on line 37
    Issue Details
    Issue Number 2994
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 3
    Fixed Version 4.0.0 Alpha 3
    Milestone VaultWiki 4 Alpha X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 3, 2013 10:35 AM
      pegasus pegasus is offline
      VaultWiki Team
      #2 As is mentioned in the release announcement for Alpha 3, if you used the other alphas before, you need to make an edit to vault/config.php. See: https://www.vaultwiki.org/articles/122/

      #3 It seems one of the database changes in Alpha 3 made it impossible to perform a fresh installation. This is now fixed in the current build.

      #1 I am still trying to reproduce this one, but in the mean time you can stop it by disabling the plugin that's causing it via vBulletin's Plugin Manager. It's the plugin at hook 'forumbit_display'
      Reply Reply  
    2. April 3, 2013 12:00 PM
      pegasus pegasus is offline
      VaultWiki Team
      #1 occurs when upgrading from Alpha 2 to Alpha 3, when a cache entry for vw_nodetypes is already generated in Alpha 2. The cache values are different formats in each version, and using the Alpha 2 format in Alpha 3 results in database errors.

      The upgrade process contains a step that replaces the cache entry without issue in numerous tests. Are you using any additional caching methods such as a mod called vBOptimise, or Memcached?
      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:33 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 © 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.