• 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 3.x Series
    • Bug
    • SQL-Error when open the WikiDomainManager

    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: SQL-Error when open the WikiDomainManager

    • Issue Tools
      • View Changes
    1. issueid=378 February 2, 2009 1:00 AM
      Storyteller Storyteller is offline
      Junior Member
      SQL-Error when open the WikiDomainManager

      Hello,

      when i open the WikiDomainManager i get the following SQL-error:
      Code:
      Invalid SQL:
      
      		SELECT domainid, title, optionlist, forumlist, namespacelist, styleid
      		FROM vb_3vault_domain;
      
      MySQL-Fehler  : Table '25702m14551_3.vb_3vault_domain' doesn't exist
      Fehler-Nr.    : 1146
      Also the TABs are not shown correct (no TAB-borders) and the TAB-Links didn't work. Can the reason for that the error with the WikiDomainManager?

      Greetings
      Storyteller
    Issue Details
    Issue Number 378
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Domains / Cookies
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.2.0
    Fixed Version 2.2.0
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 2, 2009 1:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      In phpmyadmin, or AdminCP -> Maintenance -> Execute SQL Query -> Manual Query, perform the following. Remember to replace {prefix} with your forum's TABLE_PREFIX:
      Code:
       CREATE TABLE {prefix}vault_domain(
      domainid INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
      title VARCHAR( 255 ) NOT NULL DEFAULT '',
      optionlist MEDIUMTEXT NOT NULL ,
      forumlist TEXT NOT NULL DEFAULT '',
      namespacelist TEXT NOT NULL DEFAULT '',
      styleid INT( 11 ) NOT NULL DEFAULT '0',
      languageid INT( 11 ) NOT NULL DEFAULT '0',
      PRIMARY KEY ( domainid ) ,
      UNIQUE title( title )
      )
      Fixed in the current ZIP.

      Please post the tabs issue in a separate bug report, or I'll forget to look into it tomorrow.
      Reply Reply  
    2. February 2, 2009 2:07 AM
      Storyteller Storyteller is offline
      Junior Member
      With the Code i get the following error in MySQL:
      Code:
      Fehler
      
      SQL-Befehl:
      
      CREATE TABLE vb_3vault_domaindomainid INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
      title VARCHAR( 255 ) NOT NULL DEFAULT '',
      optionlist MEDIUMTEXT NOT NULL DEFAULT 'a:0:{}',
      forumlist TEXT NOT NULL DEFAULT '',
      namespacelist TEXT NOT NULL DEFAULT '',
      styleid INT( 11 ) NOT NULL DEFAULT '',
      languageid INT( 11 ) NOT NULL DEFAULT '',
      PRIMARY KEY ( domainid ) ,
      UNIQUE title( title )
      
      MySQL meldet: Dokumentation
      #1064 - 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 'domainid INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
      title VARCHAR(255) NOT NULL ' at line 2
      Greetings
      Storyteller
      Reply Reply  
    3. February 2, 2009 2:08 AM
      pegasus pegasus is offline
      VaultWiki Team
      I literally just edited the code. Please try again.
      Reply Reply  
    4. February 2, 2009 2:25 AM
      Storyteller Storyteller is offline
      Junior Member
      New error:
      Code:
       MySQL meldet: Dokumentation
      #1101 - BLOB/TEXT column 'optionlist' can't have a default value
      Reply Reply  
    5. February 2, 2009 8:19 AM
      pegasus pegasus is offline
      VaultWiki Team
      ZIP updated. I tested the query again. For some reason there was still a very old development version in the install file (which I had just been copy & pasting here). Made some changes to a number of the default values and it works.

      If anyone has trouble accessing the domain manager, please use the query below:
      Code:
       CREATE TABLE {prefix}vault_domain(
      domainid INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
      title VARCHAR( 255 ) NOT NULL DEFAULT '',
      optionlist MEDIUMTEXT NOT NULL ,
      forumlist TEXT NOT NULL DEFAULT '',
      namespacelist TEXT NOT NULL DEFAULT '',
      styleid INT( 11 ) NOT NULL DEFAULT '0',
      languageid INT( 11 ) NOT NULL DEFAULT '0',
      PRIMARY KEY ( domainid ) ,
      UNIQUE title( title )
      )
      Reply Reply  
    6. February 2, 2009 10:01 AM
      Storyteller Storyteller is offline
      Junior Member
      Thanks pegasus that fixed it!
      The tabs issue is also "away", i had to change the vBulletin-setting for "Store CSS Stylesheets as Files?" to "Yes" and now it looks like befor.

      Greetings
      Storyteller
      Reply Reply  
    7. February 2, 2009 10:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Interesting. I will create another report for that shortly.
      Reply Reply  
    8. April 6, 2009 5:17 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Just to let you know I'm still getting this error on 2.2.2.

      Will try the fix shortly...
      Reply Reply  
    9. April 6, 2009 6:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      This would only happen in 2.2.2 if you had installed 2.2.0 before the fix was released, and you never applied the fix.
      Reply Reply  
    10. April 7, 2009 3:08 AM
      Mokonzi Mokonzi is offline
      Senior Member
      The install package I used was 2.2.1 (unstable) on my main site, never 2.2.0.
      Reply Reply  
    11. April 7, 2009 3:25 AM
      pegasus pegasus is offline
      VaultWiki Team
      Were you able to successfully apply the fix?
      Reply Reply  
    12. April 8, 2009 10:13 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Yeah, all is work great now.
      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 12:08 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.