• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • WHen I turn VW on, articles and threads give me MYSQL errors

    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.

    Results 1 to 2 of 2

    Thread: WHen I turn VW on, articles and threads give me MYSQL errors

    • Thread Tools
      • Show Printable Version
    1. May 11, 2010 #1
      gosborne
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      gosborne is offline
      New Member
      Join Date
      July 12, 2008
      Posts
      3
      Rep Power
      0

      WHen I turn VW on, articles and threads give me MYSQL errors

      Hello

      WHen I have VaultWiki turned on, if I go to a forum thread or CMS articles, I get an error like this:

      Code:
      Database error in vBulletin 4.0.3:
      
      Invalid SQL:
      
      			SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,
      			
      
      			
      			post.pagetext AS description,
      			thread.*
      			
      			, article.*, thread.threadid, vbook.top_bookid
      			FROM vbthread AS thread
      			
      			
      			
      			
      			LEFT JOIN vbpost AS post ON(post.postid = thread.firstpostid)
      			
      			
      	LEFT JOIN vbvault_article AS article ON (thread.threadid = article.threadid)
      	LEFT JOIN vbvault_book AS vbook ON (vbook.threadid = thread.threadid)
      			WHERE thread.threadid = 246333;
      
      MySQL Error   : Unknown column 'vbook.top_bookid' in 'field list'
      Error Number  : 1054
      Request Date  : Tuesday, May 11th 2010 @ 02:30:22 PM
      Error Date    : Tuesday, May 11th 2010 @ 02:30:22 PM
      Script        : http://www.basenotes.net/content/412-High-Fibre-Fragrances-(or-How-I-Discovered-Natural-Perfume)
      Referrer      : 
      IP Address    : 82.26.194.104
      Username      : Grant
      Classname     : vB_Database
      MySQL Version : 5.0.90-community
      If I switch VaultWiki off, articles and threads are fine.


      Thanks
      Reply With Quote Reply With Quote

    2. May 11, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      This is very odd. That column IS added by both the install and upgrade scripts. If you have table vault_book (and it's not complaining it's missing) then it implies the table was added successfully - columns and all.

      You didn't have any problem with Step 1 of the installer?

      You can just run this query for now:
      Code:
      ALTER TABLE vbvault_book
      ADD COLUMN top_bookid INT(10) UNSIGNED NOT NULL DEFAULT '0',
      ADD INDEX top_bookid (top_bookid)
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. How do I... turn an article into a book?
      By bonsainut in forum General Discussion
      Replies: 1
      Last Post: December 2, 2011, 2:56 PM
    2. MySQL 5.5?
      By Alfa1 in forum VaultWiki Questions
      Replies: 4
      Last Post: May 19, 2011, 1:54 PM
    3. Two Questions: Give Wiki Mods access to Wiki area in AdminCP? Also cant turn off moderation queue.
      By brycew in forum VaultWiki Questions
      Replies: 1
      Last Post: April 24, 2011, 1:20 PM
    4. Can individual users turn of autolinking?
      By optikalefx in forum VaultWiki Questions
      Replies: 1
      Last Post: February 18, 2011, 12:30 PM
    5. Possible to Turn Blog Posts or Articles into Wiki articles?
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 9, 2010, 11:59 AM

    Tags for this Thread

    333, able, any, are, articles, ces, cms, code, columns, community, content, database, date, did, error, errors, forum, get, give, high, know, like, list, mysql, now, number, off, page, sql, that, thread, top, turn, unknown, vaultwiki, vbulletin, vbulletin 4, version, was, wiki, you

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 5:04 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.