• 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
    • DB Error during install

    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: DB Error during install

    • Issue Tools
      • View Changes
    1. issueid=2984 March 24, 2013 12:54 AM
      Replicators Replicators is offline
      Junior Member
      DB Error during install
      Got a db error during installation.

      I did have version 3 installed, however i did uninstall it by uninstalling the product and then deleting those files, and upload the v4 stuff. I did the config.php thing correctly, but i get a db error when running the install script. It get's down to

      Step 3
      Adding data to table: bbcode
      Adding data to table: vw_nodetype
      Adding data to table: product
      Adding data to table: productcode
      Adding data to table: productdependency
      Adding data to table: package
      Adding data to table: contenttype
      Then gives a db error with

      Code:
      Database error in vBulletin 4.2.0:
      
      Invalid SQL:
      REPLACE INTO `vb_contenttype` (`class`, `cansearch`, `canattach`, `packageid`)  VALUES ('vwPage',1,0,),
      	('vwComment',1,1,);
      
      MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),
      	('vwComment',1,1,)' at line 1
      Error Number  : 1064
      Request Date  : Saturday, March 23rd 2013 @ 11:46:51 PM
      Error Date    : Saturday, March 23rd 2013 @ 11:46:52 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 762
      #5 vw_DB_MySQL_Model->replace() called in [path]/vault/core/controller/install/full/steps/vb3.php on line 79
      #6 {closure}() called in [path]/vault/core/controller/progress/vw.php on line 80
      #7 vw_Progress_Controller->call() called in [path]/vault/core/controller/cp/progress/vw.php on line 39
      #8 vw_CP_Progress_Controller->process() called in [path]/vault/core/controller/cp/install/vw.php on line 136
      #9 vw_CP_Install_Controller->install() called in [path]/vault/core/controller/cp/install/vw.php on line 74
      #10 vw_CP_Install_Controller->execute() called in [path]/vault/cp/global.php on line 70
      #11 require_once([path]/vault/cp/global.php) called in [path]/vault/install/index.php on line 37
      #12 require([path]/vault/install/index.php) called in [path]/vbseo.php on line 1398
    Issue Details
    Issue Number 2984
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 2
    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. March 24, 2013 1:00 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/install/full/steps/vb3.php, the following appears twice:
      Code:
      'packageid' => $package['packageid']
      Replace both times with:
      Code:
      'packageid' => $packageid
      Then run the installer again. There is no need to try uninstalling first.
      Reply Reply  
    2. This petition for a change to Confirmed was rejected
      March 24, 2013 1:08 AM
      Replicators Replicators is offline
      Junior Member
      Thank you, that worked!
       
    + 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 1:37 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.