• 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
    • Get dberror when saving usergroup

    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: Get dberror when saving usergroup

    • Issue Tools
      • View Changes
    1. issueid=2992 March 29, 2013 10:17 PM
      Replicators Replicators is offline
      Junior Member
      Get dberror when saving usergroup

      I been getting a db error when saving a usergroup and through trial and error it is vaulwiki which produces this error.

      Code:
      Database error in vBulletin 4.2.0:
      
      Invalid SQL:
      UPDATE vb_usergroup SET
      
      ### UPDATE QUERY GENERATED BY fetch_query_sql() ###
      	`title` = 'Moderators',
      	`description` = '',
      	`usertitle` = 'Moderator',
      	`opentag` = '<span style=\"color: green;\">',
      	`closetag` = '</span>',
      	`passwordexpires` = '0',
      	`passwordhistory` = '0',
      	`forumpermissions` = '117177855',
      	`genericpermissions` = '1590122187',
      	`attachlimit` = '0',
      	`pmquota` = '50',
      	`pmpermissions` = '1',
      	`pmsendmax` = '1',
      	`pmthrottlequantity` = '0',
      	`calendarpermissions` = '17',
      	`wolpermissions` = '1',
      	`adminpermissions` = '3',
      	`genericpermissions2` = '5',
      	`genericoptions` = '63',
      	`profilepicmaxwidth` = '120',
      	`profilepicmaxheight` = '120',
      	`profilepicmaxsize` = '51200',
      	`avatarmaxwidth` = '100',
      	`avatarmaxheight` = '100',
      	`avatarmaxsize` = '51200',
      	`signaturepermissions` = '237567',
      	`sigpicmaxwidth` = '500',
      	`sigpicmaxheight` = '150',
      	`sigpicmaxsize` = '102400',
      	`sigmaxrawchars` = '1000',
      	`sigmaxchars` = '500',
      	`sigmaxlines` = '2',
      	`sigmaxsizebbcode` = '7',
      	`sigmaximages` = '1',
      	`sigmaxvideos` = '0',
      	`albumpermissions` = '255',
      	`albumpicmaxwidth` = '1920',
      	`albumpicmaxheight` = '1080',
      	`albummaxpics` = '100',
      	`albummaxsize` = '0',
      	`usercsspermissions` = '63',
      	`visitormessagepermissions` = '63',
      	`socialgrouppermissions` = '259965',
      	`maximumsocialgroups` = '1',
      	`groupiconmaxsize` = '51200',
      	`dbtech_vbquiz_maxretries` = '0',
      	`dbtech_vbquiz_entryminrep` = '0',
      	`dbtech_vbquiz_entryminposts` = '0',
      	`dbtech_vbquiz_entry_permissions` = '2',
      	`dbtech_vbquiz_permissions_pro` = '4',
      	`dbtech_vbquiz_admin_permissions` = '218',
      	`dbtech_vbquiz_permissions` = '6',
      	`creditspermissions` = '0',
      	`credits_charge` = '1',
      	`dbtech_vbactivitypermissions` = '15',
      	`dbtech_vbactivity_requestdelay` = '1',
      	`dbtech_vbactivity_nominatedelay` = '1',
      	`dbtech_vbshoutpermissions` = '2',
      	`dbt_tt_permissions` = '12',
      	`dbtech_vbshoppermissions` = '34',
      	`vw_misc` = '0',
      	`dbtech_ajaxthreadspermissions` = '0',
      	`vbtube` = '9715',
      	`vbblog_general_permissions` = '520190',
      	`vbblog_customblocks` = '5',
      	`vbblog_custompages` = '5',
      	`vbblog_entry_permissions` = '57343',
      	`vbblog_comment_permissions` = '3038',
      	`dbtech_forumonpermissions` = '0'
      WHERE usergroupid=7;
      
      MySQL Error   : Unknown column 'vw_misc' in 'field list'
      Error Number  : 1054
      Request Date  : Friday, March 29th 2013 @ 09:12:57 PM
      Error Date    : Friday, March 29th 2013 @ 09:12:57 PM
      Script        : http://www.********.com/admincp/usergroup.php?do=update
      Referrer      : http://www.********.com/admincp/usergroup.php?do=edit&usergroupid=7
      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]/admincp/usergroup.php on line 358
    Issue Details
    Issue Number 2992
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Permissions / Security
    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 30, 2013 1:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Looks like there was another Alter class missing from the distro. It will be added in Alpha 3.

      For now, run the following query against your database:
      Code:
      ALTER TABLE usergroup ADD COLUMN vw_misc INT(1) UNSIGNED NOT NULL DEFAULT '0'
      If you don't know how or are unable and need to restore usergroup saving functionality right away, remove the following file includes/xml/bitfield_vaultwiki.xml, and then visit admincp/index.php?do=buildbitfields
      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 9:51 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.